28 #pragma warning(disable:4996) 30 #pragma warning(default:4996) 62 if ( NULL != pFeatureInfo )
132 LOG_FREE_TEXT(
"Could not reset a feature's feature container reference. ");
150 if ( NULL != pFeature )
152 if ( NULL != handle )
169 SP_ACCESS(( *iter ))->FeatureChanged( pFeaturePtrFromMap );
189 LOG_FREE_TEXT(
"Feature destroyed or device closed / destroyed" );
461 if ( NULL == pStrName )
484 if ( NULL == pStrDisplayName )
521 if ( NULL == pStrCategory )
551 if ( NULL == pStrUnit )
574 if ( NULL == pStrRepresentation )
604 if ( NULL == pStrToolTip )
627 if ( NULL == pStrDescription )
650 if ( NULL == pStrSFNCNamespace )
673 if ( NULL == pAffectedFeatures )
693 if ( rnSize < m_pImpl->m_affectedFeatures.size() )
713 if ( rnSize < nSize )
727 std::vector<VmbFeatureInfo_t> affectedFeatureInfos;
728 affectedFeatureInfos.resize( rnSize );
732 if ( rnSize < nSize )
761 if ( NULL == pSelectedFeatures )
781 if ( rnSize < m_pImpl->m_selectedFeatures.size() )
801 if ( rnSize < nSize )
815 std::vector<VmbFeatureInfo_t> selectedFeatureInfos;
816 selectedFeatureInfos.resize( rnSize );
820 if ( rnSize < nSize )
847 bool bIsWritable =
false;
859 bool bIsReadable =
false;
IMEXPORT VmbErrorType GetSelectedFeatures(FeaturePtr *pSelectedFeatures, VmbUint32_t &nSize)
IMEXPORT VmbErrorType GetFeatureByName(const char *pName, FeaturePtr &pFeature)
bool EnterWriteLock(BasicLockable &rLockable, bool bExclusive=false)
IMEXPORT VmbErrorType GetDataType(VmbFeatureDataType &dataType) const
FeaturePtrVector m_affectedFeatures
bool m_bSelectedFeaturesFetched
IMEXPORT VmbErrorType GetPollingTime(VmbUint32_t &pollingTime) const
const char * sfncNamespace
static void VMB_CALL InvalidationCallback(const VmbHandle_t handle, const char *name, void *context)
VmbHandle_t GetHandle() const
virtual IMEXPORT VmbErrorType GetName(char *const pName, VmbUint32_t &length) const
IMEXPORT VmbErrorType IsWritable(bool &isWritable)
IMEXPORT VmbErrorType GetDisplayName(char *const pDisplayName, VmbUint32_t &length) const
IMEXPORTC VmbError_t VMB_CALL VmbFeatureListAffected(const VmbHandle_t handle, const char *name, VmbFeatureInfo_t *pFeatureInfoList, VmbUint32_t listLength, VmbUint32_t *pNumFound, VmbUint32_t sizeofFeatureInfo)
IMEXPORT VmbErrorType GetToolTip(char *const pToolTip, VmbUint32_t &length) const
VmbFeatureFlags_t featureFlags
VmbFeatureVisibility_t visibility
virtual IMEXPORT VmbErrorType IsValueAvailable(const char *pValue, bool &available) const
VmbBool_t hasAffectedFeatures
ConditionHelper m_conditionHelper
LockableVector< IFeatureObserverPtr > m_observers
bool m_bAffectedFeaturesFetched
virtual IMEXPORT VmbErrorType IsCommandDone(bool &isDone) const
FeatureInfo m_featureInfo
void ExitWriteLock(BasicLockable &rLockable)
virtual IMEXPORT VmbErrorType GetValue(VmbInt64_t &value) const
ConditionHelper m_observersConditionHelper
virtual IMEXPORT VmbErrorType RunCommand()
virtual IMEXPORT VmbErrorType GetRange(VmbInt64_t &minimum, VmbInt64_t &maximum) const
IMEXPORTC VmbError_t VMB_CALL VmbFeatureInvalidationRegister(const VmbHandle_t handle, const char *name, VmbInvalidationCallback callback, void *pUserContext)
virtual IMEXPORT VmbErrorType GetEntries(EnumEntry *pEntries, VmbUint32_t &size)
virtual IMEXPORT VmbErrorType SetValue(const VmbInt32_t &value)
#define LOG_FREE_TEXT(txt)
VmbFeatureData_t featureDataType
IMEXPORTC VmbError_t VMB_CALL VmbFeatureInvalidationUnregister(const VmbHandle_t handle, const char *name, VmbInvalidationCallback callback)
NetPointer< Feature, AVT::VmbAPINET::Feature > FeaturePtr
IMEXPORTC VmbError_t VMB_CALL VmbFeatureAccessQuery(const VmbHandle_t handle, const char *name, VmbBool_t *pIsReadable, VmbBool_t *pIsWriteable)
struct VmbFeatureInfo VmbFeatureInfo_t
IMEXPORT VmbErrorType GetFlags(VmbFeatureFlagsType &flags) const
IMEXPORT VmbErrorType GetCategory(char *const pCategory, VmbUint32_t &length) const
void ResetFeatureContainer()
VmbBool_t hasSelectedFeatures
std::string representation
virtual IMEXPORT VmbErrorType GetEntry(EnumEntry &entry, const char *pStrEntryName) const
#define SP_ISEQUAL(sp1, sp2)
IMEXPORT VmbErrorType GetRepresentation(char *const pRepresentation, VmbUint32_t &length) const
virtual IMEXPORT VmbErrorType HasIncrement(VmbBool_t &incrementSupported) const
IMEXPORT VmbErrorType RegisterObserver(const IFeatureObserverPtr &observer)
MutexPtr GetMutex() const
void ExitReadLock(BasicLockable &rLockable)
IMEXPORT VmbErrorType GetDescription(char *const pDescription, VmbUint32_t &length) const
IMEXPORT VmbErrorType GetUnit(char *const pUnit, VmbUint32_t &length) const
FeaturePtrVector m_selectedFeatures
std::string sfncNamespace
bool EnterReadLock(BasicLockable &rLockable)
VmbFeatureVisibility_t visibility
IMEXPORT VmbErrorType GetSFNCNamespace(char *const pSFNCNamespace, VmbUint32_t &length) const
IMEXPORT VmbErrorType IsStreamable(bool &isStreamable) const
const char * representation
IMEXPORT VmbErrorType GetAffectedFeatures(FeaturePtr *pAffectedFeatures, VmbUint32_t &nSize)
IMEXPORT VmbErrorType UnregisterObserver(const IFeatureObserverPtr &observer)
IMEXPORTC VmbError_t VMB_CALL VmbFeatureListSelected(const VmbHandle_t handle, const char *name, VmbFeatureInfo_t *pFeatureInfoList, VmbUint32_t listLength, VmbUint32_t *pNumFound, VmbUint32_t sizeofFeatureInfo)
virtual IMEXPORT VmbErrorType GetValues(const char **pValues, VmbUint32_t &size)
std::vector< FeaturePtr > FeaturePtrVector
virtual IMEXPORT VmbErrorType GetIncrement(VmbInt64_t &increment) const
VmbFeatureFlags_t featureFlags
FeatureContainer * m_pFeatureContainer
IMEXPORT VmbErrorType IsReadable(bool &isReadable)
VmbFeatureData_t featureDataType
IMEXPORT VmbErrorType GetVisibility(VmbFeatureVisibilityType &visibility) const