C# Class rosmaster.Master_API.ROSMasterHandler

Afficher le fichier Open project: uml-robotics/ROS.NET Class Usage Examples

Méthodes publiques

Méthode 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 méthode

public ROSMasterHandler ( ) : System
Résultat System

_notify() public méthode

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
Résultat void

_notify_param_subscribers() public méthode

public _notify_param_subscribers ( XmlRpc_Wrapper.XmlRpcValue>.Dictionary updates ) : int
updates XmlRpc_Wrapper.XmlRpcValue>.Dictionary
Résultat int

_notify_service_update() public méthode

public _notify_service_update ( String service, String service_api ) : void
service String
service_api String
Résultat void

_notify_topic_subscribers() public méthode

public _notify_topic_subscribers ( String topic, List pub_uris, List sub_uris ) : void
topic String
pub_uris List
sub_uris List
Résultat void

_ok() public méthode

public _ok ( ) : System.Boolean
Résultat System.Boolean

_param_update_task() public méthode

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
Résultat void

_ready() public méthode

public _ready ( String _uri ) : void
_uri String
Résultat void

_shutdown() public méthode

public _shutdown ( String reason = "" ) : void
reason String
Résultat void

apivalidate() public méthode

public apivalidate ( ) : void
Résultat void

deleteParam() public méthode

public deleteParam ( String caller_id, String key ) : int
caller_id String
key String
Résultat int

getParam() public méthode

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

getParamNames() public méthode

public getParamNames ( String caller_id ) : List
caller_id String
Résultat List

getPid() public méthode

public getPid ( String caller_id ) : int
caller_id String
Résultat int

getPublishedTopics() public méthode

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
Résultat List>

getSystemState() public méthode

public getSystemState ( String caller_id ) : List>>
caller_id String
Résultat List>>

getTopicTypes() public méthode

public getTopicTypes ( String caller_id ) : String>.Dictionary
caller_id String
Résultat String>.Dictionary

getUri() public méthode

public getUri ( String caller_id ) : String
caller_id String
Résultat String

hasParam() public méthode

public hasParam ( String caller_id, String key ) : bool
caller_id String
key String
Résultat bool

lookupNode() public méthode

public lookupNode ( String caller_id, String node_name ) : String
caller_id String
node_name String
Résultat String

lookupService() public méthode

public lookupService ( String caller_id, String service ) : rosmaster.ReturnStruct
caller_id String
service String
Résultat rosmaster.ReturnStruct

mloginfo() public méthode

public mloginfo ( ) : void
Résultat void

mlogwarn() public méthode

public mlogwarn ( ) : void
Résultat void

publisher_update_task() public méthode

public publisher_update_task ( String api, String topic, List pub_uris ) : List
api String
topic String
pub_uris List
Résultat List

registerPublisher() public méthode

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
Résultat rosmaster.ReturnStruct

registerService() public méthode

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
Résultat rosmaster.ReturnStruct

registerSubscriber() public méthode

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
Résultat rosmaster.ReturnStruct

searchParam() public méthode

public searchParam ( String caller_id, String key ) : String
caller_id String
key String
Résultat String

service_update_task() public méthode

public service_update_task ( String api, String service, String uri ) : void
api String
service String
uri String
Résultat void

setParam() public méthode

public setParam ( String caller_id, String key, XmlRpcValue value ) : void
caller_id String
key String
value XmlRpcValue
Résultat void

shutdown() public méthode

public shutdown ( String caller_id, String msg = "" ) : void
caller_id String
msg String
Résultat void

subscribeParam() public méthode

public subscribeParam ( String caller_id, String caller_api, String key ) : XmlRpcValue
caller_id String
caller_api String
key String
Résultat XmlRpcValue

unregisterPublisher() public méthode

public unregisterPublisher ( String caller_id, String topic, String caller_api ) : int
caller_id String
topic String
caller_api String
Résultat int

unregisterService() public méthode

public unregisterService ( String caller_id, String service, String service_api ) : rosmaster.ReturnStruct
caller_id String
service String
service_api String
Résultat rosmaster.ReturnStruct

unregisterSubscriber() public méthode

public unregisterSubscriber ( String caller_id, String topic, String caller_api ) : int
caller_id String
topic String
caller_api String
Résultat int

unsubscribeParam() public méthode

public unsubscribeParam ( String caller_id, String caller_api, String key ) : rosmaster.ReturnStruct
caller_id String
caller_api String
key String
Résultat rosmaster.ReturnStruct