omegalib  13.1
omega::AsyncTask< T > Class Template Reference

#include <AsyncTask.h>

Classes

class  IAsyncTaskHandler
 

Public Types

typedef T Data
 

Public Member Functions

 AsyncTask (double timestamp=0)
 
T & getData ()
 
void setData (const T &data)
 
bool isComplete ()
 
int getProgress ()
 
void setProgress (int value)
 
double getTimestamp ()
 
void notifyComplete (bool failed=false, const String &completionMessage="")
 
void setCompletionCommand (const String &cmd)
 
const StringgetCompletionCommand ()
 
void setCompletionHandler (IAsyncTaskHandler *handler)
 
IAsyncTaskHandlersetCompletionHandler ()
 
void setTaskId (const String &value)
 
const StringgetTaskId ()
 
bool hasFailed ()
 
const StringgetCompletionMessage ()
 
- Public Member Functions inherited from omicron::ReferenceType
 ReferenceType ()
 
virtual ~ReferenceType ()
 
void ref ()
 
void unref ()
 
long refCount ()
 

Additional Inherited Members

- Static Public Member Functions inherited from omicron::ReferenceType
static void printObjCounts ()
 
- Static Protected Attributes inherited from omicron::ReferenceType
static List< ReferenceType * > mysObjList
 
+ Inheritance diagram for omega::AsyncTask< T >:

Member Typedef Documentation

template<typename T >
typedef T omega::AsyncTask< T >::Data

Constructor & Destructor Documentation

template<typename T >
omega::AsyncTask< T >::AsyncTask ( double  timestamp = 0)
inline

Member Function Documentation

template<typename T >
const String& omega::AsyncTask< T >::getCompletionCommand ( )
inline
template<typename T >
const String& omega::AsyncTask< T >::getCompletionMessage ( )
inline
template<typename T >
T& omega::AsyncTask< T >::getData ( )
inline
template<typename T >
int omega::AsyncTask< T >::getProgress ( )
inline
template<typename T >
const String& omega::AsyncTask< T >::getTaskId ( )
inline
template<typename T >
double omega::AsyncTask< T >::getTimestamp ( )
inline
template<typename T >
bool omega::AsyncTask< T >::hasFailed ( )
inline
template<typename T >
bool omega::AsyncTask< T >::isComplete ( )
inline
template<typename T >
void omega::AsyncTask< T >::notifyComplete ( bool  failed = false,
const String completionMessage = "" 
)
inline
template<typename T >
void omega::AsyncTask< T >::setCompletionCommand ( const String cmd)
inline
template<typename T >
void omega::AsyncTask< T >::setCompletionHandler ( IAsyncTaskHandler handler)
inline
template<typename T >
IAsyncTaskHandler* omega::AsyncTask< T >::setCompletionHandler ( )
inline
template<typename T >
void omega::AsyncTask< T >::setData ( const T &  data)
inline
template<typename T >
void omega::AsyncTask< T >::setProgress ( int  value)
inline
template<typename T >
void omega::AsyncTask< T >::setTaskId ( const String value)
inline

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