TinkeCell API  1.0.0
C/Python/Octave/Ruby API
C:/Users/Deepak/Projects/TinkerCell/trunk/API/TC_EventsAssignments_api.h
00001 #ifndef TINKERCELL_TC_EVENTS_AND_ASSIGNMENTS_API_H
00002 #define TINKERCELL_TC_EVENTS_AND_ASSIGNMENTS_API_H
00003 
00004 #include "TC_structs.h"
00005 BEGIN_C_DECLS
00006 
00012 TCAPIEXPORT tc_strings tc_getEventTriggers();
00018 TCAPIEXPORT tc_strings tc_getEventResponses();
00025 TCAPIEXPORT void tc_addEvent(const char* trigger, const char* event);
00030 TCAPIEXPORT void tc_SimulationEventsTool_api(
00031                 tc_strings (*getEventTriggers)(),
00032                  tc_strings (*getEventResponses)(),
00033                  void (*addEvent)(const char*, const char*)
00034         );
00035 
00042 TCAPIEXPORT tc_strings tc_getForcingFunctionNames(tc_items a);
00049 TCAPIEXPORT tc_strings tc_getForcingFunctionAssignments(tc_items a);
00050 
00058 TCAPIEXPORT void tc_addForcingFunction(long item,const char* variable, const char* formula);
00059 
00064 TCAPIEXPORT void tc_AssignmentFunctionsTool_api(
00065                 tc_strings (*getForcingFunctionNames)(tc_items),
00066                  tc_strings (*getForcingFunctionAssignments)(tc_items),
00067                  void (*addForcingFunction)(long,const char*, const char*)
00068         );
00069 
00070 END_C_DECLS
00071 #endif
00072 
 All Data Structures