Represents the connection of a specific callback to a DtCallbackListT.
More...
Detailed Description
Represents the connection of a specific callback to a DtCallbackListT.
Saving a DtCallbackConnection returned from DtCallbackListT::addCallback allows you to disconnect the callback without having to remember what DtCallbackListT it was connected to or what parameters were used to connect it It is also more efficient than calling removeCallback.
Member Typedef Documentation
Constructor & Destructor Documentation
| DtCallbackConnection::DtCallbackConnection |
( |
| ) |
|
|
inline |
Member Function Documentation
| bool DtCallbackConnection::disconnect |
( |
| ) |
|
|
inline |
Disconnect the connection.
Can be called multiple times. Can be called on a default constructed object.
- Returns
- Whether the disconnected callback was the last callback in the list.
Friends And Related Function Documentation
Member Data Documentation
The documentation for this class was generated from the following file: