Detailed Description
Public Types |
typedef map< uint16_t, const
PidStore * > | ManufacturerMap |
Constructor & Destructor Documentation
ola::rdm::RootPidStore::~RootPidStore |
( |
| ) |
|
Member Function Documentation
const PidDescriptor * ola::rdm::RootPidStore::GetDescriptor |
( |
const string & |
pid_name | ) |
const |
const PidDescriptor * ola::rdm::RootPidStore::GetDescriptor |
( |
const string & |
pid_name, |
|
|
uint16_t |
manufacturer_id |
|
) |
| const |
Lookup a PidDescriptor by name in both the ESTA PIDs and any manufacturer PIDs.
- Parameters
-
manufacturer_id | the ESTA id of the manufacturer_id |
pid_name | the name of the pid |
- Returns
- a PidDescriptor or NULL if the pid wasn't found.
const PidDescriptor * ola::rdm::RootPidStore::GetDescriptor |
( |
uint16_t |
pid_value | ) |
const |
Lookup a PidDescriptor by pid value.
- Parameters
-
pid_value | the pid to lookup |
- Returns
- a PidDescriptor or NULL if the pid wasn't found.
const PidDescriptor * ola::rdm::RootPidStore::GetDescriptor |
( |
uint16_t |
pid_value, |
|
|
uint16_t |
manufacturer_id |
|
) |
| const |
Lookup a PidDescriptor by pid value in both the ESTA PIDs and any manufacturer PIDs.
- Parameters
-
manufacturer_id | the ESTA id of the manufacturer_id |
pid_value | the pid to lookup |
- Returns
- a PidDescriptor or NULL if the pid wasn't found.
const RootPidStore * ola::rdm::RootPidStore::LoadFromDirectory |
( |
const std::string & |
directory, |
|
|
bool |
validate = true |
|
) |
| |
|
static |
Load all pid definition files in a directory
const RootPidStore * ola::rdm::RootPidStore::LoadFromFile |
( |
const std::string & |
file, |
|
|
bool |
validate = true |
|
) |
| |
|
static |
Load a pid store from a file
const PidStore * ola::rdm::RootPidStore::ManufacturerStore |
( |
uint16_t |
esta_id | ) |
const |
Lookup a PidStore based on Manufacturer Id
- Parameters
-
esta_id | the manufacturer id |
- Returns
- A pointer to a PidStore or NULL if not found
The documentation for this class was generated from the following files:
- include/ola/rdm/PidStore.h
- common/rdm/PidStore.cpp