class gazebo::LinkGrpcDataPackController

Overview

Interface for links. More…

#include <link_datapack_controller.h>

class LinkGrpcDataPackController: public DataPackController {
public:
    // construction

    LinkGrpcDataPackController(
        const std::string& linkName,
        const physics::LinkPtr& link
    );

    // methods

    virtual void handleDataPackData(const google::protobuf::Message& data);
    virtual google::protobuf::Message* getDataPackInformation();
};

Inherited Members

public:
    // methods

    virtual DATA_TYPE* getDataPackInformation() = 0;
    virtual void handleDataPackData(const DATA_TYPE& data) = 0;

Detailed Documentation

Interface for links.

Methods

Handle received datapack data.

Parameters:

data

Data to be processed

Get datapack information to be forwarded to the NRP.

Returns:

Returns a DATA_TYPE pointer containing requested data