Helper class to handle DataPacks on the Engine Server side. More...
#include <datapack_controller.h>
Public Member Functions | |
DataPackController ()=default | |
Constructor. More... | |
virtual | ~DataPackController ()=default |
virtual DATA_TYPE * | getDataPackInformation ()=0 |
Get datapack information to be forwarded to the NRP. More... | |
virtual void | handleDataPackData (const DATA_TYPE &data)=0 |
Handle received datapack data. More... | |
Helper class to handle DataPacks on the Engine Server side.
As a general policy DataDataPackController is not supposed to take ownership of DATA_TYPE objects which receives or returns. This must be consider for each DataDataPackController specialization.
DATA_TYPE | Object type that this controller handles |
|
default |
Constructor.
|
virtualdefault |
|
pure virtual |
Get datapack information to be forwarded to the NRP.
Implemented in gazebo::ModelGrpcDataPackController, gazebo::JointDataPackController, gazebo::JointGrpcDataPackController, gazebo::CameraGrpcDataPackController, gazebo::LinkDataPackController, gazebo::LinkGrpcDataPackController, gazebo::CameraDataPackController, NestEngineJSONDataPackController, and NestKernelDataPackController.
|
pure virtual |
Handle received datapack data.
data | Data to be processed |
Implemented in gazebo::JointDataPackController, gazebo::LinkDataPackController, gazebo::CameraDataPackController, NestEngineJSONDataPackController, NestKernelDataPackController, gazebo::CameraGrpcDataPackController, gazebo::ModelGrpcDataPackController, gazebo::LinkGrpcDataPackController, and gazebo::JointGrpcDataPackController.