gazebo-yarp-plugins
Gazebo Plugins exposing YARP interfaces.
Loading...
Searching...
No Matches
GazeboYarpPlugins::WorldInterfaceServer_attach_helper Class Reference
Inheritance diagram for GazeboYarpPlugins::WorldInterfaceServer_attach_helper:
Collaboration diagram for GazeboYarpPlugins::WorldInterfaceServer_attach_helper:

Classes

class  Command
 
class  Reply
 

Public Types

using funcptr_t = bool (*)(const std::string&, const std::string&)
 
using funcptr_t = bool (*)(const std::string&, const std::string&)
 

Public Member Functions

 WorldInterfaceServer_attach_helper ()=default
 
 WorldInterfaceServer_attach_helper (const std::string &id, const std::string &link_name)
 
bool write (yarp::os::ConnectionWriter &connection) const override
 
bool read (yarp::os::ConnectionReader &connection) override
 
void call (WorldInterfaceServer *ptr)
 
 WorldInterfaceServer_attach_helper ()=default
 
 WorldInterfaceServer_attach_helper (const std::string &id, const std::string &link_name)
 
bool write (yarp::os::ConnectionWriter &connection) const override
 
bool read (yarp::os::ConnectionReader &connection) override
 
void call (WorldInterfaceServer *ptr)
 

Public Attributes

Command cmd
 
Reply reply
 

Static Public Attributes

static constexpr const char * s_tag {"attach"}
 
static constexpr size_t s_tag_len {1}
 
static constexpr size_t s_cmd_len {3}
 
static constexpr size_t s_reply_len {1}
 
static constexpr const char * s_prototype {"bool WorldInterfaceServer::attach(const std::string& id, const std::string& link_name)"}
 
static constexpr const char * s_help
 

Member Typedef Documentation

◆ funcptr_t [1/2]

using GazeboYarpPlugins::WorldInterfaceServer_attach_helper::funcptr_t = bool (*)(const std::string&, const std::string&)

◆ funcptr_t [2/2]

using GazeboYarpPlugins::WorldInterfaceServer_attach_helper::funcptr_t = bool (*)(const std::string&, const std::string&)

Constructor & Destructor Documentation

◆ WorldInterfaceServer_attach_helper() [1/4]

GazeboYarpPlugins::WorldInterfaceServer_attach_helper::WorldInterfaceServer_attach_helper ( )
default

◆ WorldInterfaceServer_attach_helper() [2/4]

GazeboYarpPlugins::WorldInterfaceServer_attach_helper::WorldInterfaceServer_attach_helper ( const std::string & id,
const std::string & link_name )

◆ WorldInterfaceServer_attach_helper() [3/4]

GazeboYarpPlugins::WorldInterfaceServer_attach_helper::WorldInterfaceServer_attach_helper ( )
default

◆ WorldInterfaceServer_attach_helper() [4/4]

GazeboYarpPlugins::WorldInterfaceServer_attach_helper::WorldInterfaceServer_attach_helper ( const std::string & id,
const std::string & link_name )

Member Function Documentation

◆ write() [1/2]

bool GazeboYarpPlugins::WorldInterfaceServer_attach_helper::write ( yarp::os::ConnectionWriter & connection) const
override

◆ read() [1/2]

bool GazeboYarpPlugins::WorldInterfaceServer_attach_helper::read ( yarp::os::ConnectionReader & connection)
override

◆ call() [1/2]

void GazeboYarpPlugins::WorldInterfaceServer_attach_helper::call ( WorldInterfaceServer * ptr)

◆ write() [2/2]

bool GazeboYarpPlugins::WorldInterfaceServer_attach_helper::write ( yarp::os::ConnectionWriter & connection) const
override

◆ read() [2/2]

bool GazeboYarpPlugins::WorldInterfaceServer_attach_helper::read ( yarp::os::ConnectionReader & connection)
override

◆ call() [2/2]

void GazeboYarpPlugins::WorldInterfaceServer_attach_helper::call ( WorldInterfaceServer * ptr)

Member Data Documentation

◆ cmd

Command GazeboYarpPlugins::WorldInterfaceServer_attach_helper::cmd

◆ reply

Reply GazeboYarpPlugins::WorldInterfaceServer_attach_helper::reply

◆ s_tag

static constexpr const char * GazeboYarpPlugins::WorldInterfaceServer_attach_helper::s_tag {"attach"}
staticconstexpr

◆ s_tag_len

static constexpr size_t GazeboYarpPlugins::WorldInterfaceServer_attach_helper::s_tag_len {1}
staticconstexpr

◆ s_cmd_len

static constexpr size_t GazeboYarpPlugins::WorldInterfaceServer_attach_helper::s_cmd_len {3}
staticconstexpr

◆ s_reply_len

static constexpr size_t GazeboYarpPlugins::WorldInterfaceServer_attach_helper::s_reply_len {1}
staticconstexpr

◆ s_prototype

static constexpr const char * GazeboYarpPlugins::WorldInterfaceServer_attach_helper::s_prototype {"bool WorldInterfaceServer::attach(const std::string& id, const std::string& link_name)"}
staticconstexpr

◆ s_help

static constexpr const char * GazeboYarpPlugins::WorldInterfaceServer_attach_helper::s_help
staticconstexpr
Initial value:
{
"Attach an object to a link of the robot.\n"
"@param id string that identifies object in gazebo (returned after creation)\n"
"@param link_name name of a link of the robot\n"
"@return true if success, false otherwise"
}

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