92 std::shared_ptr<Group>
getGroupFromNames(
const std::vector<std::string>& families,
const std::vector<std::string>& names, int32_t timeout_ms=DEFAULT_TIMEOUT);
108 std::shared_ptr<Group>
getGroupFromMacs(
const std::vector<MacAddress>& addresses, int32_t timeout_ms=DEFAULT_TIMEOUT);
124 std::shared_ptr<Group>
getGroupFromFamily(
const std::string& family, int32_t timeout_ms=DEFAULT_TIMEOUT);
144 std::shared_ptr<Group>
getConnectedGroupFromName(
const std::string& family,
const std::string& name, int32_t timeout_ms=DEFAULT_TIMEOUT);
249 size_t current_ { 0 };
EntryList(HebiLookupEntryListPtr lookup_list)
float initial_group_feedback_frequency_
struct _HebiLookupEntryList * HebiLookupEntryListPtr
Lookup()
Creates a Lookup object which can create Module and Group references. Typically, only one Lookup obje...
A simple wrapper class for internal C-API HebiMacAddress objects to allow interfacing with API calls ...
struct _HebiLookup * HebiLookupPtr
static const int32_t DEFAULT_TIMEOUT
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC half operator*(const half &a, const half &b)
#define HEBI_DISABLE_COPY_MOVE(Class)
std::shared_ptr< EntryList > getEntryList()
std::shared_ptr< Group > getGroupFromFamily(const std::string &family, int32_t timeout_ms=DEFAULT_TIMEOUT)
Get a group from all known modules with the given family.
~Lookup() noexcept
Destructor frees all resources created by Lookup object, and stops the background query thread...
std::shared_ptr< Group > getConnectedGroupFromMac(const MacAddress &address, int32_t timeout_ms=DEFAULT_TIMEOUT)
Get a group from all modules known to connect to a module with the given mac address.
std::shared_ptr< Group > getGroupFromMacs(const std::vector< MacAddress > &addresses, int32_t timeout_ms=DEFAULT_TIMEOUT)
Get a group from modules with the given mac addresses.
int32_t getInitialGroupCommandLifetimeMs()
Gets the default command lifetime value for groups created from this lookup.
HebiLookupEntryListPtr lookup_list_
TFSIMD_FORCE_INLINE bool operator!=(const Vector3 &other) const
void setInitialGroupFeedbackFrequencyHz(float frequency)
Sets the default feedback frequency value for groups created from this lookup.
void setInitialGroupCommandLifetimeMs(int32_t ms)
Sets the default command lifetime value for groups created from this lookup.
std::shared_ptr< Group > getConnectedGroupFromName(const std::string &family, const std::string &name, int32_t timeout_ms=DEFAULT_TIMEOUT)
Get a group from all modules known to connect to a module with the given name and family...
Maintains a registry of network-connected modules and returns Group objects to the user...
Entry operator[](size_t index) const
std::bidirectional_iterator_tag iterator_category
int32_t initial_group_command_lifetime_
float getInitialGroupFeedbackFrequencyHz()
Gets the default feedback frequency value for groups created from this lookup.
std::shared_ptr< Group > getGroupFromNames(const std::vector< std::string > &families, const std::vector< std::string > &names, int32_t timeout_ms=DEFAULT_TIMEOUT)
Get a group from modules with the given names and families.
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bool operator==(const half &a, const half &b)