Fawkes API  Fawkes Development Version
fawkes::KatanaInterface::ObjectGotoMessage Class Reference

ObjectGotoMessage Fawkes BlackBoard Interface Message. More...

#include <>>

Inheritance diagram for fawkes::KatanaInterface::ObjectGotoMessage:

List of all members.

Classes

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

Public Member Functions

 ObjectGotoMessage (const char *ini_object, const float ini_rot_x)
 Constructor with initial values.
 ObjectGotoMessage ()
 Constructor.
 ~ObjectGotoMessage ()
 Destructor.
 ObjectGotoMessage (const ObjectGotoMessage *m)
 Copy constructor.
char * object () const
 Get object value.
void set_object (const char *new_object)
 Set object value.
size_t maxlenof_object () const
 Get maximum length of object value.
float rot_x () const
 Get rot_x value.
void set_rot_x (const float new_rot_x)
 Set rot_x value.
size_t maxlenof_rot_x () const
 Get maximum length of rot_x value.
virtual Messageclone () const
 Clone this message.

Detailed Description


Constructor & Destructor Documentation

fawkes::KatanaInterface::ObjectGotoMessage::ObjectGotoMessage ( const char *  ini_object,
const float  ini_rot_x 
)
fawkes::KatanaInterface::ObjectGotoMessage::~ObjectGotoMessage ( )

Destructor.

Definition at line 1685 of file KatanaInterface.cpp.

References fawkes::Interface::data_ptr.

fawkes::KatanaInterface::ObjectGotoMessage::ObjectGotoMessage ( const ObjectGotoMessage m)

Copy constructor.

Parameters:
mmessage to copy from

Definition at line 1693 of file KatanaInterface.cpp.

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


Member Function Documentation

Message * fawkes::KatanaInterface::ObjectGotoMessage::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 1769 of file KatanaInterface.cpp.

size_t fawkes::KatanaInterface::ObjectGotoMessage::maxlenof_object ( ) const

Get maximum length of object value.

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

Definition at line 1718 of file KatanaInterface.cpp.

size_t fawkes::KatanaInterface::ObjectGotoMessage::maxlenof_rot_x ( ) const

Get maximum length of rot_x value.

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

Definition at line 1748 of file KatanaInterface.cpp.

char * fawkes::KatanaInterface::ObjectGotoMessage::object ( ) const

Get object value.

Name of object

Returns:
object value

Definition at line 1708 of file KatanaInterface.cpp.

Referenced by KatanaActThread::loop().

float fawkes::KatanaInterface::ObjectGotoMessage::rot_x ( ) const

Get rot_x value.

Rotation of object on its x-axis

Returns:
rot_x value

Definition at line 1738 of file KatanaInterface.cpp.

Referenced by KatanaActThread::loop().

void fawkes::KatanaInterface::ObjectGotoMessage::set_object ( const char *  new_object)

Set object value.

Name of object

Parameters:
new_objectnew object value

Definition at line 1728 of file KatanaInterface.cpp.

void fawkes::KatanaInterface::ObjectGotoMessage::set_rot_x ( const float  new_rot_x)

Set rot_x value.

Rotation of object on its x-axis

Parameters:
new_rot_xnew rot_x value

Definition at line 1758 of file KatanaInterface.cpp.


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