#include <attributeCallback.h>
◆ AttributeList
Type definition for the list of connected attributes.
◆ DtAttributeCallbackBase()
| makVre::DtAttributeCallbackBase::DtAttributeCallbackBase |
( |
| ) |
|
◆ ~DtAttributeCallbackBase()
| virtual makVre::DtAttributeCallbackBase::~DtAttributeCallbackBase |
( |
| ) |
|
|
virtual |
Virtual destructor.
Automatically disconnects from all connected attributes
◆ connect()
Connects the callback to an attribute.
- Parameters
-
| attribute | Reference to the attribute to connect to |
◆ disconnect()
| virtual void makVre::DtAttributeCallbackBase::disconnect |
( |
DtAttributeHandle | attribute | ) |
|
|
virtual |
Disconnects the callback from a specific attribute.
- Parameters
-
| attribute | Reference to the attribute to disconnect from |
◆ disconnectAll()
| virtual void makVre::DtAttributeCallbackBase::disconnectAll |
( |
| ) |
|
|
virtual |
Disconnects the callback from all connected attributes.
◆ isConnected()
| virtual bool makVre::DtAttributeCallbackBase::isConnected |
( |
const DtAttributeHandle & | attribute | ) |
const |
|
virtual |
Checks if the callback is connected to a specific attribute.
- Parameters
-
| attribute | Reference to the attribute to check |
- Returns
- True if connected to the attribute, false otherwise
◆ hasConnection()
| virtual bool makVre::DtAttributeCallbackBase::hasConnection |
( |
| ) |
const |
|
virtual |
Checks if the callback is connected to any attributes.
- Returns
- True if connected to at least one attribute, false otherwise
◆ threadId()
| virtual unsigned int makVre::DtAttributeCallbackBase::threadId |
( |
| ) |
const |
|
virtual |
◆ invoke()
| virtual void makVre::DtAttributeCallbackBase::invoke |
( |
const DtAttributeHandle & | changedAttribute | ) |
const |
|
protectedpure virtual |
◆ DtAttribute
◆ myConnections
List of attributes this callback is connected to.
◆ myThreadId
| unsigned int makVre::DtAttributeCallbackBase::myThreadId |
|
protected |
The documentation for this class was generated from the following file: