#include <ContextActor.h>
Public Member Functions | |
ContextActor (System *const sys) | |
virtual | ~ContextActor () |
virtual std::string | getName () const |
virtual InputContext * | getContext () const |
virtual InputContext * | setContext (InputContext *const context) const |
virtual void | update (const InputData &input) |
virtual void | update (const ModData &input) |
Private Attributes | |
InputContext * | m_context |
Definition at line 27 of file ContextActor.h.
ContextActor::ContextActor | ( | System *const | sys | ) |
virtual ContextActor::~ContextActor | ( | ) | [inline, virtual] |
Definition at line 31 of file ContextActor.h.
References m_context.
00031 { 00032 log_debug("calling dtor"); 00033 00034 if(m_context) { 00035 log_debug("deleting context"); 00036 delete m_context; 00037 } 00038 };
virtual InputContext* ContextActor::getContext | ( | ) | const [virtual] |
virtual std::string ContextActor::getName | ( | ) | const [virtual] |
virtual InputContext* ContextActor::setContext | ( | InputContext *const | context | ) | const [virtual] |
virtual void ContextActor::update | ( | const ModData & | input | ) | [virtual] |
virtual void ContextActor::update | ( | const InputData & | input | ) | [virtual] |
InputContext* ContextActor::m_context [private] |
Definition at line 49 of file ContextActor.h.
Referenced by cmil::ContextActor::addCombo(), cmil::ContextActor::addNormal(), cmil::ContextActor::captureNormal(), cmil::ContextActor::getCaptured(), cmil::ContextActor::getContext(), cmil::ContextActor::removeNormal(), cmil::ContextActor::setContext(), cmil::ContextActor::update(), and ~ContextActor().