Fawkes API
Fawkes Development Version
|
Public Member Functions | |
InterfaceObserver (LuaInterfaceImporter *lii, std::string varname, const char *type, const char *id_pattern) | |
Constructor. | |
virtual void | bb_interface_created (const char *type, const char *id) throw () |
BlackBoard interface created notification. |
fawkes::LuaInterfaceImporter::InterfaceObserver::InterfaceObserver | ( | LuaInterfaceImporter * | lii, |
std::string | varname, | ||
const char * | type, | ||
const char * | id_pattern | ||
) |
Constructor.
lii | LuaInterfaceImporter instance this observer is assigned to |
varname | variable name |
type | type of interface |
id_pattern | ID pattern to observe |
Definition at line 451 of file interface_importer.cpp.
void fawkes::LuaInterfaceImporter::InterfaceObserver::bb_interface_created | ( | const char * | type, |
const char * | id | ||
) | throw () [virtual] |
BlackBoard interface created notification.
This is called whenever an interface is created for a type that you registered for.
type | type of the interface. If you want to store this make a copy as it is not guaranteed that the supplied string exists for longer than the duration of the method call |
id | ID of the newly created interface. If you want to store this make a copy as it is not guaranteed that the supplied string exists for longer than the duration of the method call |
Reimplemented from fawkes::BlackBoardInterfaceObserver.
Definition at line 463 of file interface_importer.cpp.