Jive reference manual
List of all members | Public Types | Public Member Functions | Protected Member Functions
jem::mp::SimpleTask Class Reference

#include <jem/mp/SimpleTask.h>

Inheritance diagram for jem::mp::SimpleTask:
Inheritance graph

Public Types

typedef SimpleTask Self
 
typedef Task Super
 
typedef void(* TaskFunc) (const Ref< Context > &ctx, int argc, char **argv)
 
- Public Types inherited from jem::mp::Task
typedef Task Self
 
typedef Object Super
 

Public Member Functions

 SimpleTask (TaskFunc func, const Ref< Context > &ctx, int argc, char **argv)
 
virtual void run ()
 
- Public Member Functions inherited from jem::Object
virtual ClassgetClass () const
 Returns the Class instance representing the runtime class of this object. More...
 
virtual String toString () const
 Returns a short textual description of this object. More...
 
virtual long hashValue () const
 Returns a hash value for this object. More...
 
virtual bool equals (const Ref< Object > &obj) const
 Tests whether two objects are equal. More...
 
Ref< Objectclone () const
 Returns a copy of this object. More...
 

Protected Member Functions

virtual ~SimpleTask ()
 
- Protected Member Functions inherited from jem::mp::Task
virtual ~Task ()
 
- Protected Member Functions inherited from jem::Collectable
 Collectable ()
 Creates an empty Collectable. More...
 
 ~Collectable ()
 Frees resources. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from jem::Object
static ClassgetType ()
 Returns the Class instance representing the Object class. More...
 

Member Typedef Documentation

typedef void(* jem::mp::SimpleTask::TaskFunc) (const Ref< Context > &ctx, int argc, char **argv)

Constructor & Destructor Documentation

jem::mp::SimpleTask::SimpleTask ( TaskFunc  func,
const Ref< Context > &  ctx,
int  argc,
char **  argv 
)
explicit
virtual jem::mp::SimpleTask::~SimpleTask ( )
protectedvirtual

Member Function Documentation

virtual void jem::mp::SimpleTask::run ( )
virtual

Implements jem::mp::Task.