CalculateMessage Fawkes BlackBoard Interface Message. More...
#include <interfaces/TestInterface.h>
Classes | |
struct | CalculateMessage_data_t |
Internal data storage, do NOT modify! | |
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 Message * | clone () const |
Clone this message. |
CalculateMessage Fawkes BlackBoard Interface Message.
Definition at line 125 of file TestInterface.h.
fawkes::TestInterface::CalculateMessage::CalculateMessage | ( | const int32_t | ini_summand, | |
const int32_t | ini_addend | |||
) |
Constructor with initial values.
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.
Referenced by clone().
fawkes::TestInterface::CalculateMessage::~CalculateMessage | ( | ) |
fawkes::TestInterface::CalculateMessage::CalculateMessage | ( | const CalculateMessage * | m | ) |
Copy constructor.
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.
int32_t fawkes::TestInterface::CalculateMessage::addend | ( | ) | const |
Get addend value.
Addend
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.
Reimplemented from fawkes::Message.
Definition at line 677 of file TestInterface.cpp.
References CalculateMessage().
size_t fawkes::TestInterface::CalculateMessage::maxlenof_addend | ( | ) | const |
Get maximum length of addend value.
Definition at line 656 of file TestInterface.cpp.
size_t fawkes::TestInterface::CalculateMessage::maxlenof_summand | ( | ) | const |
Get maximum length of summand value.
Definition at line 626 of file TestInterface.cpp.
void fawkes::TestInterface::CalculateMessage::set_addend | ( | const int32_t | new_addend | ) |
Set addend value.
Addend
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
new_summand | new summand value |
Definition at line 636 of file TestInterface.cpp.
int32_t fawkes::TestInterface::CalculateMessage::summand | ( | ) | const |
Get summand value.
Summand
Definition at line 616 of file TestInterface.cpp.
Referenced by AgentControlThread::loop().