RiCBoolean Uc1ArmingLoggerExecutionScopePkg_startBehavior( void ) {
    RiCBoolean done = RiCTRUE;
    done &= Admin_startBehavior(&(itsAdmin));
    done &= Driver_startBehavior(&(itsDriver));
    done &= startBehavior(&(itsScanner));
    done &= Sensors_startBehavior(&(itsSensors));
    done &= Uc_Uc1ArmingLogger_startBehavior(&(itsUc_Uc1ArmingLogger));
    return done;
}
Exemplo n.º 2
0
	/**
	 * Initilizes the local game controller, the paint system, the model and the used game view.
	 */
	LocalTTTController() : _state( InitialState ) , _view( NULL )
	{
		// Initialize the game.
		_painter.begin( &IAir3TFactory::factory().monochromeDisplay() );

		// Initialize the game view.
		_view = new Air3T::GameView( _painter , _model );
		_view->setObserver( this );
		_model.registerView( _view );

		// Initialize the joystick with myself as observer.
		IAir3TFactory::factory().joystick().setObserver( _view );

		// Start FSM.
		startBehavior();
	}