fawkes::TestInterface::SetTestStringMessage Class Reference

SetTestStringMessage Fawkes BlackBoard Interface Message. More...

#include <interfaces/TestInterface.h>

Inheritance diagram for fawkes::TestInterface::SetTestStringMessage:

[legend]
List of all members.

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.

Classes

struct  SetTestStringMessage_data_t
 Internal data storage, do NOT modify!

Detailed Description

SetTestStringMessage Fawkes BlackBoard Interface Message.

Definition at line 98 of file TestInterface.h.


Constructor & Destructor Documentation

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

Constructor with initial values.

Parameters:
ini_test_string initial value for test_string

Definition at line 477 of file TestInterface.cpp.

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

fawkes::TestInterface::SetTestStringMessage::SetTestStringMessage (  ) 

Constructor.

Definition at line 488 of file TestInterface.cpp.

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

fawkes::TestInterface::SetTestStringMessage::~SetTestStringMessage (  ) 

Destructor.

Definition at line 499 of file TestInterface.cpp.

References fawkes::Message::data_ptr.

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

Copy constructor.

Parameters:
m message to copy from

Definition at line 507 of file TestInterface.cpp.

References fawkes::Message::data_ptr, fawkes::Message::data_size, 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_string new test_string value

Definition at line 542 of file TestInterface.cpp.

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.


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