#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. | |
|
|
Copy Constructor.
|
|
|
Assignment operator overload.
|
|
|
Equality operator overload.
|