Fawkes API
Fawkes Development Version
|
Skiller feature base class. More...
#include "skiller_feature.h"
Public Member Functions | |
virtual | ~SkillerFeature () |
Virtual empty destructor. More... | |
virtual void | init_lua_context (fawkes::LuaContext *context)=0 |
Initialize a Lua context. More... | |
virtual void | finalize_lua_context (fawkes::LuaContext *context)=0 |
Finalize a Lua context. More... | |
Skiller feature base class.
Skiller features are additions to the skiller Lua context that can be added dynamically.
Definition at line 32 of file skiller_feature.h.
|
virtual |
Virtual empty destructor.
Definition at line 45 of file skiller_feature.cpp.
|
pure virtual |
Finalize a Lua context.
The Lua context will be torn down shortly and needs to be finalized, for example perform any extra operations for proper finalization or unregister a context watcher. After this call the context may no longer be used or dereferenced.
context | Lua context to finalize |
Implemented in SkillerNavGraphFeature.
|
pure virtual |
Initialize a Lua context.
The Lua context has been initialized with the basics. Now the feature can make its additions and add stuff or register as context watcher.
context | Lua context to initialize |
Implemented in SkillerNavGraphFeature.