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

#include "ControlsManager.h"

Public Member Functions

 ControlsManager ()
 
virtual ~ControlsManager ()
 
void uiElementCreated (const ot::BasicServiceInformation &_serviceInfo, ak::UID _controlUid, bool _elementHasEvents=true)
 Will store the control information.
 
bool destroyUiControl (ak::UID _controlUid)
 Will destroy an UI control. Return false if failed to destroy (object still has child objects), or the object does not exist.
 
void destroyUiControls (const std::vector< ak::UID > &_controlUids)
 
void uiControlWasDestroyed (ak::UID _controlUid)
 
void serviceDisconnected (const ot::BasicServiceInformation &_serviceInfo)
 
ot::BasicServiceInformation objectCreator (ak::UID)
 

Constructor & Destructor Documentation

◆ ControlsManager()

ControlsManager::ControlsManager ( )
inline

◆ ~ControlsManager()

ControlsManager::~ControlsManager ( )
virtual

Member Function Documentation

◆ destroyUiControl()

bool ControlsManager::destroyUiControl ( ak::UID _controlUid)

Will destroy an UI control. Return false if failed to destroy (object still has child objects), or the object does not exist.

◆ destroyUiControls()

void ControlsManager::destroyUiControls ( const std::vector< ak::UID > & _controlUids)

◆ objectCreator()

ot::BasicServiceInformation ControlsManager::objectCreator ( ak::UID _itemUid)

◆ serviceDisconnected()

void ControlsManager::serviceDisconnected ( const ot::BasicServiceInformation & _serviceInfo)

◆ uiControlWasDestroyed()

void ControlsManager::uiControlWasDestroyed ( ak::UID _controlUid)

◆ uiElementCreated()

void ControlsManager::uiElementCreated ( const ot::BasicServiceInformation & _serviceInfo,
ak::UID _controlUid,
bool _elementHasEvents = true )

Will store the control information.

Parameters
_creatorThe creator of the control (must be unique for elements with events)
_controlUidThe UID of the control
_elementHasEventsIf false the creator of the element can not be determined further on

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