Files
qt-migration-legatus/qt6-after/qt6-migrated-legatus/Lts/Proxies/TrainingAreaBase/stubs/tab_stub.hpp
T

48 lines
1.1 KiB
C++

// Stub file for tab types - BUILD_RTI=OFF
// Auto-generated stub to replace RTI IDL-generated types
#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