CARMA C++
szascript.h
1 #ifndef szascript_h
2 #define szascript_h
3 
4 #include "carma/szaarrayutils/script.h"
5 
6 Script *new_SzaScript(ControlProg *cp, int batch, HashTable *signals);
7 Script *del_SzaScript(Script *cs);
8 
9 /*
10  * An object of the following type is allocated by each schedule script
11  * to record non-script objects that need to be garbage collected when
12  * the script is deleted or discarded. It can be found in Script::data.
13  */
14 typedef struct {
15  int ref_count; /* The reference count of the parent Script */
16  List *schedules; /* The list of schedules in use by the script */
17 } ScheduleData;
18 
19 #endif