#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 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;\ }
int ciao [static] |