NRP Core  1.4.1
gazebo::JointGrpcDataPackController Class Reference

Interface for a single joint. More...

#include <joint_datapack_controller.h>

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

Public Member Functions

 JointGrpcDataPackController (const std::string &jointName, const physics::JointPtr &joint, const physics::JointControllerPtr &jointController)
 
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 a single joint.

Constructor & Destructor Documentation

◆ JointGrpcDataPackController()

gazebo::JointGrpcDataPackController::JointGrpcDataPackController ( const std::string &  jointName,
const physics::JointPtr &  joint,
const physics::JointControllerPtr &  jointController 
)
inline

Member Function Documentation

◆ getDataPackInformation()

virtual google::protobuf::Message* gazebo::JointGrpcDataPackController::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::JointGrpcDataPackController::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: