VR-Forces 4.5 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Attributes
DtAsyncDetachedJob Class Reference

Concrete job class which manages a shared pointer to it's job map entry. More...

Inheritance diagram for DtAsyncDetachedJob:
Inheritance graph
[legend]

Public Member Functions

boost::shared_ptr
< DtAsyncJobMapEntry
getEntry () const
 Returns the entry associated with this task.
void setEntry (boost::shared_ptr< DtAsyncJobMapEntry >)
 Set the job entry.
taskexecute ()
 Do not override. Calls onExecute, then onException if there is an exception thrown.
- Public Member Functions inherited from DtAsyncJob
 DtAsyncJob ()
 CTOR.
virtual ~DtAsyncJob ()
 Virtual DTOR.
virtual taskonExecute ()=0
 Called to execute a task.
virtual taskonException ()=0
 Called when an exception is caught during execution.
virtual void tick ()
 Called each tick.
bool cancel () const
 DtAlgorithmManager cancel function.
- Public Member Functions inherited from DtAlgorithmManager
virtual void message (Severity, const std::string &) const
 Output a messages from within the algorithm.
void errorMessage (const std::string &) const
void warnMessage (const std::string &) const
void infoMessage (const std::string &) const
void verboseMessage (const std::string &) const
void debugMessage (const std::string &) const
virtual
MAKVRinTerra::DtSharedMemoryFeaturesDebugDrawer
drawer () const
 Returns drawer, null if not enabled.

Protected Attributes

boost::shared_ptr
< DtAsyncJobMapEntry
myEntry
- Protected Attributes inherited from DtAsyncJob
DtAsyncJobServermyServer

Additional Inherited Members

- Public Types inherited from DtAlgorithmManager
enum  Severity {
  Error, WARN, INFO, VERBOSE,
  DEBUG
}
typedef DtTaggedException
< DtAlgorithmManager
Exception
- Static Public Member Functions inherited from DtObjectDebugger< DtAsyncJob >
static DtObjectCounter::CounterType ObjectCount ()
static const DtObjectContainer * ObjectContainer ()
- Protected Member Functions inherited from DtObjectDebugger< DtAsyncJob >
 DtObjectDebugger ()
 DtObjectDebugger (const DtObjectDebugger &)
 ~DtObjectDebugger ()

Detailed Description

Concrete job class which manages a shared pointer to it's job map entry.

Using this job does not require the user who sets up the job to keep any references to it. This allows the user to start a job and not have to worry about saving anything objects to keep the job alive.

Member Function Documentation

boost::shared_ptr<DtAsyncJobMapEntry> DtAsyncDetachedJob::getEntry ( ) const
virtual

Returns the entry associated with this task.

If it is null the task is no longer needed.

Implements DtAsyncJob.

void DtAsyncDetachedJob::setEntry ( boost::shared_ptr< DtAsyncJobMapEntry )
virtual

Set the job entry.

Implements DtAsyncJob.

task* DtAsyncDetachedJob::execute ( )
virtual

Do not override. Calls onExecute, then onException if there is an exception thrown.

Reimplemented from DtAsyncJob.

Member Data Documentation

boost::shared_ptr<DtAsyncJobMapEntry> DtAsyncDetachedJob::myEntry
protected

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

Document ID: Generated on Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (www.mak.com)