C# Class rosmaster.Master_API.ROSMasterHandler

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

Public Methods

Method Description
ROSMasterHandler ( ) : System
_notify ( rosmaster.Registrations r, Func task, String key, List value, List node_apis ) : void
_notify_param_subscribers ( XmlRpc_Wrapper.XmlRpcValue>.Dictionary updates ) : int
_notify_service_update ( String service, String service_api ) : void
_notify_topic_subscribers ( String topic, List pub_uris, List sub_uris ) : void
_ok ( ) : System.Boolean
_param_update_task ( String caller_id, String caller_api, String param_key, XmlRpc_Wrapper param_value ) : void
_ready ( String _uri ) : void
_shutdown ( String reason = "" ) : void
apivalidate ( ) : void
deleteParam ( String caller_id, String key ) : int
getParam ( String caller_id, String key ) : XmlRpcValue

Returns Param if it exists, null if it doesn't

getParamNames ( String caller_id ) : List
getPid ( String caller_id ) : int
getPublishedTopics ( String caller_id, String subgraph ) : List>

getSystemState ( String caller_id ) : List>>
getTopicTypes ( String caller_id ) : String>.Dictionary
getUri ( String caller_id ) : String
hasParam ( String caller_id, String key ) : bool
lookupNode ( String caller_id, String node_name ) : String
lookupService ( String caller_id, String service ) : rosmaster.ReturnStruct
mloginfo ( ) : void
mlogwarn ( ) : void
publisher_update_task ( String api, String topic, List pub_uris ) : List
registerPublisher ( String caller_id, String topic, String topic_type, String caller_api ) : rosmaster.ReturnStruct

Register a publisher

registerService ( String caller_id, String service, String service_api, String caller_api ) : rosmaster.ReturnStruct
registerSubscriber ( String caller_id, String topic, String topic_type, String caller_api ) : rosmaster.ReturnStruct
searchParam ( String caller_id, String key ) : String
service_update_task ( String api, String service, String uri ) : void
setParam ( String caller_id, String key, XmlRpcValue value ) : void
shutdown ( String caller_id, String msg = "" ) : void
subscribeParam ( String caller_id, String caller_api, String key ) : XmlRpcValue
unregisterPublisher ( String caller_id, String topic, String caller_api ) : int
unregisterService ( String caller_id, String service, String service_api ) : rosmaster.ReturnStruct
unregisterSubscriber ( String caller_id, String topic, String caller_api ) : int
unsubscribeParam ( String caller_id, String caller_api, String key ) : rosmaster.ReturnStruct

Method Details

ROSMasterHandler() public method

public ROSMasterHandler ( ) : System
return System

_notify() public method

public _notify ( rosmaster.Registrations r, Func task, String key, List value, List node_apis ) : void
r rosmaster.Registrations
task Func
key String
value List
node_apis List
return void

_notify_param_subscribers() public method

public _notify_param_subscribers ( XmlRpc_Wrapper.XmlRpcValue>.Dictionary updates ) : int
updates XmlRpc_Wrapper.XmlRpcValue>.Dictionary
return int

_notify_service_update() public method

public _notify_service_update ( String service, String service_api ) : void
service String
service_api String
return void

_notify_topic_subscribers() public method

public _notify_topic_subscribers ( String topic, List pub_uris, List sub_uris ) : void
topic String
pub_uris List
sub_uris List
return void

_ok() public method

public _ok ( ) : System.Boolean
return System.Boolean

_param_update_task() public method

public _param_update_task ( String caller_id, String caller_api, String param_key, XmlRpc_Wrapper param_value ) : void
caller_id String
caller_api String
param_key String
param_value XmlRpc_Wrapper
return void

_ready() public method

public _ready ( String _uri ) : void
_uri String
return void

_shutdown() public method

public _shutdown ( String reason = "" ) : void
reason String
return void

apivalidate() public method

public apivalidate ( ) : void
return void

deleteParam() public method

public deleteParam ( String caller_id, String key ) : int
caller_id String
key String
return int

getParam() public method

Returns Param if it exists, null if it doesn't
public getParam ( String caller_id, String key ) : XmlRpcValue
caller_id String
key String
return XmlRpcValue

getParamNames() public method

public getParamNames ( String caller_id ) : List
caller_id String
return List

getPid() public method

public getPid ( String caller_id ) : int
caller_id String
return int

getPublishedTopics() public method

public getPublishedTopics ( String caller_id, String subgraph ) : List>
caller_id String Not used?Wtf?
subgraph String Optional String, only returns topics that start with that name
return List>

getSystemState() public method

public getSystemState ( String caller_id ) : List>>
caller_id String
return List>>

getTopicTypes() public method

public getTopicTypes ( String caller_id ) : String>.Dictionary
caller_id String
return String>.Dictionary

getUri() public method

public getUri ( String caller_id ) : String
caller_id String
return String

hasParam() public method

public hasParam ( String caller_id, String key ) : bool
caller_id String
key String
return bool

lookupNode() public method

public lookupNode ( String caller_id, String node_name ) : String
caller_id String
node_name String
return String

lookupService() public method

public lookupService ( String caller_id, String service ) : rosmaster.ReturnStruct
caller_id String
service String
return rosmaster.ReturnStruct

mloginfo() public method

public mloginfo ( ) : void
return void

mlogwarn() public method

public mlogwarn ( ) : void
return void

publisher_update_task() public method

public publisher_update_task ( String api, String topic, List pub_uris ) : List
api String
topic String
pub_uris List
return List

registerPublisher() public method

Register a publisher
public registerPublisher ( String caller_id, String topic, String topic_type, String caller_api ) : rosmaster.ReturnStruct
caller_id String
topic String
topic_type String
caller_api String
return rosmaster.ReturnStruct

registerService() public method

public registerService ( String caller_id, String service, String service_api, String caller_api ) : rosmaster.ReturnStruct
caller_id String
service String
service_api String
caller_api String
return rosmaster.ReturnStruct

registerSubscriber() public method

public registerSubscriber ( String caller_id, String topic, String topic_type, String caller_api ) : rosmaster.ReturnStruct
caller_id String
topic String
topic_type String
caller_api String
return rosmaster.ReturnStruct

searchParam() public method

public searchParam ( String caller_id, String key ) : String
caller_id String
key String
return String

service_update_task() public method

public service_update_task ( String api, String service, String uri ) : void
api String
service String
uri String
return void

setParam() public method

public setParam ( String caller_id, String key, XmlRpcValue value ) : void
caller_id String
key String
value XmlRpcValue
return void

shutdown() public method

public shutdown ( String caller_id, String msg = "" ) : void
caller_id String
msg String
return void

subscribeParam() public method

public subscribeParam ( String caller_id, String caller_api, String key ) : XmlRpcValue
caller_id String
caller_api String
key String
return XmlRpcValue

unregisterPublisher() public method

public unregisterPublisher ( String caller_id, String topic, String caller_api ) : int
caller_id String
topic String
caller_api String
return int

unregisterService() public method

public unregisterService ( String caller_id, String service, String service_api ) : rosmaster.ReturnStruct
caller_id String
service String
service_api String
return rosmaster.ReturnStruct

unregisterSubscriber() public method

public unregisterSubscriber ( String caller_id, String topic, String caller_api ) : int
caller_id String
topic String
caller_api String
return int

unsubscribeParam() public method

public unsubscribeParam ( String caller_id, String caller_api, String key ) : rosmaster.ReturnStruct
caller_id String
caller_api String
key String
return rosmaster.ReturnStruct