fawkes::TestInterface::CalculateMessage Class Reference

CalculateMessage Fawkes BlackBoard Interface Message. More...

#include <interfaces/TestInterface.h>

Inheritance diagram for fawkes::TestInterface::CalculateMessage:

[legend]
List of all members.

Public Member Functions

 CalculateMessage (const int32_t ini_summand, const int32_t ini_addend)
 Constructor with initial values.
 CalculateMessage ()
 Constructor.
 ~CalculateMessage ()
 Destructor.
 CalculateMessage (const CalculateMessage *m)
 Copy constructor.
int32_t summand () const
 Get summand value.
void set_summand (const int32_t new_summand)
 Set summand value.
size_t maxlenof_summand () const
 Get maximum length of summand value.
int32_t addend () const
 Get addend value.
void set_addend (const int32_t new_addend)
 Set addend value.
size_t maxlenof_addend () const
 Get maximum length of addend value.
virtual Messageclone () const
 Clone this message.

Classes

struct  CalculateMessage_data_t
 Internal data storage, do NOT modify!

Detailed Description

CalculateMessage Fawkes BlackBoard Interface Message.

Definition at line 125 of file TestInterface.h.


Constructor & Destructor Documentation

fawkes::TestInterface::CalculateMessage::CalculateMessage ( const int32_t  ini_summand,
const int32_t  ini_addend 
)

Constructor with initial values.

Parameters:
ini_summand initial value for summand
ini_addend initial value for addend

Definition at line 568 of file TestInterface.cpp.

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

fawkes::TestInterface::CalculateMessage::CalculateMessage (  ) 

Constructor.

Definition at line 581 of file TestInterface.cpp.

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

fawkes::TestInterface::CalculateMessage::~CalculateMessage (  ) 

Destructor.

Definition at line 593 of file TestInterface.cpp.

References fawkes::Message::data_ptr.

fawkes::TestInterface::CalculateMessage::CalculateMessage ( const CalculateMessage m  ) 

Copy constructor.

Parameters:
m message to copy from

Definition at line 601 of file TestInterface.cpp.

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


Member Function Documentation

int32_t fawkes::TestInterface::CalculateMessage::addend (  )  const

Get addend value.

Addend

Returns:
addend value

Definition at line 646 of file TestInterface.cpp.

Referenced by AgentControlThread::loop().

Message * fawkes::TestInterface::CalculateMessage::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 677 of file TestInterface.cpp.

size_t fawkes::TestInterface::CalculateMessage::maxlenof_addend (  )  const

Get maximum length of addend value.

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

Definition at line 656 of file TestInterface.cpp.

size_t fawkes::TestInterface::CalculateMessage::maxlenof_summand (  )  const

Get maximum length of summand value.

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

Definition at line 626 of file TestInterface.cpp.

void fawkes::TestInterface::CalculateMessage::set_addend ( const int32_t  new_addend  ) 

Set addend value.

Addend

Parameters:
new_addend new addend value

Definition at line 666 of file TestInterface.cpp.

void fawkes::TestInterface::CalculateMessage::set_summand ( const int32_t  new_summand  ) 

Set summand value.

Summand

Parameters:
new_summand new summand value

Definition at line 636 of file TestInterface.cpp.

int32_t fawkes::TestInterface::CalculateMessage::summand (  )  const

Get summand value.

Summand

Returns:
summand value

Definition at line 616 of file TestInterface.cpp.

Referenced by AgentControlThread::loop().


The documentation for this class was generated from the following files:
Generated on Tue Feb 22 13:31:37 2011 for Fawkes API by  doxygen 1.4.7