ContextActor Class Reference

#include <ContextActor.h>

List of all members.

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

Detailed Description

This class defines the interface and functionality of an actor with a context. It should be suitable for most tasks.

Definition at line 27 of file ContextActor.h.

Constructor & Destructor Documentation

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");
00034         if(m_context) {
00035           log_debug("deleting context");
00036           delete m_context;
00037         }
00038       };

Member Function Documentation

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]

Member Data Documentation

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().

The documentation for this class was generated from the following file:
(c) 2006-2007 John P. Feltz
Generated on Wed Jul 25 16:08:02 2007 for Common Media Input Layer by doxygen 1.4.7 Logo