|
MMDevice
|
An array of properties supported by a device. More...
#include <Property.h>
Public Member Functions | |
| PropertyCollection () | |
| ~PropertyCollection () | |
| int | CreateProperty (const char *name, const char *value, PropertyType eType, bool bReadOnly, ActionFunctor *pAct=0, bool isPreInitProperty=false) |
| int | RegisterAction (const char *name, ActionFunctor *fpAct) |
| int | SetAllowedValues (const char *name, std::vector< std::string > &values) |
| int | ClearAllowedValues (const char *name) |
| int | AddAllowedValue (const char *name, const char *value, long data) |
| int | AddAllowedValue (const char *name, const char *value) |
| int | GetPropertyData (const char *name, const char *value, long &data) |
| int | GetCurrentPropertyData (const char *name, long &data) |
| int | Set (const char *propName, const char *Value) |
| int | Get (const char *propName, std::string &val) const |
| Property * | Find (const char *name) const |
| std::vector< std::string > | GetNames () const |
| unsigned | GetSize () const |
| bool | GetName (unsigned uIdx, std::string &strName) const |
| int | UpdateAll () |
| int | ApplyAll () |
| int | Update (const char *Name) |
| int | Apply (const char *Name) |
An array of properties supported by a device.
| MM::PropertyCollection::PropertyCollection | ( | ) |
| MM::PropertyCollection::~PropertyCollection | ( | ) |
| int MM::PropertyCollection::AddAllowedValue | ( | const char * | name, |
| const char * | value ) |
| int MM::PropertyCollection::AddAllowedValue | ( | const char * | name, |
| const char * | value, | ||
| long | data ) |
| int MM::PropertyCollection::Apply | ( | const char * | Name | ) |
| int MM::PropertyCollection::ApplyAll | ( | ) |
| int MM::PropertyCollection::ClearAllowedValues | ( | const char * | name | ) |
| int MM::PropertyCollection::CreateProperty | ( | const char * | name, |
| const char * | value, | ||
| MM::PropertyType | eType, | ||
| bool | bReadOnly, | ||
| MM::ActionFunctor * | pAct = 0, | ||
| bool | isPreInitProperty = false ) |
| MM::Property * MM::PropertyCollection::Find | ( | const char * | name | ) | const |
| int MM::PropertyCollection::Get | ( | const char * | propName, |
| std::string & | val ) const |
| int MM::PropertyCollection::GetCurrentPropertyData | ( | const char * | name, |
| long & | data ) |
| bool MM::PropertyCollection::GetName | ( | unsigned | uIdx, |
| std::string & | strName ) const |
| std::vector< std::string > MM::PropertyCollection::GetNames | ( | ) | const |
| int MM::PropertyCollection::GetPropertyData | ( | const char * | name, |
| const char * | value, | ||
| long & | data ) |
| unsigned MM::PropertyCollection::GetSize | ( | ) | const |
| int MM::PropertyCollection::RegisterAction | ( | const char * | name, |
| MM::ActionFunctor * | fpAct ) |
| int MM::PropertyCollection::Set | ( | const char * | propName, |
| const char * | Value ) |
| int MM::PropertyCollection::SetAllowedValues | ( | const char * | name, |
| std::vector< std::string > & | values ) |
| int MM::PropertyCollection::Update | ( | const char * | Name | ) |
| int MM::PropertyCollection::UpdateAll | ( | ) |