OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
ot::ManagedGuiObject Class Referenceabstract

#include "ManagedGuiObject.h"

Public Member Functions

 ManagedGuiObject ()
 
virtual ~ManagedGuiObject ()
 
void setGuiObjectOwner (const BasicServiceInformation &_owner)
 
const BasicServiceInformationgetGuiObjectOwner (void) const
 
void setGuiObjectKey (const std::string &_key)
 
const std::string & getGuiObjectKey (void) const
 
void setGuiObjectEnabled (bool _enabled, int _counter=1)
 
void resetGuiObjectDisabledCounter (void)
 Resets the disabled counter back to 0. (like no disabled was called)
 
void lockGuiObject (const LockTypeFlags &_flags, int _lockCount=1)
 
void unlockGuiObject (const LockTypeFlags &_flags, int _unlockCount=1)
 
void resetGuiObjectLockCounter (void)
 

Protected Member Functions

virtual void updateGuiObjectEnabledState (bool _enabled)=0
 This method is called whenever the enabled state should be updated (e.g. setEnabled or setReadOnly).
 

Constructor & Destructor Documentation

◆ ManagedGuiObject()

ot::ManagedGuiObject::ManagedGuiObject ( )

◆ ~ManagedGuiObject()

virtual ot::ManagedGuiObject::~ManagedGuiObject ( )
virtual

Member Function Documentation

◆ getGuiObjectKey()

const std::string & ot::ManagedGuiObject::getGuiObjectKey ( void ) const
inline

◆ getGuiObjectOwner()

const BasicServiceInformation & ot::ManagedGuiObject::getGuiObjectOwner ( void ) const
inline

◆ lockGuiObject()

void ot::ManagedGuiObject::lockGuiObject ( const LockTypeFlags & _flags,
int _lockCount = 1 )

◆ resetGuiObjectDisabledCounter()

void ot::ManagedGuiObject::resetGuiObjectDisabledCounter ( void )

Resets the disabled counter back to 0. (like no disabled was called)

◆ resetGuiObjectLockCounter()

void ot::ManagedGuiObject::resetGuiObjectLockCounter ( void )

◆ setGuiObjectEnabled()

void ot::ManagedGuiObject::setGuiObjectEnabled ( bool _enabled,
int _counter = 1 )

◆ setGuiObjectKey()

void ot::ManagedGuiObject::setGuiObjectKey ( const std::string & _key)
inline

◆ setGuiObjectOwner()

void ot::ManagedGuiObject::setGuiObjectOwner ( const BasicServiceInformation & _owner)
inline

◆ unlockGuiObject()

void ot::ManagedGuiObject::unlockGuiObject ( const LockTypeFlags & _flags,
int _unlockCount = 1 )

◆ updateGuiObjectEnabledState()

virtual void ot::ManagedGuiObject::updateGuiObjectEnabledState ( bool _enabled)
protectedpure virtual

This method is called whenever the enabled state should be updated (e.g. setEnabled or setReadOnly).


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