Fawkes API  Fawkes Development Version
fawkes::OpenRaveInterface::AttachObjectMessage Class Reference

AttachObjectMessage Fawkes BlackBoard Interface Message. More...

#include <>>

Inheritance diagram for fawkes::OpenRaveInterface::AttachObjectMessage:

List of all members.

Classes

struct  AttachObjectMessage_data_t
 Internal data storage, do NOT modify! More...

Public Member Functions

 AttachObjectMessage (const char *ini_name)
 Constructor with initial values.
 AttachObjectMessage ()
 Constructor.
 ~AttachObjectMessage ()
 Destructor.
 AttachObjectMessage (const AttachObjectMessage *m)
 Copy constructor.
char * name () const
 Get name value.
void set_name (const char *new_name)
 Set name value.
size_t maxlenof_name () const
 Get maximum length of name value.
virtual Messageclone () const
 Clone this message.

Detailed Description


Constructor & Destructor Documentation

fawkes::OpenRaveInterface::AttachObjectMessage::AttachObjectMessage ( const char *  ini_name)
fawkes::OpenRaveInterface::AttachObjectMessage::~AttachObjectMessage ( )

Destructor.

Definition at line 502 of file OpenRaveInterface.cpp.

References fawkes::Interface::data_ptr.

fawkes::OpenRaveInterface::AttachObjectMessage::AttachObjectMessage ( const AttachObjectMessage m)

Copy constructor.

Parameters:
mmessage to copy from

Definition at line 510 of file OpenRaveInterface.cpp.

References fawkes::Message::data_size, fawkes::Message::data_ptr, and fawkes::Message::data_ts.


Member Function Documentation

Message * fawkes::OpenRaveInterface::AttachObjectMessage::clone ( ) const [virtual]

Clone this message.

Produces a message of the same type as this message and copies the data to the new message.

Returns:
clone of this message

Reimplemented from fawkes::Message.

Definition at line 556 of file OpenRaveInterface.cpp.

size_t fawkes::OpenRaveInterface::AttachObjectMessage::maxlenof_name ( ) const

Get maximum length of name value.

Returns:
length of name value, can be length of the array or number of maximum number of characters for a string

Definition at line 535 of file OpenRaveInterface.cpp.

char * fawkes::OpenRaveInterface::AttachObjectMessage::name ( ) const

Get name value.

Name of object

Returns:
name value

Definition at line 525 of file OpenRaveInterface.cpp.

Referenced by OpenRaveMessageHandlerThread::loop().

void fawkes::OpenRaveInterface::AttachObjectMessage::set_name ( const char *  new_name)

Set name value.

Name of object

Parameters:
new_namenew name value

Definition at line 545 of file OpenRaveInterface.cpp.


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