#include <StateBackup.h>
Public Member Functions | |
| StateBackup (void) | |
| ~StateBackup (void) | |
| StateBackup (const StateBackup &rhs) | |
| StateBackup & | operator= (const StateBackup &rhs) |
| StateBackup (const State &state) | |
| State::Category | GetStateCategoryFlags () const |
| void | SetStateCategoryFlags (State::Category state_category_flags) |
| bool | Restore () |
| bool | Reject () |
| bool | Capture () |
| bool | Capture (const StateBackup &rhs) |
| bool | Capture (const State &state) |
| xl7::direct3d::StateBackup::StateBackup | ( | void | ) |
Default constructor. Captures the current state of the state machine.
Default constructor.
| xl7::direct3d::StateBackup::~StateBackup | ( | void | ) |
Destructor. Restores the backupped state (if not differently specified).
Destructor.
| xl7::direct3d::StateBackup::StateBackup | ( | const StateBackup & | rhs | ) |
Copy constructor. Copies the backupped state of the given object.
Copy constructor.
| xl7::direct3d::StateBackup::StateBackup | ( | const State & | state | ) |
Explicit constructor. Copies the given state.
Explicit constructor.
| bool xl7::direct3d::StateBackup::Capture | ( | ) |
Captures the current state of the state machine.
| bool xl7::direct3d::StateBackup::Capture | ( | const State & | state | ) |
Copies the given state.
| bool xl7::direct3d::StateBackup::Capture | ( | const StateBackup & | rhs | ) |
Copies the backupped state of the given object.
| State::Category xl7::direct3d::StateBackup::GetStateCategoryFlags | ( | ) | const [inline] |
Returns the state category flags specifying which state components should be restored.
| StateBackup & xl7::direct3d::StateBackup::operator= | ( | const StateBackup & | rhs | ) |
Copy assignment operator. Copies the backupped state of the given object.
Copy assignment operator.
| bool xl7::direct3d::StateBackup::Reject | ( | ) | [inline] |
Rejects the backupped state. It will not be restored on destruction of this object. A call to function Restore then will have no effect any more.
| bool xl7::direct3d::StateBackup::Restore | ( | ) |
Immediately restores the backupped state.
| void xl7::direct3d::StateBackup::SetStateCategoryFlags | ( | State::Category | state_category_flags | ) | [inline] |
Sets the state category flags specifying which state components should be restored.
1.7.1