Go to the documentation of this file.
82 const std::vector<std::
string>& names, int32_t timeout_ms =
DEFAULT_TIMEOUT);
250 bool operator==(
const Iterator& rhs)
const;
251 bool operator!=(
const Iterator& rhs)
const;
266 Entry operator[](
size_t index) const;
270 Iterator begin() const;
271 Iterator end() const;
Lookup()
Creates a Lookup object which can create Module and Group references. Typically, only one Lookup obje...
HebiLookupEntryListPtr lookup_list_
double getLookupFrequencyHz() const
Gets the rate [Hz] at which "discovery" packets are broadcast.
std::bidirectional_iterator_tag iterator_category
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.
int32_t initial_group_command_lifetime_
Maintains a registry of network-connected modules and returns Group objects to the user.
float getInitialGroupFeedbackFrequencyHz()
Gets the default feedback frequency value for groups created from this lookup.
struct HebiLookup_ * HebiLookupPtr
struct HebiLookupEntryList_ * HebiLookupEntryListPtr
#define HEBI_DISABLE_COPY_MOVE(Class)
A simple wrapper class for internal C-API HebiMacAddress objects to allow interfacing with API calls ...
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.
void setInitialGroupCommandLifetimeMs(int32_t ms)
Sets the default command lifetime value for groups created from this lookup.
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.
static const int32_t DEFAULT_TIMEOUT
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 > 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.
bool setLookupFrequencyHz(double frequency)
Sets the lookup rate [Hz].
EntryList(HebiLookupEntryListPtr lookup_list)
std::shared_ptr< EntryList > getEntryList()
~Lookup() noexcept
Destructor frees all resources created by Lookup object, and stops the background query thread.
int32_t getInitialGroupCommandLifetimeMs()
Gets the default command lifetime value for groups created from this lookup.
void setInitialGroupFeedbackFrequencyHz(float frequency)
Sets the default feedback frequency value for groups created from this lookup.
float initial_group_feedback_frequency_
Represents a group of physical HEBI modules, and allows Command, Feedback, and Info objects to be sen...
hebi_cpp_api_ros
Author(s): Chris Bollinger
, Matthew Tesch
autogenerated on Fri Aug 2 2024 08:35:18