69 lines
1.2 KiB
Plaintext
69 lines
1.2 KiB
Plaintext
// Stub file for ism_enums.hpp - used when BUILD_RTI=OFF
|
|
#ifndef ISM_ENUMS_HPP
|
|
#define ISM_ENUMS_HPP
|
|
|
|
#include <cstdint>
|
|
|
|
namespace InfrastructureManagement {
|
|
|
|
enum class InfrastructureState : std::int32_t {
|
|
Online = 0,
|
|
Offline = 1,
|
|
Maintenance = 2
|
|
};
|
|
|
|
enum class ConnectionType : std::int32_t {
|
|
Wired = 0,
|
|
Wireless = 1,
|
|
Satellite = 2
|
|
};
|
|
|
|
// DDS-style enum wrapper
|
|
struct MountingPointType_def {
|
|
enum type : std::int32_t {
|
|
Undefined = 0,
|
|
Rack = 1,
|
|
Shelf = 2,
|
|
Slot = 3,
|
|
Module = 4,
|
|
Port = 5,
|
|
Cable = 6,
|
|
Connector = 7
|
|
};
|
|
};
|
|
|
|
struct MountingPointState_def {
|
|
enum type : std::int32_t {
|
|
Undefined = 0,
|
|
Planned = 1,
|
|
Installed = 2,
|
|
InService = 3,
|
|
OutOfService = 4,
|
|
Defect = 5
|
|
};
|
|
};
|
|
|
|
// Also provide enum class for direct usage
|
|
enum class MountingPointType : std::int32_t {
|
|
Undefined = 0,
|
|
Rack = 1,
|
|
Shelf = 2,
|
|
Slot = 3,
|
|
Module = 4,
|
|
Port = 5,
|
|
Cable = 6,
|
|
Connector = 7
|
|
};
|
|
|
|
enum class MountingPointState : std::int32_t {
|
|
Undefined = 0,
|
|
Planned = 1,
|
|
Installed = 2,
|
|
InService = 3,
|
|
OutOfService = 4,
|
|
Defect = 5
|
|
};
|
|
|
|
} // namespace InfrastructureManagement
|
|
|
|
#endif // ISM_ENUMS_HPP |