std::vector< Entry > entry_list_
private list to keep track of all entries
std::vector< std::string > required_entries_
bool is_entry_required(const std::string &name) const
Check if the entry is required.
boost::optional< Entry > get_entry_by_name(const std::string &name) const
Get a entry using name as the key.
EntryManager()
Default constructor for EntryManager.
void delete_entry(const std::string &name)
Delete an entry using the given name as the key.
int is_camera_entry_required(const std::string &name) const
Check if the entry is a required camera entry.
void update_entry(const Entry &entry)
Add a new entry if the given name does not exist. Update an existing entry if the given name exists.
std::vector< std::string > camera_entries_
std::vector< Entry > get_entries() const
Get all registed entries as a list.
An entry represents a driver details for the purposes of tracking.
bool available_
Availability flag of a driver.
std::string name_
Fully specified node name of a driver.
long timestamp_
The timestamp at which the entry was last updated.