INLINE_CHAINS void serialTranslateCapsule_Actor::chain1_Initial( void ) { // transition ':TOP:Initial:Initial' rtgChainBegin( 1, "Initial" ); rtgTransitionBegin(); rtgTransitionEnd(); enterState( 2 ); }
INLINE_CHAINS void ElevatorDoor_Actor::chain1_Initial( void ) { // transition ':TOP:Initial:Initial' rtgChainBegin( 1, "Initial" ); rtgTransitionBegin(); rtgTransitionEnd(); enterState( 2 ); }
INLINE_CHAINS void roombaProgram_Actor::chain5_Initial( void ) { // transition ':TOP:Initial:Initial' rtgChainBegin( 1, "Initial" ); rtgTransitionBegin(); rtgTransitionEnd(); enterState( 2 ); }
INLINE_CHAINS void ElevatorDoor_Actor::chain7_ignore( void ) { // transition ':TOP:Opening:J56FBEFD60316:ignore' rtgChainBegin( 5, "ignore" ); exitState( rtg_parent_state ); rtgTransitionBegin(); rtgTransitionEnd(); enterState( 5 ); }
INLINE_CHAINS void serialCommunicationCapsule_Actor::chain2_False( void ) { // transition ':TOP:openPort:False' rtgChainBegin( 6, "False" ); rtgTransitionBegin(); transition2_False( msg->data, msg->sap() ); rtgTransitionEnd(); enterState( 3 ); }
INLINE_CHAINS void roombaProgram_Actor::chain2_batteryTooLow( void ) { // transition ':TOP:checkBatteryLevel:batteryTooLow' rtgChainBegin( 6, "batteryTooLow" ); rtgTransitionBegin(); transition2_batteryTooLow( (const int *)msg->data, (programProtocol::Base *)msg->sap() ); rtgTransitionEnd(); enterState( 2 ); }
INLINE_CHAINS void Local_Controller_Actor::chain1_Initial( void ) { // transition ':TOP:Initial:Initial' rtgChainBegin( 1, "Initial" ); rtgTransitionBegin(); transition1_Initial( msg->data, msg->sap() ); rtgTransitionEnd(); enterState( 2 ); }
INLINE_CHAINS void ElevatorDoor_Actor::chain12_ignoreClose( void ) { // transition ':TOP:Closing:J56FC59C80360:ignoreClose' rtgChainBegin( 4, "ignoreClose" ); exitState( rtg_parent_state ); rtgTransitionBegin(); rtgTransitionEnd(); enterState( 4 ); }
INLINE_CHAINS void ElevatorDoor_Actor::chain5_ignore( void ) { // transition ':TOP:Closed:J56FBEDAA03E9:ignore' rtgChainBegin( 2, "ignore" ); exitState( rtg_parent_state ); rtgTransitionBegin(); rtgTransitionEnd(); enterState( 2 ); }
INLINE_CHAINS void ElevatorDoor_Actor::chain10_ignore( void ) { // transition ':TOP:Opened:J56FBF2A10398:ignore' rtgChainBegin( 3, "ignore" ); exitState( rtg_parent_state ); rtgTransitionBegin(); rtgTransitionEnd(); enterState( 3 ); }
INLINE_CHAINS void roombaProgram_Actor::chain9_bumperTriggered( void ) { // transition ':TOP:rotating:J51ADCE6F0025:bumperTriggered' rtgChainBegin( 4, "bumperTriggered" ); exitState( rtg_parent_state ); rtgTransitionBegin(); rtgTransitionEnd(); enterState( 4 ); }
INLINE_CHAINS void serialTranslateCapsule_Actor::chain6_lengthReceived( void ) { // transition ':TOP:S1:J51AC8BCA02BB:lengthReceived' rtgChainBegin( 2, "lengthReceived" ); exitState( rtg_parent_state ); rtgTransitionBegin(); transition6_lengthReceived( (const int *)msg->data, (serialProtocol::Base *)msg->sap() ); rtgTransitionEnd(); enterState( 2 ); }
INLINE_CHAINS void serialTranslateCapsule_Actor::chain3_sendCommand( void ) { // transition ':TOP:S1:J5193551C029A:sendCommand' rtgChainBegin( 2, "sendCommand" ); exitState( rtg_parent_state ); rtgTransitionBegin(); transition3_sendCommand( (const byteArray *)msg->data, (serialProtocol::Base *)msg->sap() ); rtgTransitionEnd(); enterState( 2 ); }
INLINE_CHAINS void serialTranslateCapsule_Actor::chain5_comError( void ) { // transition ':TOP:S1:J519B50B801E5:comError' rtgChainBegin( 2, "comError" ); exitState( rtg_parent_state ); rtgTransitionBegin(); transition5_comError( msg->data, (serialRawProtocol::Conjugate *)msg->sap() ); rtgTransitionEnd(); enterState( 2 ); }
INLINE_CHAINS void serialTranslateCapsule_Actor::chain2_dataReceived( void ) { // transition ':TOP:S1:J519234560116:dataReceived' rtgChainBegin( 2, "dataReceived" ); exitState( rtg_parent_state ); rtgTransitionBegin(); transition2_dataReceived( (const byteArray *)msg->data, (serialRawProtocol::Conjugate *)msg->sap() ); rtgTransitionEnd(); enterState( 2 ); }
INLINE_CHAINS void ElevatorDoor_Actor::chain4_init( void ) { // transition ':TOP:Closed:J56FB2E660011:init' rtgChainBegin( 2, "init" ); exitState( rtg_parent_state ); rtgTransitionBegin(); transition4_init( msg->data, (LEDProtocol::Base *)msg->sap() ); rtgTransitionEnd(); enterState( 2 ); }
INLINE_CHAINS void roombaProgram_Actor::chain8_doneRotating( void ) { // transition ':TOP:rotating:J51ADB8DA02CF:doneRotating' rtgChainBegin( 4, "doneRotating" ); exitState( rtg_parent_state ); rtgTransitionBegin(); transition8_doneRotating( msg->data, (Timing::Base *)msg->sap() ); rtgTransitionEnd(); enterState( 3 ); }
INLINE_CHAINS void roombaProgram_Actor::chain4_bumperTriggered( void ) { // transition ':TOP:roombaStart:J51AB5CF303CA:bumperTriggered' rtgChainBegin( 3, "bumperTriggered" ); exitState( rtg_parent_state ); rtgTransitionBegin(); transition4_bumperTriggered( (const clsRoomba::clsBumpersAndCliff *)msg->data, (programProtocol::Base *)msg->sap() ); rtgTransitionEnd(); enterState( 4 ); }
INLINE_CHAINS void ElevatorDoor_Actor::chain9_impede( void ) { // transition ':TOP:Closing:J56FBF27D0218:impede' rtgChainBegin( 4, "impede" ); exitState( rtg_parent_state ); rtgTransitionBegin(); transition9_impede( msg->data, (EDDSProtocol::Conjugate *)msg->sap() ); rtgTransitionEnd(); enterState( 3 ); }
INLINE_CHAINS void ElevatorDoor_Actor::chain11_openDoor( void ) { // transition ':TOP:Closing:J56FC59A200D0:openDoor' rtgChainBegin( 4, "openDoor" ); exitState( rtg_parent_state ); rtgTransitionBegin(); transition11_openDoor( msg->data, (LEDProtocol::Base *)msg->sap() ); rtgTransitionEnd(); enterState( 3 ); }
INLINE_CHAINS void ElevatorDoor_Actor::chain3_closeDoor( void ) { // transition ':TOP:Opened:J56FB14B5027F:closeDoor' rtgChainBegin( 3, "closeDoor" ); exitState( rtg_parent_state ); rtgTransitionBegin(); transition3_closeDoor( msg->data, (Timing::Base *)msg->sap() ); rtgTransitionEnd(); enterState( 4 ); }
INLINE_CHAINS void Local_Controller_Actor::chain3_Arrive_at_Floor( void ) { // transition ':TOP:Ready:J51587D6D03E5:Arrive_at_Floor' rtgChainBegin( 2, "Arrive_at_Floor" ); exitState( rtg_parent_state ); rtgTransitionBegin(); transition3_Arrive_at_Floor( msg->data, (Elevator_Internals::Base *)msg->sap() ); rtgTransitionEnd(); enterState( 2 ); }
INLINE_CHAINS void ElevatorDoor_Actor::chain8_doorClosed( void ) { // transition ':TOP:Closing:J56FBF20503B0:doorClosed' rtgChainBegin( 4, "doorClosed" ); exitState( rtg_parent_state ); rtgTransitionBegin(); transition8_doorClosed( msg->data, (Timing::Base *)msg->sap() ); rtgTransitionEnd(); enterState( 2 ); }
INLINE_CHAINS void ElevatorDoor_Actor::chain2_openDoor( void ) { // transition ':TOP:Closed:J56FB14B003AE:openDoor' rtgChainBegin( 2, "openDoor" ); exitState( rtg_parent_state ); rtgTransitionBegin(); transition2_openDoor( msg->data, (LEDProtocol::Base *)msg->sap() ); rtgTransitionEnd(); enterState( 5 ); }
INLINE_CHAINS void roombaProgram_Actor::chain11_noOverCurrent( void ) { // transition ':TOP:roombaStart:J51B5A7140151:noOverCurrent' rtgChainBegin( 3, "noOverCurrent" ); exitState( rtg_parent_state ); rtgTransitionBegin(); transition11_noOverCurrent( msg->data, (programProtocol::Base *)msg->sap() ); rtgTransitionEnd(); enterState( 3 ); }
INLINE_CHAINS void ElevatorDoor_Actor::chain6_doorOpened( void ) { // transition ':TOP:Opening:J56FBEF9B0125:doorOpened' rtgChainBegin( 5, "doorOpened" ); exitState( rtg_parent_state ); rtgTransitionBegin(); transition6_doorOpened( msg->data, (Timing::Base *)msg->sap() ); rtgTransitionEnd(); enterState( 3 ); }
INLINE_CHAINS void roombaProgram_Actor::chain6_Stop( void ) { // transition ':TOP:rotating:J51ADAD540256:Stop' rtgChainBegin( 4, "Stop" ); exitState( rtg_parent_state ); rtgTransitionBegin(); transition6_Stop( msg->data, (programProtocol::Base *)msg->sap() ); rtgTransitionEnd(); enterState( 2 ); }
INLINE_CHAINS void Local_Controller_Actor::chain4_New_Current_Floor( void ) { // transition ':TOP:Ready:J51587F200387:New_Current_Floor' rtgChainBegin( 2, "New_Current_Floor" ); exitState( rtg_parent_state ); rtgTransitionBegin(); transition4_New_Current_Floor( (const int *)msg->data, (Elevator_Internals::Base *)msg->sap() ); rtgTransitionEnd(); enterState( 2 ); }
INLINE_CHAINS void roombaProgram_Actor::chain10_Start( void ) { // transition ':TOP:CheckWhereWeAre:J51B5A22101B3:Start' rtgChainBegin( 5, "Start" ); exitState( rtg_parent_state ); rtgTransitionBegin(); transition10_Start( (const int *)msg->data, (programProtocol::Base *)msg->sap() ); rtgTransitionEnd(); enterState( 3 ); }
INLINE_CHAINS void Local_Controller_Actor::chain7_E_BRAKE( void ) { // transition ':TOP:Ready:J5160B140001E:E_BRAKE' rtgChainBegin( 2, "E_BRAKE" ); exitState( rtg_parent_state ); rtgTransitionBegin(); transition7_E_BRAKE( msg->data, (Elevator_Internals::Base *)msg->sap() ); rtgTransitionEnd(); enterState( 2 ); }