OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
LockManager Class Reference

#include "ControlsManager.h"

Public Member Functions

 LockManager (AppBase *_owner)
 
virtual ~LockManager ()
 
void uiElementCreated (const ot::BasicServiceInformation &_serviceInfo, ak::UID _uid, const ot::LockTypeFlags &_typeFlags)
 Will create a new entry for this This function will be called from the controls manager automatically if the lock manager was set.
 
void uiElementCreated (const ot::BasicServiceInformation &_serviceInfo, ak::aTreeWidget *_tree, const ot::LockTypeFlags &_typeFlags)
 
void uiElementCreated (const ot::BasicServiceInformation &_serviceInfo, ot::PropertyGrid *_propertyGrid, const ot::LockTypeFlags &_typeFlags)
 
void uiElementCreated (const ot::BasicServiceInformation &_serviceInfo, ot::GraphicsView *_graphicsView, const ot::LockTypeFlags &_typeFlags)
 
void uiElementCreated (const ot::BasicServiceInformation &_serviceInfo, ot::TextEditor *_text, const ot::LockTypeFlags &_typeFlags)
 
void uiViewCreated (const ot::BasicServiceInformation &_serviceInfo, ot::WidgetView *_view, const ot::LockTypeFlags &_typeFlags)
 
void registerLockable (const ot::BasicServiceInformation &_serviceInfo, LockableWidget *_lockable, const ot::LockTypeFlags &_typeFlags)
 
void uiElementDestroyed (ak::UID _uid)
 Will remove all the stored information about the UI element This function will be called from the controls manager automatically if the lock manager was set.
 
void uiElementDestroyed (ak::aTreeWidget *_tree)
 
void uiElementDestroyed (ot::PropertyGrid *_propertyGrid)
 
void uiElementDestroyed (ot::GraphicsView *_graphicsView)
 
void uiElementDestroyed (ot::TextEditor *_text)
 
void uiViewDestroyed (ot::WidgetView *_view)
 
void deregisterLockable (LockableWidget *_lockable)
 
void lock (const ot::BasicServiceInformation &_serviceInfo, ot::LockTypeFlag _type)
 
void lock (const ot::BasicServiceInformation &_serviceInfo, const ot::LockTypeFlags &_typeFlags)
 
void unlock (const ot::BasicServiceInformation &_serviceInfo)
 
void unlock (const ot::BasicServiceInformation &_serviceInfo, ot::LockTypeFlag _type)
 
void unlock (const ot::BasicServiceInformation &_serviceInfo, const ot::LockTypeFlags &_typeFlags)
 
void disable (const ot::BasicServiceInformation &_serviceInfo, ak::UID _element)
 
void enable (const ot::BasicServiceInformation &_serviceInfo, ak::UID _element, bool _resetCounter=false)
 
void cleanService (const ot::BasicServiceInformation &_serviceInfo, bool _reenableElement=true, bool _eraseUiElement=false)
 
int lockLevel (ot::LockTypeFlag _type)
 

Constructor & Destructor Documentation

◆ LockManager()

LockManager::LockManager ( AppBase * _owner)

◆ ~LockManager()

LockManager::~LockManager ( )
virtual

Member Function Documentation

◆ cleanService()

void LockManager::cleanService ( const ot::BasicServiceInformation & _serviceInfo,
bool _reenableElement = true,
bool _eraseUiElement = false )

◆ deregisterLockable()

void LockManager::deregisterLockable ( LockableWidget * _lockable)

◆ disable()

void LockManager::disable ( const ot::BasicServiceInformation & _serviceInfo,
ak::UID _element )

◆ enable()

void LockManager::enable ( const ot::BasicServiceInformation & _serviceInfo,
ak::UID _element,
bool _resetCounter = false )

◆ lock() [1/2]

void LockManager::lock ( const ot::BasicServiceInformation & _serviceInfo,
const ot::LockTypeFlags & _typeFlags )

◆ lock() [2/2]

void LockManager::lock ( const ot::BasicServiceInformation & _serviceInfo,
ot::LockTypeFlag _type )

◆ lockLevel()

int LockManager::lockLevel ( ot::LockTypeFlag _type)

◆ registerLockable()

void LockManager::registerLockable ( const ot::BasicServiceInformation & _serviceInfo,
LockableWidget * _lockable,
const ot::LockTypeFlags & _typeFlags )

◆ uiElementCreated() [1/5]

void LockManager::uiElementCreated ( const ot::BasicServiceInformation & _serviceInfo,
ak::aTreeWidget * _tree,
const ot::LockTypeFlags & _typeFlags )

◆ uiElementCreated() [2/5]

void LockManager::uiElementCreated ( const ot::BasicServiceInformation & _serviceInfo,
ak::UID _uid,
const ot::LockTypeFlags & _typeFlags )

Will create a new entry for this This function will be called from the controls manager automatically if the lock manager was set.

◆ uiElementCreated() [3/5]

void LockManager::uiElementCreated ( const ot::BasicServiceInformation & _serviceInfo,
ot::GraphicsView * _graphicsView,
const ot::LockTypeFlags & _typeFlags )

◆ uiElementCreated() [4/5]

void LockManager::uiElementCreated ( const ot::BasicServiceInformation & _serviceInfo,
ot::PropertyGrid * _propertyGrid,
const ot::LockTypeFlags & _typeFlags )

◆ uiElementCreated() [5/5]

void LockManager::uiElementCreated ( const ot::BasicServiceInformation & _serviceInfo,
ot::TextEditor * _text,
const ot::LockTypeFlags & _typeFlags )

◆ uiElementDestroyed() [1/5]

void LockManager::uiElementDestroyed ( ak::aTreeWidget * _tree)

◆ uiElementDestroyed() [2/5]

void LockManager::uiElementDestroyed ( ak::UID _uid)

Will remove all the stored information about the UI element This function will be called from the controls manager automatically if the lock manager was set.

◆ uiElementDestroyed() [3/5]

void LockManager::uiElementDestroyed ( ot::GraphicsView * _graphicsView)

◆ uiElementDestroyed() [4/5]

void LockManager::uiElementDestroyed ( ot::PropertyGrid * _propertyGrid)

◆ uiElementDestroyed() [5/5]

void LockManager::uiElementDestroyed ( ot::TextEditor * _text)

◆ uiViewCreated()

void LockManager::uiViewCreated ( const ot::BasicServiceInformation & _serviceInfo,
ot::WidgetView * _view,
const ot::LockTypeFlags & _typeFlags )

◆ uiViewDestroyed()

void LockManager::uiViewDestroyed ( ot::WidgetView * _view)

◆ unlock() [1/3]

void LockManager::unlock ( const ot::BasicServiceInformation & _serviceInfo)

◆ unlock() [2/3]

void LockManager::unlock ( const ot::BasicServiceInformation & _serviceInfo,
const ot::LockTypeFlags & _typeFlags )

◆ unlock() [3/3]

void LockManager::unlock ( const ot::BasicServiceInformation & _serviceInfo,
ot::LockTypeFlag _type )

The documentation for this class was generated from the following files: