intercode.h 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. #include "../calypso_util.h"
  2. #ifndef INTERCODE_STRUCTURES_H
  3. #define INTERCODE_STRUCTURES_H
  4. CalypsoApp* get_intercode_structure_env_holder();
  5. CalypsoApp* get_intercode_structure_contract();
  6. CalypsoApp* get_intercode_structure_event();
  7. CalypsoApp* get_intercode_structure_counter();
  8. const char* get_intercode_string_transition_type(int transition);
  9. typedef enum {
  10. URBAN_BUS = 1,
  11. INTERURBAN_BUS = 2,
  12. METRO = 3,
  13. TRAM = 4,
  14. COMMUTER_TRAIN = 5,
  15. WATERBORNE_VEHICLE = 6,
  16. TOLL = 7,
  17. PARKING = 8,
  18. TAXI = 9,
  19. HIGH_SPEED_TRAIN = 10,
  20. RURAL_BUS = 11,
  21. EXPRESS_COMMUTER_TRAIN = 12,
  22. PARA_TRANSIT = 13,
  23. SELF_DRIVE_VEHICLE = 14,
  24. COACH = 15,
  25. LOCOMOTIVE = 16,
  26. POWERED_MOTOR_VEHICLE = 17,
  27. TRAILER = 18,
  28. REGIONAL_TRAIN = 19,
  29. INTER_CITY = 20,
  30. FUNICULAR = 21,
  31. CABLE_CAR = 22,
  32. SELF_SERVICE_BICYCLE = 23,
  33. CAR_SHARING = 24,
  34. CAR_POOLING = 25,
  35. } INTERCODE_TRANSPORT_TYPE;
  36. typedef enum {
  37. ENTRY = 1,
  38. EXIT = 2,
  39. PASSAGE = 3,
  40. CHECKPOINT_INSPECTION = 4,
  41. AUTONOMOUS = 5,
  42. INTERCHANGE = 6,
  43. VALIDATION = 7,
  44. PRESENCE_DETECTED = 8,
  45. } INTERCODE_USER_ACTION;
  46. #endif // INTERCODE_STRUCTURES_H