59 lines
1.6 KiB
C++
59 lines
1.6 KiB
C++
/**
|
|
* @file pre_ftc.h
|
|
* @brief Stub-Header für PresentationManagement FTC (Filter Topic Client)
|
|
*
|
|
* Dieser Header ist ein Stub für den von RTI DDS Generator erzeugten Header.
|
|
* Ermöglicht Build ohne echte DDS-Codegenerierung wenn BUILD_RTI=OFF.
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <functional>
|
|
#include <memory>
|
|
|
|
namespace PresentationManagement
|
|
{
|
|
|
|
// Forward declarations
|
|
struct Presentation;
|
|
struct PresentationContent;
|
|
struct GetPresentationContentReply;
|
|
|
|
namespace Interface
|
|
{
|
|
|
|
/**
|
|
* @brief Ftc - Filter Topic Client für Presentation Management
|
|
*
|
|
* Stub-Implementation für DDS-generierten FTC.
|
|
* Gibt nullptr zurück da keine echte DDS-Verbindung verfügbar.
|
|
*/
|
|
class Ftc
|
|
{
|
|
public:
|
|
using ModifyTypeReplyHandler = std::function<void(bool success)>;
|
|
|
|
virtual ~Ftc() = default;
|
|
|
|
/**
|
|
* @brief Factory-Methode zur Erstellung einer Ftc-Instanz
|
|
* @param connector DDS-Connector (wird im Stub ignoriert)
|
|
* @return Shared Pointer zur Ftc-Instanz (nullptr im Stub)
|
|
*/
|
|
static std::shared_ptr<Ftc> create(void* /*connector*/)
|
|
{
|
|
return nullptr; // Stub returns nullptr - actual implementation requires DDS
|
|
}
|
|
|
|
// PresentationModify Reply Handler
|
|
virtual void presentationModifyReply(ModifyTypeReplyHandler /*handler*/) = 0;
|
|
|
|
// PresentationRemove Reply Handler
|
|
virtual void presentationRemoveReply(ModifyTypeReplyHandler /*handler*/) = 0;
|
|
|
|
// GetPresentationContent Reply Handler
|
|
virtual void getPresentationContentReply(const GetPresentationContentReply& /*reply*/) = 0;
|
|
};
|
|
|
|
} // namespace Interface
|
|
} // namespace PresentationManagement
|