10 #include "SensorBase.h"
11 #include "NetworkCommunication/LoadOut.h"
13 #define kMaxModules (nLoadOut::kModuleType_Solenoid * kMaxModuleNumber + (kMaxModuleNumber - 1))
23 explicit Module(nLoadOut::tModuleType type, uint8_t number);
30 static uint8_t ToIndex(nLoadOut::tModuleType type, uint8_t number);
31 static Module* m_modules[kMaxModules];
uint8_t m_moduleNumber
The module index within the module type.
Definition: Module.h:27
virtual ~Module()
Definition: Module.cpp:30
nLoadOut::tModuleType m_moduleType
The type of module represented.
Definition: Module.h:26
Definition: SensorBase.h:20
Module(nLoadOut::tModuleType type, uint8_t number)
Definition: Module.cpp:20
static Module * GetModule(nLoadOut::tModuleType type, uint8_t number)
Definition: Module.cpp:40