VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Attributes
DtAsyncManagedJob Class Reference

Concrete job class which manages a weak pointer to it's job map entry. Using this job will require the user who sets up the job to keep a shared pointer to the job map entry to keep it alive. Thus a user can end the job by simply deleting their pointer.

Inheritance diagram for DtAsyncManagedJob:
Inheritance graph
[legend]

Public Member Functions

virtual std::shared_ptr
< DtAsyncJobMapEntry
getEntry () const override
 
virtual void setEntry (std::shared_ptr< DtAsyncJobMapEntry >) override
 
- Public Member Functions inherited from DtAsyncJob
 DtAsyncJob ()
 
virtual ~DtAsyncJob ()
 
virtual void execute ()
 
virtual void onExecute ()=0
 
virtual void onException ()=0
 
virtual void tick ()
 
virtual bool cancel () const override
 
- Public Member Functions inherited from DtAlgorithmManager
virtual void message (Severity, const std::string &) const
 
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
 

Protected Attributes

std::weak_ptr< DtAsyncJobMapEntrymyEntry
 
- Protected Attributes inherited from DtAsyncJob
DtAsyncJobServermyServer
 

Additional Inherited Members

- Public Types inherited from DtAlgorithmManager
enum  Severity {
  Error, WARN, INFO, VERBOSE,
  DEBUG_LEVEL
}
 
typedef DtTaggedException
< DtAlgorithmManager
Exception
 

Member Function Documentation

virtual std::shared_ptr<DtAsyncJobMapEntry> DtAsyncManagedJob::getEntry ( ) const
overridevirtual

Returns the entry associated with this task. If it is null the task is no longer needed.

Implements DtAsyncJob.

virtual void DtAsyncManagedJob::setEntry ( std::shared_ptr< DtAsyncJobMapEntry )
overridevirtual

Set the job entry.

Implements DtAsyncJob.

Member Data Documentation

std::weak_ptr<DtAsyncJobMapEntry> DtAsyncManagedJob::myEntry
protected

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

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)