|
Open Lighting Architecture
|
Stores the PidDescriptors for a set of PIDs in a common namespace.
Public Member Functions | |
| PidStore (const vector< const PidDescriptor * > &pids) | |
| ~PidStore () | |
| unsigned int | PidCount () const |
| void | AllPids (vector< const PidDescriptor * > *pids) const |
| const PidDescriptor * | LookupPID (uint16_t pid_value) const |
| const PidDescriptor * | LookupPID (const string &pid_name) const |
|
explicit |
Create a new PidStore
| a | list of PidDescriptors for this store. |
| ola::rdm::PidStore::~PidStore | ( | ) |
Clean up.
| void ola::rdm::PidStore::AllPids | ( | vector< const PidDescriptor * > * | pids | ) | const |
Return a list of all pids
| a | pointer to a vector in which to put the PidDescriptors. |
| const PidDescriptor * ola::rdm::PidStore::LookupPID | ( | uint16_t | pid_value | ) | const |
Lookup a PID by value.
| pid_value | the 16 bit pid value. |
| const PidDescriptor * ola::rdm::PidStore::LookupPID | ( | const string & | pid_name | ) | const |
Lookup a PID by name
| pid_name | the name of the pid. |
1.8.1.2