Fawkes API  Fawkes Development Version
fawkes::TestInterface::SetTestStringMessage Class Reference

SetTestStringMessage Fawkes BlackBoard Interface Message. More...

#include <>>

Inheritance diagram for fawkes::TestInterface::SetTestStringMessage:

List of all members.

Classes

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

Public Member Functions

 SetTestStringMessage (const char *ini_test_string)
 Constructor with initial values.
 SetTestStringMessage ()
 Constructor.
 ~SetTestStringMessage ()
 Destructor.
 SetTestStringMessage (const SetTestStringMessage *m)
 Copy constructor.
char * test_string () const
 Get test_string value.
void set_test_string (const char *new_test_string)
 Set test_string value.
size_t maxlenof_test_string () const
 Get maximum length of test_string value.
virtual Messageclone () const
 Clone this message.

Detailed Description


Constructor & Destructor Documentation

fawkes::TestInterface::SetTestStringMessage::SetTestStringMessage ( const char *  ini_test_string)
fawkes::TestInterface::SetTestStringMessage::~SetTestStringMessage ( )

Destructor.

Definition at line 499 of file TestInterface.cpp.

References fawkes::Interface::data_ptr.

fawkes::TestInterface::SetTestStringMessage::SetTestStringMessage ( const SetTestStringMessage m)

Copy constructor.

Parameters:
mmessage to copy from

Definition at line 507 of file TestInterface.cpp.

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


Member Function Documentation

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

size_t fawkes::TestInterface::SetTestStringMessage::maxlenof_test_string ( ) const

Get maximum length of test_string value.

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

Definition at line 532 of file TestInterface.cpp.

void fawkes::TestInterface::SetTestStringMessage::set_test_string ( const char *  new_test_string)

Set test_string value.

A test sring

Parameters:
new_test_stringnew test_string value

Definition at line 542 of file TestInterface.cpp.

References fawkes::TestInterface::TestInterface_data_t::test_string.

char * fawkes::TestInterface::SetTestStringMessage::test_string ( ) const

Get test_string value.

A test sring

Returns:
test_string value

Definition at line 522 of file TestInterface.cpp.

References fawkes::TestInterface::TestInterface_data_t::test_string.


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