Fawkes API  Fawkes Development Version
fawkes::EclExternalBlackBoard Class Reference

Wrapper class for using the blackboard in the implementation of the external predicates. More...

Public Member Functions

 EclExternalBlackBoard ()
 Constructor. More...
 
 ~EclExternalBlackBoard ()
 Destructor. More...
 
void connect (const char *host)
 Open remote blackboard connection. More...
 
bool connected ()
 Query connection status. More...
 
void disconnect ()
 Disconnect remote blackboard connection. More...
 
BlackBoardinstance ()
 Access the BlackBoard instance. More...
 
std::vector< Interface * > & interfaces ()
 Obtain the list of opened interfaces. More...
 

Detailed Description

Wrapper class for using the blackboard in the implementation of the external predicates.

Author
Daniel Beck

Definition at line 43 of file blackboard.cpp.

Constructor & Destructor Documentation

fawkes::EclExternalBlackBoard::EclExternalBlackBoard ( )
inline

Constructor.

Definition at line 47 of file blackboard.cpp.

fawkes::EclExternalBlackBoard::~EclExternalBlackBoard ( )
inline

Destructor.

Definition at line 49 of file blackboard.cpp.

References fawkes::BlackBoard::close().

Member Function Documentation

void fawkes::EclExternalBlackBoard::connect ( const char *  host)
inline

Open remote blackboard connection.

Parameters
hostthe host running Fawkes

Definition at line 60 of file blackboard.cpp.

Referenced by interfaces().

bool fawkes::EclExternalBlackBoard::connected ( )
inline

Query connection status.

Returns
true if connected; false otherwise

Definition at line 68 of file blackboard.cpp.

Referenced by interfaces().

void fawkes::EclExternalBlackBoard::disconnect ( )
inline

Disconnect remote blackboard connection.

Definition at line 74 of file blackboard.cpp.

References fawkes::BlackBoard::close().

Referenced by interfaces().

BlackBoard* fawkes::EclExternalBlackBoard::instance ( )
inline

Access the BlackBoard instance.

Returns
the blackboard instance

Definition at line 87 of file blackboard.cpp.

Referenced by interfaces().

std::vector< Interface* >& fawkes::EclExternalBlackBoard::interfaces ( )
inline

Obtain the list of opened interfaces.

Returns
list of opened interfaces

Definition at line 95 of file blackboard.cpp.

References fawkes::BlackBoard::close(), connect(), connected(), disconnect(), fawkes::Message::fields(), fawkes::Message::fields_end(), fawkes::InterfaceFieldIterator::get_bool(), fawkes::InterfaceFieldIterator::get_float(), fawkes::InterfaceFieldIterator::get_int16(), fawkes::InterfaceFieldIterator::get_int32(), fawkes::InterfaceFieldIterator::get_int64(), fawkes::InterfaceFieldIterator::get_int8(), fawkes::InterfaceFieldIterator::get_name(), fawkes::InterfaceFieldIterator::get_string(), fawkes::InterfaceFieldIterator::get_type(), fawkes::InterfaceFieldIterator::get_uint16(), fawkes::InterfaceFieldIterator::get_uint32(), fawkes::InterfaceFieldIterator::get_uint64(), fawkes::InterfaceFieldIterator::get_uint8(), fawkes::InterfaceFieldIterator::get_value_string(), fawkes::IFT_BOOL, fawkes::IFT_BYTE, fawkes::IFT_ENUM, fawkes::IFT_FLOAT, fawkes::IFT_INT16, fawkes::IFT_INT32, fawkes::IFT_INT64, fawkes::IFT_INT8, fawkes::IFT_STRING, fawkes::IFT_UINT16, fawkes::IFT_UINT32, fawkes::IFT_UINT64, fawkes::IFT_UINT8, instance(), interfaces(), fawkes::BlackBoard::is_alive(), fawkes::BlackBoard::open_for_reading(), fawkes::BlackBoard::open_for_writing(), fawkes::Exception::print_trace(), fawkes::InterfaceFieldIterator::set_bool(), fawkes::InterfaceFieldIterator::set_float(), fawkes::InterfaceFieldIterator::set_int16(), fawkes::InterfaceFieldIterator::set_int32(), fawkes::InterfaceFieldIterator::set_int64(), fawkes::InterfaceFieldIterator::set_int8(), fawkes::InterfaceFieldIterator::set_string(), fawkes::InterfaceFieldIterator::set_uint16(), fawkes::InterfaceFieldIterator::set_uint32(), fawkes::InterfaceFieldIterator::set_uint64(), fawkes::InterfaceFieldIterator::set_uint8(), and fawkes::Message::type().

Referenced by interfaces().


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