Go to the documentation of this file.
29 template<
typename GetT,
typename SetT = std::
nullptr_t>
38 "TransformImpl getter should return an sva::PTransformd");
47 builder.
write(std::is_same_v<SetT, std::nullptr_t>);
57 template<
typename GetT, std::enable_if_t<std::is_invocable_v<GetT>,
int> = 0>
58 auto Transform(
const std::string & name, GetT get_fn)
64 template<
typename GetT,
typename SetT>
65 auto Transform(
const std::string & name, GetT get_fn, SetT set_fn)
78 template<
typename T, std::enable_if_t<!std::is_invocable_v<T>,
int> = 0>
static constexpr size_t write_size()
Definition: elements.h:106
Definition: MessagePackBuilder.h:86
auto Transform(const std::string &name, GetT get_fn)
Definition: Transform.h:58
auto read(const T &&value)
Definition: traits.h:188
auto write(T &value)
Definition: traits.h:224
auto TransformRO(const std::string &name, T &&value)
Definition: Transform.h:72
void write(mc_rtc::MessagePackBuilder &builder)
Definition: elements.h:108
Definition: Observer.h:15
const std::string & name() const
Definition: elements.h:61