LRT14  1.0
 All Classes Namespaces Functions Variables Enumerations Enumerator
LauncherLoaderData.h
1 #ifndef LAUNCHER_LOADER_DATA_H_
2 #define LAUNCHER_LOADER_DATA_H_
3 
4 #include "ComponentData.h"
5 
10 {
11 public:
13  static LauncherLoaderData* Get();
14 
15  void SetFire(bool shouldFire);
16  bool GetFire();
17  void SetPurge(bool purge);
18  bool GetPurge();
19  void SetLoad(bool load);
20  bool GetLoad();
21 
22  bool IsLoadingComplete();
23  int GetSensorValue();
24  bool IsBallDetected();
25 
26  void ResetCommands();
27  void Log();
28 
29 private:
30  void SetLoadingComplete(bool complete);
31  void SetSensorValue(int value);
32  void SetBallDetected(bool detected);
33 
34  bool m_fire;
35  bool m_purge;
36  bool m_load;
37  bool m_complete;
38  int m_value;
39  bool m_ballDetected;
40 
41  friend class LauncherLoader;
42 };
43 
44 #endif