Files
qt-migration-legatus/qt6-after/qt6-migrated-legatus/Lts/Proxies/TrainingAreaBase/stubs/tab_stub.hpp
T
berrux-dev a17b431669 Trim stub header comments and redundant explanations
- Drop the 'Stub file ... BUILD_RTI=OFF / Auto-generated' headers from the
  tab_* and pdm_* stub files (RTI is gone on this branch; the names say it)
- Drop stub comments from MockCoordTrans.h and the coordTransTests placeholders
- Drop the DDS exclusion list comment from Lts/Common/CMakeLists.txt
- Shorten the staging and packages-out comments in new_docker_build.sh
2026-10-14 20:30:09 +02:00

45 lines
1.0 KiB
C++

#ifndef TAB_STUB_HPP
#define TAB_STUB_HPP
#include "tab_enums_stub.hpp"
#include <string>
namespace tab
{
// 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; }
TrainingAreaType getType() const { return m_type; }
void setType(TrainingAreaType type) { m_type = type; }
private:
std::string m_name;
TrainingAreaType m_type = TrainingAreaType::Unknown;
};
// 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:
TrainingStatus m_status = TrainingStatus::Inactive;
};
} // namespace tab
#endif // TAB_STUB_HPP