template class protobuf_ops::NRPProtobufOps

#include <protobuf_ops.h>

template <class ... MSG_TYPES>
class NRPProtobufOps: public protobuf_ops::NRPProtobufOpsIface {
public:
    // methods

    virtual std::unique_ptr<gpb::Message> unpackProtoAny(const gpb::Any& from);

    virtual void setDataPackMessageData(
        const gpb::Message& from,
        EngineGrpc::DataPackMessage* to
    );

    virtual DataPackInterfaceConstSharedPtr getDataPackInterfaceFromMessage(
        const std::string& engineName,
        const EngineGrpc::DataPackMessage& from
    );

    virtual void setDataPackMessageFromInterface(
        const DataPackInterface& from,
        EngineGrpc::DataPackMessage* to
    );

    virtual void setTrajectoryMessageFromInterface(
        const DataPackInterface& from,
        NrpCore::TrajectoryMessage* to
    );
};

Inherited Members

public:
    // methods

    virtual std::unique_ptr<gpb::Message> unpackProtoAny(const gpb::Any& from) = 0;

    virtual void setDataPackMessageData(
        const gpb::Message& from,
        EngineGrpc::DataPackMessage* to
    ) = 0;

    virtual DataPackInterfaceConstSharedPtr getDataPackInterfaceFromMessage(
        const std::string& engineName,
        const EngineGrpc::DataPackMessage& from
    ) = 0;

    virtual void setDataPackMessageFromInterface(
        const DataPackInterface& from,
        EngineGrpc::DataPackMessage* to
    ) = 0;

    virtual void setTrajectoryMessageFromInterface(
        const DataPackInterface& from,
        NrpCore::TrajectoryMessage* to
    ) = 0;