Integrates unittests for lts/services/s almost successfull into final validation phase
This commit is contained in:
18 files changed
+490
No files matched your search
@@ -0,0 +1,49 @@
|
||||
// Stub file for ppm_enums.hpp - used when BUILD_RTI=OFF
|
||||
#ifndef PPM_ENUMS_HPP
|
||||
#define PPM_ENUMS_HPP
|
||||
|
||||
#include <cstdint>
|
||||
#include <ostream>
|
||||
|
||||
namespace ParticipantManagement {
|
||||
|
||||
enum class ParticipantState : std::int32_t {
|
||||
Active = 0,
|
||||
Inactive = 1,
|
||||
Suspended = 2
|
||||
};
|
||||
|
||||
enum class ParticipantRole : std::int32_t {
|
||||
Observer = 0,
|
||||
Player = 1,
|
||||
Controller = 2,
|
||||
Admin = 3
|
||||
};
|
||||
|
||||
enum class DataModification : std::int32_t {
|
||||
eAdded = 0,
|
||||
eModified = 1,
|
||||
eRemoved = 2
|
||||
};
|
||||
|
||||
enum class TypeClass : std::int32_t {
|
||||
eUninitialized = 0,
|
||||
ePlatform = 1,
|
||||
ePerson = 2,
|
||||
eEvent = 3
|
||||
};
|
||||
|
||||
inline std::ostream& operator<<(std::ostream& os, TypeClass tc) {
|
||||
switch (tc) {
|
||||
case TypeClass::eUninitialized: os << "eUninitialized"; break;
|
||||
case TypeClass::ePlatform: os << "ePlatform"; break;
|
||||
case TypeClass::ePerson: os << "ePerson"; break;
|
||||
case TypeClass::eEvent: os << "eEvent"; break;
|
||||
default: os << "Unknown"; break;
|
||||
}
|
||||
return os;
|
||||
}
|
||||
|
||||
} // namespace ParticipantManagement
|
||||
|
||||
#endif // PPM_ENUMS_HPP
|
||||
Reference in new issue
Block a user