Go to the documentation of this file.
24 template<
typename GetT>
33 "Ordinate callback should return a single floating-point value");
40 builder.
write(
static_cast<uint64_t
>(
type));
74 template<
typename GetT,
typename GetColor>
85 this->
color_ = get_color_();
96 template<
typename GetT>
107 template<
typename GetT,
typename GetColor>
Definition: MessagePackBuilder.h:86
void write(mc_rtc::MessagePackBuilder &builder) const
Definition: types.h:90
void write(mc_rtc::MessagePackBuilder &builder) const
Definition: Ordinate.h:83
Style style_
Definition: Ordinate.h:69
static constexpr Type type
Definition: Ordinate.h:27
Definition: Ordinate.h:25
void write(mc_rtc::MessagePackBuilder &builder) const
Definition: Ordinate.h:37
Side side_
Definition: Ordinate.h:70
Color color_
Definition: Ordinate.h:67
impl::Ordinate< GetT > Y(std::string_view name, GetT get_fn, Color color, Style style=Style::Solid, Side side=Side::Left)
Definition: Ordinate.h:97
std::vector< double > cache_
Definition: Ordinate.h:68
std::string name_
Definition: Ordinate.h:65
Ordinate & side(Side side)
Definition: Ordinate.h:58
void start_array(size_t size)
Ordinate & style(Style style)
Definition: Ordinate.h:52
Solid
Definition: types.h:146
void update() const
Definition: Ordinate.h:50
GetT get_fn_
Definition: Ordinate.h:66
Ordinate(std::string_view name, GetT get_fn, Color color, Style style, Side side)
Definition: Ordinate.h:29
Type
Definition: types.h:30
OrdinateWithColor(std::string_view name, GetT get_fn, GetColor color, Style style, Side side)
Definition: Ordinate.h:77
Definition: Ordinate.h:75
Left
Definition: types.h:158