Formats minimally release source files based on former clang-format
This commit is contained in:
387 files changed
+37323
-38074
No files matched your search
@@ -7,38 +7,41 @@
|
||||
#include "tab_enums_stub.hpp"
|
||||
#include <string>
|
||||
|
||||
namespace tab {
|
||||
namespace tab
|
||||
{
|
||||
|
||||
// Stub class to replace RTI IDL-generated TrainingArea type
|
||||
class TrainingArea {
|
||||
public:
|
||||
// Stub class to replace RTI IDL-generated TrainingArea type
|
||||
class TrainingArea
|
||||
{
|
||||
public:
|
||||
TrainingArea() = default;
|
||||
virtual ~TrainingArea() = default;
|
||||
|
||||
|
||||
std::string getName() const { return m_name; }
|
||||
void setName(const std::string& name) { m_name = name; }
|
||||
|
||||
void setName(const std::string &name) { m_name = name; }
|
||||
|
||||
TrainingAreaType getType() const { return m_type; }
|
||||
void setType(TrainingAreaType type) { m_type = type; }
|
||||
|
||||
private:
|
||||
|
||||
private:
|
||||
std::string m_name;
|
||||
TrainingAreaType m_type = TrainingAreaType::Unknown;
|
||||
};
|
||||
};
|
||||
|
||||
// Stub class to replace RTI IDL-generated TrainingSession type
|
||||
class TrainingSession {
|
||||
public:
|
||||
// Stub class to replace RTI IDL-generated TrainingSession type
|
||||
class TrainingSession
|
||||
{
|
||||
public:
|
||||
TrainingSession() = default;
|
||||
virtual ~TrainingSession() = default;
|
||||
|
||||
|
||||
TrainingStatus getStatus() const { return m_status; }
|
||||
void setStatus(TrainingStatus status) { m_status = status; }
|
||||
|
||||
private:
|
||||
|
||||
private:
|
||||
TrainingStatus m_status = TrainingStatus::Inactive;
|
||||
};
|
||||
};
|
||||
|
||||
} // namespace tab
|
||||
|
||||
#endif // TAB_STUB_HPP
|
||||
#endif // TAB_STUB_HPP
|
||||
Reference in new issue
Block a user