#include <Context.hpp>
Public Member Functions | |
Context (void) | |
Default Constructor. | |
Context (ContextCref) | |
Copy Constructor. | |
virtual | ~Context (void) |
Virtual Destructor. | |
ContextRef | operator= (ContextCref) |
Assignment operator overload. | |
bool | operator== (ContextCref) const |
Equality operator overload. | |
virtual void | request (void) throw ( NullPointerException ) |
Invoke a context request which is delegated to State. | |
virtual void | changeState (StatePtr) |
Change the state of the context. | |
Protected Member Functions | |
StatePtr | getState (void) const |
Retrieve the state instance. | |
void | setState (StatePtr) |
Set the state instance. |
corelinux::Context::Context | ( | ContextCref | aContext | ) |
ContextRef corelinux::Context::operator= | ( | ContextCref | aContext | ) |
Assignment operator overload.
Context | const reference |
References getState(), and setState().
bool corelinux::Context::operator== | ( | ContextCref | aContext | ) | const |
Equality operator overload.
Context | const reference |