23 #ifndef __LUA_INTERFACEIMPORTER_H_ 24 #define __LUA_INTERFACEIMPORTER_H_ 26 #include <lua/context_watcher.h> 28 #include <core/utils/lock_map.h> 29 #include <blackboard/interface_observer.h> 52 const char *type,
const char *id_pattern);
54 virtual void bb_interface_created(
const char *type,
const char *
id)
throw();
58 std::string __varname;
73 void open_reading_interfaces(std::string &prefix);
74 void open_writing_interfaces(std::string &prefix);
76 void add_interface(std::string varname,
Interface *interface);
78 void close_reading_interfaces();
79 void close_writing_interfaces();
84 void push_interfaces();
86 void read_to_buffer();
87 void read_from_buffer();
95 void open_interfaces(std::string &prefix,
InterfaceMap &imap,
bool write);
101 void add_observed_interface(std::string varname,
102 const char *type,
const char *
id);
120 bool __interfaces_pushed;
Fawkes library namespace.
Base class for all Fawkes BlackBoard interfaces.
fawkes::LockMap< std::string, fawkes::Interface * > InterfaceMap
Map of varname to interface instance.
BlackBoard interface observer.
fawkes::LockMap< std::string, std::list< fawkes::Interface * > > InterfaceListMap
Map of varname to list of interfaces.
The BlackBoard abstract class.
Interface for configuration handling.