This is the worker class that performs the tasks in the opportunistic condor environment
This is the worker class that performs the tasks in the opportunistic condor environment. It is an oppressed worker class in that in simply executes the tasks given to it and reports the results back to the master. :-)Capitalist stooges who wish to create an application must derive a class from this class, and implement the following two methods
- unpack_init_data()
- execute_task()
There must be a "matching" unpack_worker_initinfo() in
the MWDriver class.
There must be a "matching" pack_worker_init_data() in
the MWDriver class derived for your application.
virtual ~MWWorker()
void go( int argc, char *argv[] )
static MWRMComm* RMC
int master
MWTask* workingTask
char mach_name[64]
char master_mach_name[64]
virtual void pack_worker_initinfo()
virtual MWReturn unpack_init_data()
virtual void execute_task( MWTask * )
Task_Fib *dt = dynamic_cast<Task_Fib *> ( t );
assert( dt );
virtual double benchmark( MWTask * )
virtual void unpack_driver_task_data( void )
MWReturn worker_setup()
void worker_mainloop()
void suicide()
double timeval_to_double( struct timeval t )
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de