Fawkes API  Fawkes Development Version
fawkes::LuaInterfaceImporter::InterfaceObserver Class Reference
Inheritance diagram for fawkes::LuaInterfaceImporter::InterfaceObserver:

List of all members.

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.

Constructor & Destructor Documentation

fawkes::LuaInterfaceImporter::InterfaceObserver::InterfaceObserver ( LuaInterfaceImporter lii,
std::string  varname,
const char *  type,
const char *  id_pattern 
)

Constructor.

Parameters:
liiLuaInterfaceImporter instance this observer is assigned to
varnamevariable name
typetype of interface
id_patternID pattern to observe

Definition at line 451 of file interface_importer.cpp.


Member Function Documentation

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.

Parameters:
typetype 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
idID 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.


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