Fichier interface.h

#ifndef __interface_h
#define __interface_h

#include "Exec/canal.h"

enum INPUT_SIGNALS_USER {
__foreach RobotTask in ProcedureRobot write :
  USERSTART_X4_Diags_T1 = COMPUTETIMEOUT + 1,  
  Sensor_FailE,  
  PanicE,
  InitOK_PHYSICALRESSOURCEROBOTNAME,  
  ActivateOK_PHYSICALRESSOURCEROBOTNAME,  
  KillOK_PHYSICALRESSOURCEROBOTNAME,  
  CmdStopOK_PHYSICALRESSOURCEROBOTNAME,  
  __
  USERSTART_ROBOTTASKNAME,  
  ROBOTTASK_Start,  
  X4_Diags_T1TimeoutX4_Ready,  
  X4_Ready,  
  Motor_FailE, 
  NB_SIGNALS
};

extern "C" { int aa();}
extern "C" { int aa_reset ();}
extern "C" { int prr_reset (ProcedureRobot*);}
extern "C" { 
  extern FUNCPTR TABSIG[NB_SIGNALS];

  FUNCPTR aa_I_USERSTART_X4_Diags_T1();
  FUNCPTR aa_I_Sensor_FailE();
  FUNCPTR aa_I_InitOK_X4_GPS_PhR();
  FUNCPTR aa_I_PanicE();
  FUNCPTR aa_I_ActivateOK_X4_GPS_PhR();
  FUNCPTR aa_I_KillOK_X4_GPS_PhR();
  FUNCPTR aa_I_CmdStopOK_X4_GPS_PhR();
  FUNCPTR aa_I_X4_Diags_T1_Start();
  FUNCPTR aa_I_X4_Diags_T1TimeoutX4_Ready();
  FUNCPTR aa_I_X4_Ready();
  FUNCPTR aa_I_Motor_FailE();
  FUNCPTR aa_I_Prr_Start(void*);
  FUNCPTR aa_I_ROBOT_FAIL();
  FUNCPTR aa_I_SOFT_FAIL();
  FUNCPTR aa_I_SENSOR_FAIL();
  FUNCPTR aa_I_CPU_OVERLOAD();
  int aa_O_Abort_X4_Diags_T1(void*);
  int aa_O_TreatSensor_FailE(void*);
  int aa_O_ActivateX4_Diags_T1_X4_GPS_PhR(void*);
  int aa_O_TreatMotor_FailE(void*);
  int aa_O_X4_Diags_T1Transite(void*);
  int aa_O_Activate(void*);
  int aa_O_Transite(void*);
  int aa_O_EndParam(void*);
  int aa_O_EndKill(void*);
  int aa_O_EndObs(void*);
  int aa_O_FinBF(void*);
  int aa_O_FinT3(void*);
  int aa_O_GoodEndRPr();
  int aa_O_T3RPr();
  int f_default();
} // end extern 

extern char TABEVENT[NB_SIGNALS][MAXCHARNAME];

#endif

Fichier interface.C


-- SorayaArias - 06 May 2010
Topic revision: r1 - 06 May 2010, SorayaArias
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding SedWiki? Send feedback