58 lines
1.6 KiB
C++
58 lines
1.6 KiB
C++
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// GENERATED CODE - do not edit (Generated by ddkit/genModelMsg)
|
|
//
|
|
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
|
|
// SafetyUnit.hpp (rmodel-msg)
|
|
|
|
|
|
#pragma once
|
|
|
|
#include <tmsif/type/SafetyUnit.hpp>
|
|
#include <tmsif/tmsif_export.hpp>
|
|
#include <string>
|
|
#include <vector>
|
|
#include <map>
|
|
|
|
|
|
namespace M_SafetyUnit {
|
|
|
|
|
|
//
|
|
// Service
|
|
//
|
|
|
|
/// Service interface.
|
|
/// Contains operations that a client can command the Safety Unit service to perform.
|
|
class TMSIF_EXPORT IService {
|
|
|
|
public:
|
|
virtual ~IService();
|
|
virtual void CmdIsSafetyUnitAlive();
|
|
virtual void CmdAddUserDefinedSafetyZone(M_Common::AngleDegreesType StartPositionAzimuth, M_Common::AngleDegreesType StartPositionElevation, M_Common::AngleDegreesType EndPositionAzimuth, M_Common::AngleDegreesType EndPositionElevation);
|
|
virtual void CmdRemoveUserDefinedSafetyZone(uint32_t ZoneId);
|
|
virtual void CmdActivateZone(uint32_t ZoneId, bool Activate);
|
|
};
|
|
|
|
|
|
//
|
|
// Client
|
|
//
|
|
|
|
/// Client interface.
|
|
/// Contains operations reported by a Safety Unit service.
|
|
class TMSIF_EXPORT IClient {
|
|
|
|
public:
|
|
virtual ~IClient();
|
|
virtual void ReportSafetyUnitSettings(M_SafetyUnit::SafetyUnitSettingsType const& Settings);
|
|
virtual void ReportSafetyUnitStatus(M_SafetyUnit::SafetyUnitStatusType const& Status, bool IsRemoved);
|
|
virtual void ReportSafetyZone(uint32_t KeyZoneId, M_SafetyUnit::SafetyZoneType const& Zone, bool IsRemoved);
|
|
};
|
|
|
|
|
|
} // namespace M_SafetyUnit
|
|
|
|
|