VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Classes | Public Types | Public Member Functions
DtCallbackQueue::CallbackInterface Class Reference

API for writing callbacks. More...

Inheritance diagram for DtCallbackQueue::CallbackInterface:
Inheritance graph
[legend]

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 ()

Detailed Description

API for writing callbacks.

Member Typedef Documentation

Constructor & Destructor Documentation

virtual DtCallbackQueue::CallbackInterface::~CallbackInterface ( )
virtual

Virtual destructor.

Member Function Documentation

virtual std::string DtCallbackQueue::CallbackInterface::label ( ) const
virtual
virtual void DtCallbackQueue::CallbackInterface::run ( )
pure virtual
virtual void DtCallbackQueue::CallbackInterface::cancel ( )
virtual
virtual bool DtCallbackQueue::CallbackInterface::valid ( ) const
virtual

Returns false the callback has become null.


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

Document ID: Generated on Tue Mar 8 22:13:38 EST 2016 from SVN revision 162938
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)