class gazebo::JointGrpcDataPackController¶
Overview¶
Interface for a single joint. More…
#include <joint_datapack_controller.h> class JointGrpcDataPackController: public DataPackController { public: // construction JointGrpcDataPackController( const std::string& jointName, const physics::JointPtr& joint, const physics::JointControllerPtr& jointController ); // 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 a single joint.
Methods¶
virtual void handleDataPackData(const google::protobuf::Message& data)
Handle received datapack data.
Parameters:
data |
Data to be processed |
virtual google::protobuf::Message* getDataPackInformation()
Get datapack information to be forwarded to the NRP.
Returns:
Returns a DATA_TYPE pointer containing requested data