BALL
1.4.79
|
#include <BALL/VIEW/KERNEL/UIOperationMode.h>
Public Types | |
enum | OperationMode { MODE_FULL = 0, MODE_ADVANCED, MODE_KIOSK, MODE_ALL } |
Public Member Functions | |
virtual | ~UIOperationMode () |
OperationMode | getMode () |
void | setMode (OperationMode new_mode) |
bool | isFull () |
bool | isAdvanced () |
bool | isKiosk () |
Static Public Member Functions | |
static UIOperationMode & | instance () |
Protected Member Functions | |
UIOperationMode () | |
UIOperationMode (const UIOperationMode &) | |
const UIOperationMode & | operator= (const UIOperationMode &) |
Protected Attributes | |
OperationMode | mode_ |
Static Protected Attributes | |
static boost::shared_ptr < UIOperationMode > | instance_ |
static Mutex | create_mutex_ |
A singleton that manages the operation mode of our user interface.
Definition at line 25 of file UIOperationMode.h.
Enumerator | |
---|---|
MODE_FULL | |
MODE_ADVANCED | |
MODE_KIOSK | |
MODE_ALL |
Definition at line 29 of file UIOperationMode.h.
|
virtual |
|
protected |
|
protected |
OperationMode BALL::VIEW::UIOperationMode::getMode | ( | ) |
|
static |
bool BALL::VIEW::UIOperationMode::isAdvanced | ( | ) |
bool BALL::VIEW::UIOperationMode::isFull | ( | ) |
bool BALL::VIEW::UIOperationMode::isKiosk | ( | ) |
|
protected |
void BALL::VIEW::UIOperationMode::setMode | ( | OperationMode | new_mode | ) |
|
staticprotected |
Definition at line 57 of file UIOperationMode.h.
|
staticprotected |
Definition at line 55 of file UIOperationMode.h.
|
protected |
Definition at line 59 of file UIOperationMode.h.