27 template<
typename GetT,
typename SetT = std::
nullptr_t>
32 RotationImpl(
const std::string & name, GetT get_fn, SetT set_fn =
nullptr)
36 "RotationImpl getter should return an sva::PTransformd");
45 builder.
write(std::is_same_v<SetT, std::nullptr_t>);
55 template<
typename GetT>
56 auto Rotation(
const std::string & name, GetT get_fn)
62 template<
typename GetT,
typename SetT>
63 auto Rotation(
const std::string & name, GetT get_fn, SetT set_fn)
Definition: Observer.h:16
auto Rotation(const std::string &name, GetT get_fn)
Definition: Rotation.h:56
Definition: MessagePackBuilder.h:87
void write(mc_rtc::MessagePackBuilder &builder)
Definition: elements.h:108
static constexpr size_t write_size()
Definition: elements.h:106
Definition: Rotation.h:29
RotationImpl(const std::string &name, GetT get_fn, SetT set_fn=nullptr)
Definition: Rotation.h:32
void write(mc_rtc::MessagePackBuilder &builder)
Definition: Rotation.h:41
constexpr static size_t write_size()
Definition: Rotation.h:39
RotationImpl()
Definition: Rotation.h:49
static constexpr auto type
Definition: Rotation.h:30