Public Types | Public Member Functions | Private Member Functions
ROSParamService Class Reference
Inheritance diagram for ROSParamService:
Inheritance graph
[legend]

List of all members.

Public Types

enum  ResolutionPolicy { RELATIVE, ABSOLUTE, PRIVATE, COMPONENT }

Public Member Functions

 ROSParamService (TaskContext *owner)

Private Member Functions

bool get (const std::string &param_name, const unsigned int policy=(unsigned int) ROSParamService::COMPONENT)
bool getParam (const std::string &ros_name, const std::string &rtt_name)
bool getParamAbsolute (const std::string &name)
bool getParamComponentPrivate (const std::string &name)
bool getParamPrivate (const std::string &name)
bool getParamRelative (const std::string &name)
bool getParams (RTT::Service::shared_ptr service, const std::string &ns)
bool getParams (const ROSParamService::ResolutionPolicy policy)
bool getParamsAbsolute ()
bool getParamsComponentPrivate ()
bool getParamsPrivate ()
bool getParamsRelative ()
const std::string resolvedName (const std::string &param_name, const ROSParamService::ResolutionPolicy policy)
 Resolve a parameter name based on the given ResolutionPolicy.
bool set (const std::string &param_name, const unsigned int policy=(unsigned int) ROSParamService::COMPONENT)
bool setParam (const std::string &ros_name, const std::string &rtt_name)
bool setParamAbsolute (const std::string &name)
bool setParamComponentPrivate (const std::string &name)
bool setParamPrivate (const std::string &name)
bool setParamRelative (const std::string &name)
bool setParams (RTT::Service::shared_ptr service, const std::string &ns)
bool setParams (const ROSParamService::ResolutionPolicy policy)
bool setParamsAbsolute ()
bool setParamsComponentPrivate ()
bool setParamsPrivate ()
bool setParamsRelative ()

Detailed Description

Definition at line 18 of file rtt_rosparam_service.cpp.


Member Enumeration Documentation

Enumerator:
RELATIVE 
ABSOLUTE 

Relative resolution: "name" -> "name".

PRIVATE 

Absolute resolution: "name" -> "/name".

COMPONENT 

Private resolution: "name" -> "~name".

Component resolution: "name" -> "~COMPONENT_NAME/name"

Definition at line 22 of file rtt_rosparam_service.cpp.


Constructor & Destructor Documentation

Definition at line 29 of file rtt_rosparam_service.cpp.


Member Function Documentation

bool ROSParamService::get ( const std::string &  param_name,
const unsigned int  policy = (unsigned int)ROSParamService::COMPONENT 
) [private]

Definition at line 671 of file rtt_rosparam_service.cpp.

bool ROSParamService::getParam ( const std::string &  ros_name,
const std::string &  rtt_name 
) [private]

Definition at line 683 of file rtt_rosparam_service.cpp.

bool ROSParamService::getParamAbsolute ( const std::string &  name) [inline, private]

Definition at line 127 of file rtt_rosparam_service.cpp.

bool ROSParamService::getParamComponentPrivate ( const std::string &  name) [inline, private]

Definition at line 129 of file rtt_rosparam_service.cpp.

bool ROSParamService::getParamPrivate ( const std::string &  name) [inline, private]

Definition at line 128 of file rtt_rosparam_service.cpp.

bool ROSParamService::getParamRelative ( const std::string &  name) [inline, private]

Definition at line 126 of file rtt_rosparam_service.cpp.

bool ROSParamService::getParams ( RTT::Service::shared_ptr  service,
const std::string &  ns 
) [private]

Definition at line 732 of file rtt_rosparam_service.cpp.

Definition at line 727 of file rtt_rosparam_service.cpp.

bool ROSParamService::getParamsAbsolute ( ) [inline, private]

Definition at line 116 of file rtt_rosparam_service.cpp.

bool ROSParamService::getParamsComponentPrivate ( ) [inline, private]

Definition at line 118 of file rtt_rosparam_service.cpp.

bool ROSParamService::getParamsPrivate ( ) [inline, private]

Definition at line 117 of file rtt_rosparam_service.cpp.

bool ROSParamService::getParamsRelative ( ) [inline, private]

Definition at line 115 of file rtt_rosparam_service.cpp.

const std::string ROSParamService::resolvedName ( const std::string &  param_name,
const ROSParamService::ResolutionPolicy  policy 
) [private]

Resolve a parameter name based on the given ResolutionPolicy.

Definition at line 150 of file rtt_rosparam_service.cpp.

bool ROSParamService::set ( const std::string &  param_name,
const unsigned int  policy = (unsigned int)ROSParamService::COMPONENT 
) [private]

Definition at line 339 of file rtt_rosparam_service.cpp.

bool ROSParamService::setParam ( const std::string &  ros_name,
const std::string &  rtt_name 
) [private]

Definition at line 350 of file rtt_rosparam_service.cpp.

bool ROSParamService::setParamAbsolute ( const std::string &  name) [inline, private]

Definition at line 145 of file rtt_rosparam_service.cpp.

bool ROSParamService::setParamComponentPrivate ( const std::string &  name) [inline, private]

Definition at line 147 of file rtt_rosparam_service.cpp.

bool ROSParamService::setParamPrivate ( const std::string &  name) [inline, private]

Definition at line 146 of file rtt_rosparam_service.cpp.

bool ROSParamService::setParamRelative ( const std::string &  name) [inline, private]

Definition at line 144 of file rtt_rosparam_service.cpp.

bool ROSParamService::setParams ( RTT::Service::shared_ptr  service,
const std::string &  ns 
) [private]

Definition at line 382 of file rtt_rosparam_service.cpp.

Definition at line 377 of file rtt_rosparam_service.cpp.

bool ROSParamService::setParamsAbsolute ( ) [inline, private]

Definition at line 134 of file rtt_rosparam_service.cpp.

bool ROSParamService::setParamsComponentPrivate ( ) [inline, private]

Definition at line 136 of file rtt_rosparam_service.cpp.

bool ROSParamService::setParamsPrivate ( ) [inline, private]

Definition at line 135 of file rtt_rosparam_service.cpp.

bool ROSParamService::setParamsRelative ( ) [inline, private]

Definition at line 133 of file rtt_rosparam_service.cpp.


The documentation for this class was generated from the following file:


rtt_rosparam
Author(s): Ruben Smits
autogenerated on Thu Jun 6 2019 18:06:14