7 #ifndef __PVGENPARAMETER_H__
8 #define __PVGENPARAMETER_H__
10 #include <PvGenICamLib.h>
11 #include <PvGenParameterList.h>
19 namespace PvGenICamLib
21 class GenParameterArray;
22 class GenParameterInternal;
23 class GenParameterArrayManager;
27 #ifdef PV_INTERNAL_HEADERS
466 PV_GENICAM_API PV_GENAPI_NS::INode *
GetNode();
494 #ifndef PV_GENERATING_DOXYGEN_DOC
496 PvGenICamLib::GenParameterInternal *mThis;
498 friend class PvGenICamLib::GenParameterArray;
499 friend class PvGenICamLib::GenParameterArrayManager;
GenICam feature-related constants.
PvGenVisibility
Feature (PvGenParameter object) visibility.
Definition: PvGenTypes.h:61
PvGenType
Feature data type (Boolean, integer, etc.)
Definition: PvGenTypes.h:109
GenICam feature: Boolean. A feature which can either be true or false.
Definition: PvGenBoolean.h:22
GenICam feature: Command. A feature which can only be activated.
Definition: PvGenCommand.h:20
GenICam feature: Enumeration. A feature which can take one of many defined values.
Definition: PvGenEnum.h:50
Observer interface for an observable PvGenParameter object.
Definition: PvGenParameter.h:518
virtual void OnParameterUpdate(PvGenParameter *aParameter)=0
Callback that is invoked when a feature's value is updated.
GenICam feature: Float.
Definition: PvGenFloat.h:21
GenICam feature: Integer.
Definition: PvGenInteger.h:21
Base class for all GenICam feature types.
Definition: PvGenParameter.h:44
PvResult GetCategory(PvString &aCategory) const
Get the parameter's category.
Definition: PvGenParameter.cpp:152
PvResult GetDisplayName(PvString &aDisplayName) const
Get the parameter's display name.
Definition: PvGenParameter.cpp:230
PvString GetName() const
Get the parameter's name.
Definition: PvGenParameter.cpp:53
bool IsAvailable() const
Test if the parameter is currently available, but may be available latter on.
Definition: PvGenParameter.cpp:437
bool IsPersistent() const
Test if the parameter is to be considered when saving the state of a GenICam interface to disk.
Definition: PvGenParameter.cpp:359
PvResult GetSelectedParameters(PvGenParameterList &aList) const
Returns all parameters selected by this parameter.
Definition: PvGenParameter.cpp:704
PvResult RegisterEventSink(PvGenEventSink *aEventSink)
Register an event sink interface that will be used for callbacks on this parameter.
Definition: PvGenParameter.cpp:793
PvResult UnregisterEventSink(PvGenEventSink *aEventSink)
Unregister an event sink.
Definition: PvGenParameter.cpp:827
void SetUpdatesEnabled(bool aEnabled)
Temporarily disable (or re-enable) parameter update notifications.
Definition: PvGenParameter.cpp:947
bool IsVisible(PvGenVisibility aCurrentVisibility) const
Test if the parameter is visible at the specified visibilty level.
Definition: PvGenParameter.cpp:664
PvResult FromString(const PvString &aValue)
Sets the parameter value from a string.
Definition: PvGenParameter.cpp:911
PvGenParameter()
Constructor.
Definition: PvGenParameter.cpp:32
bool IsReadable() const
Test if the parameter is readable.
Definition: PvGenParameter.cpp:515
bool IsStreamable() const
Test if the parameter is streamable.
Definition: PvGenParameter.cpp:554
PvString ToString() const
Gets the parameter value as a string.
Definition: PvGenParameter.cpp:862
bool GetUpdatesEnabled()
Returns true if parameter update notifications are temporarily disabled.
Definition: PvGenParameter.cpp:937
PV_GENAPI_NS::INode * GetNode()
Returns the GenApi node wrapped by this PvGenParameter.
Definition: PvGenParameter.cpp:959
PvResult GetToolTip(PvString &aToolTip) const
Get the parameter's tool tip.
Definition: PvGenParameter.cpp:178
PvResult GetSelectingParameters(PvGenParameterList &aList) const
Returns all selectors for this parameter.
Definition: PvGenParameter.cpp:748
PvResult GetVisibility(PvGenVisibility &aVisibility) const
Get the parameter's recommended user level (visibility)
Definition: PvGenParameter.cpp:567
PvResult GetDescription(PvString &aDescription) const
Get the parameter's description.
Definition: PvGenParameter.cpp:204
bool IsValueCached() const
Test if the parameter's value is cached in the PC.
Definition: PvGenParameter.cpp:320
bool IsWritable() const
Test if the parameter is writable.
Definition: PvGenParameter.cpp:476
bool IsImplemented() const
Test if the parameter is implemented.
Definition: PvGenParameter.cpp:398
PvResult IsSelector(bool &aSelector) const
Queries whether this parameter is a selector or not.
Definition: PvGenParameter.cpp:676
virtual ~PvGenParameter()
Destructor.
Definition: PvGenParameter.cpp:38
PvResult GetType(PvGenType &aType) const
Get the parameter's type.
Definition: PvGenParameter.cpp:93
PvResult GetNameSpace(PvGenNameSpace &aNameSpace) const
Get the parameter's name space.
Definition: PvGenParameter.cpp:256
Class used to hold a group of PvGenParameter pointers.
Definition: PvGenParameterList.h:59
GenICam feature: Register, or IRegister. A feature providing direct access to a section of the device...
Definition: PvGenRegister.h:20
GenICam feature: String.
Definition: PvGenString.h:21
Result information.
Definition: PvResult.h:30
String class.
Definition: PvString.h:26