67 lines
2.7 KiB
C++
67 lines
2.7 KiB
C++
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// GENERATED CODE - do not edit (Generated by ddkit/genModelMsg)
|
|
//
|
|
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
|
|
// ObjectManager.hpp (rmodel-msg)
|
|
|
|
|
|
#pragma once
|
|
|
|
#include <tmsif/type/ObjectManager.hpp>
|
|
#include <tmsif/tmsif_export.hpp>
|
|
#include <string>
|
|
#include <vector>
|
|
#include <map>
|
|
|
|
|
|
namespace M_ObjectManager {
|
|
|
|
|
|
//
|
|
// Service
|
|
//
|
|
|
|
/// ObjectManager Service interface.
|
|
/// Contains operations that a Client can use for CRUD operations to the ObjectManager Service.
|
|
///
|
|
/// Note: These functions should normally only be used for manual operations. Data from sensors
|
|
/// should NOT be created or removed with the Service interface.
|
|
class TMSIF_EXPORT IService {
|
|
|
|
public:
|
|
virtual ~IService();
|
|
virtual void RequestPosition(M_Common::ObjectIdType const& PosId, M_Common::PositionType const& SourcePosition, std::string const& TargetCoordinateFrame);
|
|
virtual void CmdAddUpdatePoint(M_Common::ObjectIdType const& KeyId, M_ObjectManager::PointObjectType const& Obj);
|
|
virtual void CmdModifyPoint(M_Common::ObjectIdType const& KeyId, M_ObjectManager::ModifyPointType const& Obj);
|
|
virtual void CmdAddUpdateMultiPoint(M_Common::ObjectIdType const& KeyId, M_ObjectManager::MultiPointObjectType const& Obj);
|
|
virtual void CmdModifyMultiPoint(M_Common::ObjectIdType const& KeyId, M_ObjectManager::ModifyMultiPointType const& Obj);
|
|
virtual void CmdRemove(M_Common::ObjectIdType const& KeyId);
|
|
};
|
|
|
|
|
|
//
|
|
// Client
|
|
//
|
|
|
|
/// ObjectManager Client interface.
|
|
/// Contains operations from the ObjectManager Service to the Client(s).
|
|
class TMSIF_EXPORT IClient {
|
|
|
|
public:
|
|
virtual ~IClient();
|
|
virtual void ReportObjectManagerSettings(M_ObjectManager::ObjectManagerSettingsType const& Settings);
|
|
virtual void ResponsePosition(M_Common::ObjectIdType const& PosId, M_Common::PositionType const& TargetPosition);
|
|
virtual void ReportOwnInfo(std::string const& KeyPlatformId, M_ObjectManager::OwnInfoType const& Obj, bool IsRemoved);
|
|
virtual void ReportPoint(M_Common::ObjectIdType const& KeyId, M_ObjectManager::PointObjectType const& Obj, bool IsRemoved);
|
|
virtual void ReportMultiPoint(M_Common::ObjectIdType const& KeyId, M_ObjectManager::MultiPointObjectType const& Obj, bool IsRemoved);
|
|
virtual void ReportCoordinateTransformations(M_Common::CoordinateTransformationListType const& CoordinateTransformationList, bool IsRemoved);
|
|
virtual void EventObjectChanged(M_Common::ObjectIdType const& KeyId, M_ObjectManager::ParameterDifferenceType const& Difference);
|
|
};
|
|
|
|
|
|
} // namespace M_ObjectManager
|
|
|
|
|