#include #include #ifdef DEBUG #define DEBUG_MSG(str) do { std::cout << str << std::endl; } while( false ) #else #define DEBUG_MSG(str) do { } while ( false ) #endif class DeviceCmdAttr { public: std::string FeatureDescriptor = ""; unsigned int StepCount = 0; std::string ActuatorType = ""; std::string SensorType = ""; std::vector SensorRange; // every two steps //std::vector Endpoints; }; class DeviceCmd { public: std::string CmdType = ""; std::string StopDeviceCmd = ""; std::vector DeviceCmdAttributes; }; class Device { public: std::string DeviceName; unsigned int DeviceIndex; unsigned int DeviceMessageTimingGap = 0; std::string DeviceDisplayName = ""; std::vector DeviceMessages; }; class Scalar { public: unsigned int Index; double ScalarVal; std::string ActuatorType; };