NRP Core  1.4.1
gazebo::ModelGrpcDataPackController Class Reference

Interface for Models. More...

#include <model_datapack_controller.h>

Inheritance diagram for gazebo::ModelGrpcDataPackController:
DataPackController< google::protobuf::Message >

Public Member Functions

 ModelGrpcDataPackController (const std::string &modelName, const physics::ModelPtr &model)
 
virtual void handleDataPackData (const google::protobuf::Message &data) override
 Handle received datapack data. More...
 
virtual google::protobuf::Message * getDataPackInformation () override
 Get datapack information to be forwarded to the NRP. More...
 
- Public Member Functions inherited from DataPackController< google::protobuf::Message >
 DataPackController ()=default
 Constructor. More...
 
virtual ~DataPackController ()=default
 

Detailed Description

Interface for Models.

Constructor & Destructor Documentation

◆ ModelGrpcDataPackController()

gazebo::ModelGrpcDataPackController::ModelGrpcDataPackController ( const std::string &  modelName,
const physics::ModelPtr &  model 
)
inline

Member Function Documentation

◆ getDataPackInformation()

virtual google::protobuf::Message* gazebo::ModelGrpcDataPackController::getDataPackInformation ( )
inlineoverridevirtual

Get datapack information to be forwarded to the NRP.

Returns
Returns a DATA_TYPE pointer containing requested data

Implements DataPackController< google::protobuf::Message >.

◆ handleDataPackData()

virtual void gazebo::ModelGrpcDataPackController::handleDataPackData ( const google::protobuf::Message &  data)
inlineoverridevirtual

Handle received datapack data.

Parameters
dataData to be processed

Implements DataPackController< google::protobuf::Message >.


The documentation for this class was generated from the following file: