TaskFactory.h File Reference

#include <iostream>
#include <string>
#include "Task.h"

Go to the source code of this file.

Classes

class  FunctionsLookupTable

Defines

#define MIP_REGISTER_STATIC_TASK(TASK_NAME)
#define MIP_REGISTER_TASK(TASK_NAME)

Variables

static int ciao
static FunctionsLookupTable staticTaskCreateFunctionsLookUpTables


Define Documentation

#define MIP_REGISTER_STATIC_TASK ( TASK_NAME   ) 

Value:

static Task* create_task_##TASK_NAME(ResourcePointers resources,int argc, const char* argv[]) { \
 return new TASK_NAME(resources, argc, argv); \
}\
static void destroy_task_##TASK_NAME(Task* p) {\
 delete p;\
}\

#define MIP_REGISTER_TASK ( TASK_NAME   ) 

Value:

extern "C" Task* create_task_##TASK_NAME(ResourcePointers resources,int argc, const char* argv[]) { \
 return new TASK_NAME(resources, argc, argv); \
}\
extern "C" void destroy_task_##TASK_NAME(Task* p) {\
 delete p;\
}


Variable Documentation

int ciao [static]


Generated on Mon Feb 20 07:01:08 2017 for MIP by  doxygen 1.5.6