MMDevice 70
MM::PropertyCollection Class Reference

An array of properties supported by a device. More...

#include <Property.h>

Public Member Functions

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)

Detailed Description

An array of properties supported by a device.


The documentation for this class was generated from the following files: