C# Class Ros_CSharp.master

Exibir arquivo Open project: uml-robotics/ROS.NET

Public Properties

Property Type Description
host string
port int
retryTimeout System.TimeSpan
uri string

Public Methods

Method Description
check ( ) : bool

Checks if master is running? I think.

execute ( string method, XmlRpcValue request, XmlRpcValue response, XmlRpcValue payload, bool wait_for_master ) : bool

getNodes ( string &nodes ) : bool

Gets all currently existing nodes and adds them to the nodes list

getTopics ( TopicInfo &topics ) : bool

Gets all currently published and subscribed topics and adds them to the topic list

init ( IDictionary remapping_args ) : void
kill ( string node ) : bool

Private Methods

Method Description
clientForNode ( string nodename ) : CachedXmlRpcClient

Method Details

check() public static method

Checks if master is running? I think.
public static check ( ) : bool
return bool

execute() public static method

public static execute ( string method, XmlRpcValue request, XmlRpcValue response, XmlRpcValue payload, bool wait_for_master ) : bool
method string
request XmlRpcValue Full request to send to the master
response XmlRpcValue Full response including status code and status message. Initially empty.
payload XmlRpcValue Location to store the actual data requested, if any.
wait_for_master bool If you recieve an unseccessful status code, keep retrying.
return bool

getNodes() public static method

Gets all currently existing nodes and adds them to the nodes list
public static getNodes ( string &nodes ) : bool
nodes string List to store nodes
return bool

getTopics() public static method

Gets all currently published and subscribed topics and adds them to the topic list
public static getTopics ( TopicInfo &topics ) : bool
topics TopicInfo List to store topics
return bool

init() public static method

public static init ( IDictionary remapping_args ) : void
remapping_args IDictionary
return void

kill() public static method

public static kill ( string node ) : bool
node string
return bool

Property Details

host public_oe static_oe property

public static string host
return string

port public_oe static_oe property

public static int port
return int

retryTimeout public_oe static_oe property

public static TimeSpan,System retryTimeout
return System.TimeSpan

uri public_oe static_oe property

public static string uri
return string