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

RotateObjectMessage Fawkes BlackBoard Interface Message. More...

#include <>>

Inheritance diagram for fawkes::OpenRaveInterface::RotateObjectMessage:

List of all members.

Classes

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

Public Member Functions

 RotateObjectMessage (const char *ini_name, const float ini_x, const float ini_y, const float ini_z)
 Constructor with initial values.
 RotateObjectMessage ()
 Constructor.
 ~RotateObjectMessage ()
 Destructor.
 RotateObjectMessage (const RotateObjectMessage *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.
float x () const
 Get x value.
void set_x (const float new_x)
 Set x value.
size_t maxlenof_x () const
 Get maximum length of x value.
float y () const
 Get y value.
void set_y (const float new_y)
 Set y value.
size_t maxlenof_y () const
 Get maximum length of y value.
float z () const
 Get z value.
void set_z (const float new_z)
 Set z value.
size_t maxlenof_z () const
 Get maximum length of z value.
virtual Messageclone () const
 Clone this message.

Detailed Description


Constructor & Destructor Documentation

fawkes::OpenRaveInterface::RotateObjectMessage::RotateObjectMessage ( const char *  ini_name,
const float  ini_x,
const float  ini_y,
const float  ini_z 
)
fawkes::OpenRaveInterface::RotateObjectMessage::~RotateObjectMessage ( )

Destructor.

Definition at line 1158 of file OpenRaveInterface.cpp.

References fawkes::Interface::data_ptr.

fawkes::OpenRaveInterface::RotateObjectMessage::RotateObjectMessage ( const RotateObjectMessage m)

Copy constructor.

Parameters:
mmessage to copy from

Definition at line 1166 of file OpenRaveInterface.cpp.

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


Member Function Documentation

Message * fawkes::OpenRaveInterface::RotateObjectMessage::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 1302 of file OpenRaveInterface.cpp.

size_t fawkes::OpenRaveInterface::RotateObjectMessage::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 1191 of file OpenRaveInterface.cpp.

size_t fawkes::OpenRaveInterface::RotateObjectMessage::maxlenof_x ( ) const

Get maximum length of x value.

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

Definition at line 1221 of file OpenRaveInterface.cpp.

size_t fawkes::OpenRaveInterface::RotateObjectMessage::maxlenof_y ( ) const

Get maximum length of y value.

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

Definition at line 1251 of file OpenRaveInterface.cpp.

size_t fawkes::OpenRaveInterface::RotateObjectMessage::maxlenof_z ( ) const

Get maximum length of z value.

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

Definition at line 1281 of file OpenRaveInterface.cpp.

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

Get name value.

Name of object

Returns:
name value

Definition at line 1181 of file OpenRaveInterface.cpp.

Referenced by OpenRaveMessageHandlerThread::loop().

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

Set name value.

Name of object

Parameters:
new_namenew name value

Definition at line 1201 of file OpenRaveInterface.cpp.

void fawkes::OpenRaveInterface::RotateObjectMessage::set_x ( const float  new_x)

Set x value.

x-axis rotation of object (rad)

Parameters:
new_xnew x value

Definition at line 1231 of file OpenRaveInterface.cpp.

void fawkes::OpenRaveInterface::RotateObjectMessage::set_y ( const float  new_y)

Set y value.

y-axis rotation of object (rad)

Parameters:
new_ynew y value

Definition at line 1261 of file OpenRaveInterface.cpp.

void fawkes::OpenRaveInterface::RotateObjectMessage::set_z ( const float  new_z)

Set z value.

z-axis rotation of object (rad)

Parameters:
new_znew z value

Definition at line 1291 of file OpenRaveInterface.cpp.

float fawkes::OpenRaveInterface::RotateObjectMessage::x ( ) const

Get x value.

x-axis rotation of object (rad)

Returns:
x value

Definition at line 1211 of file OpenRaveInterface.cpp.

Referenced by OpenRaveMessageHandlerThread::loop().

float fawkes::OpenRaveInterface::RotateObjectMessage::y ( ) const

Get y value.

y-axis rotation of object (rad)

Returns:
y value

Definition at line 1241 of file OpenRaveInterface.cpp.

Referenced by OpenRaveMessageHandlerThread::loop().

float fawkes::OpenRaveInterface::RotateObjectMessage::z ( ) const

Get z value.

z-axis rotation of object (rad)

Returns:
z value

Definition at line 1271 of file OpenRaveInterface.cpp.

Referenced by OpenRaveMessageHandlerThread::loop().


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