コード例 #1
0
INLINE_CHAINS void serialTranslateCapsule_Actor::chain1_Initial( void )
{
	// transition ':TOP:Initial:Initial'
	rtgChainBegin( 1, "Initial" );
	rtgTransitionBegin();
	rtgTransitionEnd();
	enterState( 2 );
}
コード例 #2
0
INLINE_CHAINS void ElevatorDoor_Actor::chain1_Initial( void )
{
	// transition ':TOP:Initial:Initial'
	rtgChainBegin( 1, "Initial" );
	rtgTransitionBegin();
	rtgTransitionEnd();
	enterState( 2 );
}
コード例 #3
0
ファイル: roombaProgram.cpp プロジェクト: K-4U/ese_project4y5
INLINE_CHAINS void roombaProgram_Actor::chain5_Initial( void )
{
	// transition ':TOP:Initial:Initial'
	rtgChainBegin( 1, "Initial" );
	rtgTransitionBegin();
	rtgTransitionEnd();
	enterState( 2 );
}
コード例 #4
0
INLINE_CHAINS void ElevatorDoor_Actor::chain7_ignore( void )
{
	// transition ':TOP:Opening:J56FBEFD60316:ignore'
	rtgChainBegin( 5, "ignore" );
	exitState( rtg_parent_state );
	rtgTransitionBegin();
	rtgTransitionEnd();
	enterState( 5 );
}
コード例 #5
0
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 );
}
コード例 #6
0
ファイル: roombaProgram.cpp プロジェクト: K-4U/ese_project4y5
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 );
}
コード例 #7
0
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 );
}
コード例 #8
0
INLINE_CHAINS void ElevatorDoor_Actor::chain12_ignoreClose( void )
{
	// transition ':TOP:Closing:J56FC59C80360:ignoreClose'
	rtgChainBegin( 4, "ignoreClose" );
	exitState( rtg_parent_state );
	rtgTransitionBegin();
	rtgTransitionEnd();
	enterState( 4 );
}
コード例 #9
0
INLINE_CHAINS void ElevatorDoor_Actor::chain5_ignore( void )
{
	// transition ':TOP:Closed:J56FBEDAA03E9:ignore'
	rtgChainBegin( 2, "ignore" );
	exitState( rtg_parent_state );
	rtgTransitionBegin();
	rtgTransitionEnd();
	enterState( 2 );
}
コード例 #10
0
INLINE_CHAINS void ElevatorDoor_Actor::chain10_ignore( void )
{
	// transition ':TOP:Opened:J56FBF2A10398:ignore'
	rtgChainBegin( 3, "ignore" );
	exitState( rtg_parent_state );
	rtgTransitionBegin();
	rtgTransitionEnd();
	enterState( 3 );
}
コード例 #11
0
ファイル: roombaProgram.cpp プロジェクト: K-4U/ese_project4y5
INLINE_CHAINS void roombaProgram_Actor::chain9_bumperTriggered( void )
{
	// transition ':TOP:rotating:J51ADCE6F0025:bumperTriggered'
	rtgChainBegin( 4, "bumperTriggered" );
	exitState( rtg_parent_state );
	rtgTransitionBegin();
	rtgTransitionEnd();
	enterState( 4 );
}
コード例 #12
0
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 );
}
コード例 #13
0
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 );
}
コード例 #14
0
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 );
}
コード例 #15
0
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 );
}
コード例 #16
0
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 );
}
コード例 #17
0
ファイル: roombaProgram.cpp プロジェクト: K-4U/ese_project4y5
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 );
}
コード例 #18
0
ファイル: roombaProgram.cpp プロジェクト: K-4U/ese_project4y5
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 );
}
コード例 #19
0
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 );
}
コード例 #20
0
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 );
}
コード例 #21
0
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 );
}
コード例 #22
0
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 );
}
コード例 #23
0
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 );
}
コード例 #24
0
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 );
}
コード例 #25
0
ファイル: roombaProgram.cpp プロジェクト: K-4U/ese_project4y5
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 );
}
コード例 #26
0
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 );
}
コード例 #27
0
ファイル: roombaProgram.cpp プロジェクト: K-4U/ese_project4y5
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 );
}
コード例 #28
0
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 );
}
コード例 #29
0
ファイル: roombaProgram.cpp プロジェクト: K-4U/ese_project4y5
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 );
}
コード例 #30
0
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 );
}