9 #ifndef DOXYGEN_OMIT_INTERNAL 14 HebiGroupFeedbackPtr internal_;
15 #endif // DOXYGEN_OMIT_INTERNAL 21 const bool manage_pointer_lifetime_;
28 : internal_(hebiGroupFeedbackCreate(number_of_modules)), manage_pointer_lifetime_(true) {}
29 #ifndef DOXYGEN_OMIT_INTERNAL 36 : internal_(group_feedback), manage_pointer_lifetime_(false) {}
37 #endif // DOXYGEN_OMIT_INTERNAL 42 if (manage_pointer_lifetime_ && internal_ !=
nullptr)
43 hebiGroupFeedbackRelease(internal_);
53 #ifndef DOXYGEN_OMIT_INTERNAL 58 HebiGroupCommandPtr internal_;
59 #endif // DOXYGEN_OMIT_INTERNAL 63 GroupCommandWrapper(
size_t number_of_modules) : internal_(hebiGroupCommandCreate(number_of_modules)) {}
68 if (internal_ !=
nullptr)
69 hebiGroupCommandRelease(internal_);
79 #ifndef DOXYGEN_OMIT_INTERNAL 84 HebiGroupInfoPtr internal_;
85 #endif // DOXYGEN_OMIT_INTERNAL 89 GroupInfoWrapper(
size_t number_of_modules) : internal_(hebiGroupInfoCreate(number_of_modules)) {}
94 if (internal_ !=
nullptr)
95 hebiGroupInfoRelease(internal_);
Definition: group_message_wrapper.hpp:77
GroupFeedbackWrapper(size_t number_of_modules)
Create a group feedback with the specified number of modules.
Definition: group_message_wrapper.hpp:27
~GroupInfoWrapper() noexcept
Destructor cleans up group command object as necessary.
Definition: group_message_wrapper.hpp:93
Definition: group_message_wrapper.hpp:7
GroupCommandWrapper(size_t number_of_modules)
Create a group command with the specified number of modules.
Definition: group_message_wrapper.hpp:63
GroupInfoWrapper(size_t number_of_modules)
Create a group command with the specified number of modules.
Definition: group_message_wrapper.hpp:89
Definition: group_message_wrapper.hpp:51
~GroupCommandWrapper() noexcept
Destructor cleans up group command object as necessary.
Definition: group_message_wrapper.hpp:67
GroupFeedbackWrapper & operator=(const GroupFeedbackWrapper &)=delete
GroupInfoWrapper & operator=(const GroupInfoWrapper &)=delete
~GroupFeedbackWrapper() noexcept
Destructor cleans up group feedback object as necessary.
Definition: group_message_wrapper.hpp:41
GroupCommandWrapper & operator=(const GroupCommandWrapper &)=delete