24 #ifndef __ECLIPSE_EXTERNALS_BLACKBOARD_H_ 25 #define __ECLIPSE_EXTERNALS_BLACKBOARD_H_ 27 #include <blackboard/remote.h> 57 void connect(
const char *host,
long port);
61 std::map<std::string, Interface *> &
interfaces();
65 std::map<std::string, Interface *> m_interfaces;
67 bool m_own_blackboard;
72 extern "C" int p_bb_connect_to_remote_blackboard();
73 extern "C" int p_bb_disconnect_from_blackboard();
74 extern "C" int p_bb_is_alive();
75 extern "C" int p_bb_is_connected();
77 extern "C" int p_bb_open_interface();
78 extern "C" int p_bb_close_interface();
80 extern "C" int p_bb_has_writer();
81 extern "C" int p_bb_instance_serial();
83 extern "C" int p_bb_read_interfaces();
84 extern "C" int p_bb_read_interface();
85 extern "C" int p_bb_write_interfaces();
86 extern "C" int p_bb_write_interface();
87 extern "C" int p_bb_interface_changed();
89 extern "C" int p_bb_get();
90 extern "C" int p_bb_set();
92 extern "C" int p_bb_send_message();
93 extern "C" int p_bb_recv_messages();
Fawkes library namespace.
std::map< std::string, Interface * > & interfaces()
Obtain the list of opened interfaces.
static BlackBoard * blackboard_instance()
Access the BlackBoard instance.
static void cleanup_instance()
Delete the current EclExternalBlackBoard instance and set it to NULL.
static void create_initial_object(BlackBoard *bb)
Creates the initial EclExternalBlackBoard object.
static EclExternalBlackBoard * instance()
Get the EclExternalBlackBoard instance.
void disconnect()
Disconnect remote blackboard connection.
Wrapper class for using the blackboard in the implementation of the external predicates.
~EclExternalBlackBoard()
Destructor.
bool connected()
Query connection status.
void connect(const char *host, long port)
Open remote blackboard connection.
The BlackBoard abstract class.