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

API for writing callbacks. More...

Inheritance diagram for DtVrfCallbackQueue::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 DtVrfCallbackQueue::CallbackInterface::~CallbackInterface ( )
virtual

Virtual destructor.

Member Function Documentation

virtual std::string DtVrfCallbackQueue::CallbackInterface::label ( ) const
virtual
virtual void DtVrfCallbackQueue::CallbackInterface::run ( )
pure virtual
virtual void DtVrfCallbackQueue::CallbackInterface::cancel ( )
virtual
virtual bool DtVrfCallbackQueue::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 Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (www.mak.com)