Base consumer for primary packages.
More...
#include <abstract_primary_consumer.h>
Base consumer for primary packages.
Primary interface consumers can inherit from this class in order to implement the visitor pattern for consuming primary packages.
Definition at line 46 of file abstract_primary_consumer.h.
urcl::primary_interface::AbstractPrimaryConsumer::AbstractPrimaryConsumer |
( |
| ) |
|
|
default |
virtual urcl::primary_interface::AbstractPrimaryConsumer::~AbstractPrimaryConsumer |
( |
| ) |
|
|
virtualdefault |
virtual bool urcl::primary_interface::AbstractPrimaryConsumer::consume |
( |
std::shared_ptr< PrimaryPackage > |
product | ) |
|
|
inlinefinalvirtual |
This consume method is usally being called by the Pipeline structure. We don't necessarily need to know the specific package type here, as the packages themselves will take care to be consumed with the correct function (visitor pattern).
- Parameters
-
product | package as it is received from the robot |
- Returns
- true on successful consuming
Definition at line 61 of file abstract_primary_consumer.h.
virtual bool urcl::primary_interface::AbstractPrimaryConsumer::consume |
( |
RobotMessage & |
pkg | ) |
|
|
pure virtual |
virtual bool urcl::primary_interface::AbstractPrimaryConsumer::consume |
( |
RobotState & |
pkg | ) |
|
|
pure virtual |
virtual bool urcl::primary_interface::AbstractPrimaryConsumer::consume |
( |
VersionMessage & |
pkg | ) |
|
|
pure virtual |
virtual bool urcl::primary_interface::AbstractPrimaryConsumer::consume |
( |
KinematicsInfo & |
pkg | ) |
|
|
pure virtual |
The documentation for this class was generated from the following file:
ur_client_library
Author(s): Thomas Timm Andersen, Simon Rasmussen, Felix Exner, Lea Steffen, Tristan Schnell
autogenerated on Sun May 9 2021 02:16:26