Fawkes API Fawkes Development Version

fawkes::HumanoidMotionInterface::ParkMessage Class Reference

ParkMessage Fawkes BlackBoard Interface Message. More...

#include <>>

Inheritance diagram for fawkes::HumanoidMotionInterface::ParkMessage:

List of all members.

Classes

struct  ParkMessage_data_t
 Internal data storage, do NOT modify!

Public Member Functions

 ParkMessage (const float ini_time_sec)
 Constructor with initial values.
 ParkMessage ()
 Constructor.
 ~ParkMessage ()
 Destructor.
 ParkMessage (const ParkMessage *m)
 Copy constructor.
float time_sec () const
 Get time_sec value.
void set_time_sec (const float new_time_sec)
 Set time_sec value.
size_t maxlenof_time_sec () const
 Get maximum length of time_sec value.
virtual Messageclone () const
 Clone this message.

Detailed Description


Constructor & Destructor Documentation

fawkes::HumanoidMotionInterface::ParkMessage::ParkMessage ( const float  ini_time_sec)

Constructor with initial values.

Parameters:
ini_time_secinitial value for time_sec

Definition at line 2442 of file HumanoidMotionInterface.cpp.

References fawkes::Message::add_fieldinfo(), fawkes::Message::data_ptr, fawkes::Message::data_size, fawkes::Message::data_ts, and fawkes::IFT_FLOAT.

fawkes::HumanoidMotionInterface::ParkMessage::ParkMessage ( )
fawkes::HumanoidMotionInterface::ParkMessage::~ParkMessage ( )

Destructor.

Definition at line 2464 of file HumanoidMotionInterface.cpp.

References fawkes::Interface::data_ptr.

fawkes::HumanoidMotionInterface::ParkMessage::ParkMessage ( const ParkMessage m)

Copy constructor.

Parameters:
mmessage to copy from

Definition at line 2472 of file HumanoidMotionInterface.cpp.

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


Member Function Documentation

Message * fawkes::HumanoidMotionInterface::ParkMessage::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 2518 of file HumanoidMotionInterface.cpp.

size_t fawkes::HumanoidMotionInterface::ParkMessage::maxlenof_time_sec ( ) const

Get maximum length of time_sec value.

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

Definition at line 2497 of file HumanoidMotionInterface.cpp.

void fawkes::HumanoidMotionInterface::ParkMessage::set_time_sec ( const float  new_time_sec)

Set time_sec value.

Time in seconds when to reach the position.

Parameters:
new_time_secnew time_sec value

Definition at line 2507 of file HumanoidMotionInterface.cpp.

float fawkes::HumanoidMotionInterface::ParkMessage::time_sec ( ) const

Get time_sec value.

Time in seconds when to reach the position.

Returns:
time_sec value

Definition at line 2487 of file HumanoidMotionInterface.cpp.


The documentation for this class was generated from the following files:
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends