#include <Context.hpp>
Public Methods | |
Context ( void ) | |
Default Constructor. | |
Context ( ContextCref ) | |
Copy Constructor. More... | |
virtual | ~Context ( void ) |
Virtual Destructor. | |
ContextRef | operator= ( ContextCref ) |
Assignment operator overload. More... | |
bool | operator== ( ContextCref ) const |
Equality operator overload. More... | |
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 Methods | |
StatePtr | getState ( void ) const |
Retrieve the state instance. | |
void | setState ( StatePtr ) |
Set the state instance. |
|
Copy Constructor.
|
|
Assignment operator overload.
|
|
Equality operator overload.
|