Go to the documentation of this file.
37 namespace primary_interface
60 for (
size_t i = 0; i <
checksum_.size(); ++i)
64 os <<
"]" << std::endl;
66 for (
size_t i = 0; i <
dh_theta_.size(); ++i)
68 os << std::setprecision(15) <<
dh_theta_[i] <<
" ";
70 os <<
"]" << std::endl;
73 for (
size_t i = 0; i <
dh_a_.size(); ++i)
75 os << std::setprecision(15) <<
dh_a_[i] <<
" ";
77 os <<
"]" << std::endl;
80 for (
size_t i = 0; i <
dh_d_.size(); ++i)
82 os << std::setprecision(15) <<
dh_d_[i] <<
" ";
84 os <<
"]" << std::endl;
87 for (
size_t i = 0; i <
dh_alpha_.size(); ++i)
89 os << std::setprecision(15) <<
dh_alpha_[i] <<
" ";
91 os <<
"]" << std::endl;
100 std::stringstream ss;
101 for (
size_t i = 0; i < 6; ++i)
108 std::hash<std::string> hash_fn;
109 return "calib_" + std::to_string(hash_fn(ss.str()));
virtual bool consume(std::shared_ptr< PrimaryPackage > product) final
This consume method is usually being called by the Pipeline structure. We don't necessarily need to k...
std::string toHash() const
Calculates a hash value of the parameters to allow for identification of a calibration.
virtual bool consumeWith(AbstractPrimaryConsumer &consumer)
Consume this specific package with a specific consumer.
uint32_t calibration_status_
virtual bool parseWith(comm::BinParser &bp)
Sets the attributes of the package by parsing a serialized representation of the package.
virtual std::string toString() const
Produces a human readable representation of the package object.
void parse(T &val)
Parses the next bytes as given type.
The BinParser class handles a byte buffer and functionality to iteratively parse the content.
vector6uint32_t checksum_
Base consumer for primary packages.
ur_client_library
Author(s): Thomas Timm Andersen, Simon Rasmussen, Felix Exner, Lea Steffen, Tristan Schnell
autogenerated on Mon May 26 2025 02:35:58