![]() |
VR-Forces Development_Version Class Documentation
|
API for writing callbacks. More...

Classes | |
| class | RefWrapper |
| class | Wrapper |
Public Types | |
| typedef boost::shared_ptr < CallbackInterface > | Ptr |
Public Member Functions | |
| virtual | ~CallbackInterface () |
| Virtual destructor. | |
| virtual std::string | label () const |
| Name of callback, used only for logging and debugging. | |
| virtual void | run ()=0 |
| Run callback. | |
| virtual void | cancel () |
| Will be called if the callback will not be run before it's discarded. | |
| virtual bool | valid () const |
| Returns false the callback has become null. | |
Additional Inherited Members | |
Static Public Member Functions inherited from DtObjectDebugger< CallbackInterface > | |
| static DtObjectCounter::CounterType | ObjectCount () |
| static const DtObjectContainer * | ObjectContainer () |
Protected Member Functions inherited from DtObjectDebugger< CallbackInterface > | |
| DtObjectDebugger () | |
| DtObjectDebugger (const DtObjectDebugger &) | |
| ~DtObjectDebugger () | |
API for writing callbacks.
| typedef boost::shared_ptr<CallbackInterface> DtCallbackQueue::CallbackInterface::Ptr |
|
virtual |
Virtual destructor.
|
virtual |
Name of callback, used only for logging and debugging.
Reimplemented in DtCallbackQueue::CallbackInterface::RefWrapper, and DtCallbackQueue::CallbackInterface::Wrapper.
Referenced by DtCallbackQueue::CallbackInterface::Wrapper::label(), and DtCallbackQueue::CallbackInterface::RefWrapper::label().
|
pure virtual |
Run callback.
Implemented in DtCallbackQueue::CallbackInterface::RefWrapper, and DtCallbackQueue::CallbackInterface::Wrapper.
Referenced by DtCallbackQueue::CallbackInterface::Wrapper::run(), and DtCallbackQueue::CallbackInterface::RefWrapper::run().
|
virtual |
Will be called if the callback will not be run before it's discarded.
Reimplemented in DtCallbackQueue::CallbackInterface::RefWrapper, and DtCallbackQueue::CallbackInterface::Wrapper.
Referenced by DtCallbackQueue::CallbackInterface::Wrapper::cancel(), and DtCallbackQueue::CallbackInterface::RefWrapper::cancel().
|
virtual |
Returns false the callback has become null.