26namespace ak {
class aTreeWidget; }
27namespace ot {
class PropertyGrid; }
28namespace ot {
class GraphicsView; }
29namespace ot {
class WidgetView; }
30namespace ot {
class TextEditor; }
51 std::map<ot::BasicServiceInformation, std::vector<ak::UID> * > m_creatorMap;
52 std::map<ak::UID, ot::BasicServiceInformation> m_uiToCreatorMap;
107 std::map<ot::LockTypeFlag, int> * generateDefaultLockMap(
void)
const;
114 std::list<LockManagerElement*> m_specials;
116 std::map<ot::BasicServiceInformation, std::map<ot::LockTypeFlag, int> *> m_serviceToUiLockLevel;
118 std::map<ot::BasicServiceInformation, std::map<ak::UID, int> *> m_serviceToUiEnabledLevel;
120 std::map<ak::UID, LockManagerElement *> m_uiElements;
#define OT_DECL_NODEFAULT(___class)
Removes the default copy constructor and assignment operator.
Definition OTClassHelper.h:22
#define OT_DECL_NOCOPY(___class)
Removes the default copy constructor and assignment operator.
Definition OTClassHelper.h:14
The API manager is used to manage the global objects required for this API to work.
Definition AppBase.h:21
Definition ControlsManager.h:32
void uiControlWasDestroyed(ak::UID _controlUid)
Definition ControlsManager.cpp:80
void destroyUiControls(const std::vector< ak::UID > &_controlUids)
Definition ControlsManager.cpp:67
void uiElementCreated(const ot::BasicServiceInformation &_serviceInfo, ak::UID _controlUid, bool _elementHasEvents=true)
Will store the control information.
Definition ControlsManager.cpp:28
ControlsManager()
Definition ControlsManager.h:34
virtual ~ControlsManager()
Definition ControlsManager.cpp:24
bool destroyUiControl(ak::UID _controlUid)
Will destroy an UI control. Return false if failed to destroy (object still has child objects),...
Definition ControlsManager.cpp:51
void serviceDisconnected(const ot::BasicServiceInformation &_serviceInfo)
Definition ControlsManager.cpp:93
ot::BasicServiceInformation objectCreator(ak::UID)
Definition ControlsManager.cpp:104
Definition ControlsManager.h:143
ot::PropertyGrid * getProp(void) const
Definition ControlsManager.h:160
void unlock(int _value, ot::LockTypeFlag _lockType)
Definition ControlsManager.cpp:743
ak::aTreeWidget * getTree(void) const
Definition ControlsManager.h:159
ot::GraphicsView * getGraphics(void) const
Definition ControlsManager.h:161
LockableWidget * getLockable(void) const
Definition ControlsManager.h:164
ot::WidgetView * getView(void) const
Definition ControlsManager.h:163
ot::TextEditor * getText(void) const
Definition ControlsManager.h:162
void lock(int _value, ot::LockTypeFlag _lockType)
Definition ControlsManager.cpp:711
void disable(int _value)
Definition ControlsManager.cpp:683
void enable(int _value)
Definition ControlsManager.cpp:648
Definition ControlsManager.h:67
void unlock(const ot::BasicServiceInformation &_serviceInfo)
Definition ControlsManager.cpp:361
void disable(const ot::BasicServiceInformation &_serviceInfo, ak::UID _element)
Definition ControlsManager.cpp:436
LockManager(AppBase *_owner)
Definition ControlsManager.cpp:119
int lockLevel(ot::LockTypeFlag _type)
Definition ControlsManager.cpp:520
void uiElementDestroyed(ak::UID _uid)
Will remove all the stored information about the UI element This function will be called from the con...
Definition ControlsManager.cpp:240
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...
Definition ControlsManager.cpp:127
virtual ~LockManager()
Definition ControlsManager.cpp:123
void enable(const ot::BasicServiceInformation &_serviceInfo, ak::UID _element, bool _resetCounter=false)
Definition ControlsManager.cpp:451
void uiViewCreated(const ot::BasicServiceInformation &_serviceInfo, ot::WidgetView *_view, const ot::LockTypeFlags &_typeFlags)
Definition ControlsManager.cpp:210
void registerLockable(const ot::BasicServiceInformation &_serviceInfo, LockableWidget *_lockable, const ot::LockTypeFlags &_typeFlags)
Definition ControlsManager.cpp:225
void uiViewDestroyed(ot::WidgetView *_view)
Definition ControlsManager.cpp:292
void cleanService(const ot::BasicServiceInformation &_serviceInfo, bool _reenableElement=true, bool _eraseUiElement=false)
Definition ControlsManager.cpp:478
void deregisterLockable(LockableWidget *_lockable)
Definition ControlsManager.cpp:301
void lock(const ot::BasicServiceInformation &_serviceInfo, ot::LockTypeFlag _type)
Definition ControlsManager.cpp:310
Definition ControlsManager.h:126
ScopedLockManagerLock(LockManager *_manager, const ot::BasicServiceInformation &_serviceInfo, const ot::LockTypeFlags &_typeFlags)
Definition ControlsManager.cpp:596
~ScopedLockManagerLock()
Definition ControlsManager.cpp:603
void setNoUnlock(void)
If set the lock flags won't be unset when destroying.
Definition ControlsManager.cpp:610
View widget used to display GraphicsItems Note that the View creates its own scene.
Definition GraphicsView.h:37
Definition PropertyGrid.h:29
Definition TextEditor.h:47
unsigned long long UID
The UID datatype used for objects.
Definition globalDataTypes.h:65
LockTypeFlag
Describes the object type to lock in the UI.
Definition GuiTypes.h:156