//## class Dosierer Dosierer::Dosierer(IOxfActive* theActiveContext) : DosierMenge(1) { NOTIFY_REACTIVE_CONSTRUCTOR(Dosierer, Dosierer(), 0, System_Dosierer_Dosierer_SERIALIZE); setActiveContext(theActiveContext, false); itsStation = NULL; itsVorrat = NULL; initStatechart(); }
//## class Karussell Karussell::Karussell(IOxfActive* theActiveContext) : jemalsgedreht(false) { NOTIFY_REACTIVE_CONSTRUCTOR(Karussell, Karussell(), 0, System_Karussell_Karussell_SERIALIZE); setActiveContext(theActiveContext, false); { for (int pos = 0; pos < 6; ++pos) { itsLed[pos] = NULL; } } { for (int pos = 0; pos < 6; ++pos) { itsStation[pos] = NULL; } } { for (int pos = 0; pos < 6; ++pos) { itsWaage[pos] = NULL; } } initStatechart(); }
void Admin_Init(Admin* const me, RiCTask * p_task) { /* Virtual tables Initialization */ static const RiCReactive_Vtbl Admin_reactiveVtbl = { rootState_dispatchEvent, rootState_entDef, ROOT_STATE_SERIALIZE_STATES(rootState_serializeStates), (RiCObjectDestroyMethod) Admin_Destroy, NULL, NULL, NULL, (RiCObjectCleanupMethod) Admin_Cleanup, (RiCObjectFreeMethod) FreeInstance }; RiCReactive_init(&(me->ric_reactive), (void*)me, p_task, &Admin_reactiveVtbl); NOTIFY_REACTIVE_CONSTRUCTOR(me, &me, NULL, Admin, Admin_Init, Admin_Init(), 0, ActorPkg_Admin_Admin_SERIALIZE); RiCReactive_setActive(&(me->ric_reactive), RiCFALSE); initRelations(me); initStatechart(me); Admin_initWebAdapters(me); NOTIFY_END_CONSTRUCTOR(me); }
//## class Sensor Sensor::Sensor(IOxfActive* theActiveContext) : limit(0) { NOTIFY_REACTIVE_CONSTRUCTOR(Sensor, Sensor(), 0, Default_Sensor_Sensor_SERIALIZE); setActiveContext(theActiveContext, false); door = NULL; initStatechart(); }
//## class TopLevel::Switch Switch_C::Switch_C(IOxfActive* theActiveContext) { NOTIFY_REACTIVE_CONSTRUCTOR_OBJECT(Switch, Switch(), 0, Default_Switch_Switch_SERIALIZE, Switch_C); setActiveContext(theActiveContext, false); itsLight = NULL; initStatechart(); }
//## class Controller Controller::Controller(IOxfActive* theActiveContext) : EW_GREEN(0), EW_GREENTIME(0), EW_MSG(" "), EW_ORANGE(0), EW_ORANGETIME(0), EW_RED(0), EW_REDTIME(0), LEFT_GREEN(1), NS_GREEN(0), NS_GREENTIME(0), NS_MSG(" "), NS_ORANGE(0), NS_ORANGETIME(0), NS_RED(0), NS_REDTIME(0), x(false), y(false), z(false) { NOTIFY_REACTIVE_CONSTRUCTOR(Controller, Controller(), 0, Default_Controller_Controller_SERIALIZE); setActiveContext(theActiveContext, false); initStatechart(); }
//## class Hold Hold::Hold(IOxfActive* theActiveContext) { NOTIFY_REACTIVE_CONSTRUCTOR(Hold, Hold(), 0, Default_Hold_Hold_SERIALIZE); setActiveContext(theActiveContext, false); itsController = NULL; initStatechart(); }