source: libs/SamgarWRUTed/tags/1.0/libSamgar/inc/SamgarVars.h @ 447

Revision 447, 1.2 KB checked in by lmalek, 10 years ago (diff)

tree structure reorganization

Line 
1#ifndef SAMGARVARS_H
2#define SAMGARVARS_H
3
4namespace Samgar{
5
6  /*! data types
7   *
8   */
9  enum DataType {
10    TypeInt,     /*!< Integer data, */ 
11    TypeString,  /*!< String data, */
12    TypeDouble,  /*!< Double data, */
13    TypeBottle,  /*!< Bottle data */
14  };
15 
16  /*! modules types
17   *
18   */
19  enum ModuleMode {
20    ModeInterupt,    /*!< interupt module, */
21    ModeRun          /*!< run module */
22  };
23 
24  /*! modes types
25   *
26   */
27  enum ModuleState{
28    StateRunning,      /*!< module is running, */
29    StatePaused,       /*!< module is passed, */
30    StateStoped,       /*!< module is stoped, */
31    StateFullstop      /*!< module is in fullstop */
32  };
33
34  enum SamgarSpecialCodes {
35    ModuleInfoCode = 10,
36    ActivationCode = 20,
37    LogReportCode = 30,
38    AvailablePlatformsCode = 40, 
39    ResetAvailablePlatformsCode = 50,
40    ResetModulesListCode = 105
41  };
42
43  enum ModuleStateCodes{
44      ModuleStateFullstopAll = 0,
45      ModuleStateRunningAll = 1,
46      ModuleStateInfoCodeAll = 2,
47      ModuleStateFullstop = 3,
48      ModuleStateRunning = 4,
49      ModuleStateInfoCode = 5,
50  };
51
52} // namespace Samgar
53
54#endif // SAMGARVARS_H
Note: See TracBrowser for help on using the repository browser.