|
Fawkes API
Fawkes Development Version
|
Wrapper class for using the blackboard in the implementation of the external predicates. More...
#include <blackboard.h>
Public Member Functions | |
| ~EclExternalBlackBoard () | |
| Destructor. More... | |
| void | connect (const char *host, long port) |
| Open remote blackboard connection. More... | |
| bool | connected () |
| Query connection status. More... | |
| void | disconnect () |
| Disconnect remote blackboard connection. More... | |
| std::map< std::string, Interface * > & | interfaces () |
| Obtain the list of opened interfaces. More... | |
Static Public Member Functions | |
| static void | create_initial_object (BlackBoard *bb) |
| Creates the initial EclExternalBlackBoard object. More... | |
| static void | cleanup_instance () |
| Delete the current EclExternalBlackBoard instance and set it to NULL. More... | |
| static EclExternalBlackBoard * | instance () |
| Get the EclExternalBlackBoard instance. More... | |
| static BlackBoard * | blackboard_instance () |
| Access the BlackBoard instance. More... | |
Wrapper class for using the blackboard in the implementation of the external predicates.
Definition at line 39 of file blackboard.h.
| fawkes::EclExternalBlackBoard::~EclExternalBlackBoard | ( | ) |
|
static |
Access the BlackBoard instance.
Definition at line 145 of file blackboard.cpp.
|
static |
Delete the current EclExternalBlackBoard instance and set it to NULL.
Definition at line 85 of file blackboard.cpp.
Referenced by EclipseAgentThread::finalize().
| void fawkes::EclExternalBlackBoard::connect | ( | const char * | host, |
| long | port | ||
| ) |
Open remote blackboard connection.
| host | the host running Fawkes |
| port | the host's port to connect to |
Definition at line 112 of file blackboard.cpp.
| bool fawkes::EclExternalBlackBoard::connected | ( | ) |
Query connection status.
Definition at line 124 of file blackboard.cpp.
|
static |
Creates the initial EclExternalBlackBoard object.
| bb | pointer to the BlackBoard to be used |
Definition at line 79 of file blackboard.cpp.
Referenced by EclipseAgentThread::init().
| void fawkes::EclExternalBlackBoard::disconnect | ( | ) |
Disconnect remote blackboard connection.
Definition at line 130 of file blackboard.cpp.
References fawkes::BlackBoard::close().
|
static |
Get the EclExternalBlackBoard instance.
Definition at line 97 of file blackboard.cpp.
| std::map< std::string, Interface * > & fawkes::EclExternalBlackBoard::interfaces | ( | ) |
Obtain the list of opened interfaces.
Definition at line 156 of file blackboard.cpp.