5#include "../capnp_wrapper.h"
23 std::vector<PointDataWrapper> points_;
82 const std::vector<PointDataWrapper> &
points()
const {
return points_; }
88 std::vector<PointDataWrapper> &
pointsMut() {
return points_; }
Base template class for Cap'n Proto wrappers.
Definition capnp_wrapper.h:23
Wrapper for VoyantFrame messages.
Definition voyant_frame_wrapper.hpp:19
const std::vector< PointDataWrapper > & points() const
Get the vector of points.
Definition voyant_frame_wrapper.hpp:82
const VoyantHeaderWrapper & header() const
Get the common header.
Definition voyant_frame_wrapper.hpp:54
void fromProto(VoyantFrame::Reader reader) override
Update wrapper fields from a reader.
std::vector< PointDataWrapper > & pointsMut()
Get mutable access to the vector of points.
Definition voyant_frame_wrapper.hpp:88
const VoyantSdlConfigWrapper & config() const
Get the configuration.
Definition voyant_frame_wrapper.hpp:68
void toProto(VoyantFrame::Builder &builder) const override
Write wrapper fields to a builder.
void debugString(std::ostream &os) const override
Generate a debug string representation.
~VoyantFrameWrapper() override
Destructor.
VoyantSdlConfigWrapper & configMut()
Get mutable access to the configuration.
Definition voyant_frame_wrapper.hpp:76
VoyantHeaderWrapper & headerMut()
Get mutable access to the common header.
Definition voyant_frame_wrapper.hpp:60
Definition voyant_frame.capnp.h:85
Definition voyant_frame.capnp.h:47
Wrapper for VoyantSdlConfig messages.
Definition voyant_sdl_config_wrapper.hpp:17