BALL  1.4.79
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
BALL::VIEW::UIOperationMode Class Reference

#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 UIOperationModeinstance ()
 

Protected Member Functions

 UIOperationMode ()
 
 UIOperationMode (const UIOperationMode &)
 
const UIOperationModeoperator= (const UIOperationMode &)
 

Protected Attributes

OperationMode mode_
 

Static Protected Attributes

static boost::shared_ptr
< UIOperationMode
instance_
 
static Mutex create_mutex_
 

Detailed Description

A singleton that manages the operation mode of our user interface.

Definition at line 25 of file UIOperationMode.h.

Member Enumeration Documentation

Enumerator
MODE_FULL 
MODE_ADVANCED 
MODE_KIOSK 
MODE_ALL 

Definition at line 29 of file UIOperationMode.h.

Constructor & Destructor Documentation

virtual BALL::VIEW::UIOperationMode::~UIOperationMode ( )
virtual
BALL::VIEW::UIOperationMode::UIOperationMode ( )
protected
BALL::VIEW::UIOperationMode::UIOperationMode ( const UIOperationMode )
protected

Member Function Documentation

OperationMode BALL::VIEW::UIOperationMode::getMode ( )
static UIOperationMode& BALL::VIEW::UIOperationMode::instance ( )
static
bool BALL::VIEW::UIOperationMode::isAdvanced ( )
bool BALL::VIEW::UIOperationMode::isFull ( )
bool BALL::VIEW::UIOperationMode::isKiosk ( )
const UIOperationMode& BALL::VIEW::UIOperationMode::operator= ( const UIOperationMode )
protected
void BALL::VIEW::UIOperationMode::setMode ( OperationMode  new_mode)

Member Data Documentation

Mutex BALL::VIEW::UIOperationMode::create_mutex_
staticprotected

Definition at line 57 of file UIOperationMode.h.

boost::shared_ptr<UIOperationMode> BALL::VIEW::UIOperationMode::instance_
staticprotected

Definition at line 55 of file UIOperationMode.h.

OperationMode BALL::VIEW::UIOperationMode::mode_
protected

Definition at line 59 of file UIOperationMode.h.