Pleora Technologies Inc. eBUS SDK v6.4.0.6670 API



PvGenFloat.h
1 // *****************************************************************************
2 //
3 // Copyright (c) 2007, Pleora Technologies Inc., All rights reserved.
4 //
5 // *****************************************************************************
6 
7 #ifndef __PVGENFLOAT_H__
8 #define __PVGENFLOAT_H__
9 
10 #include <PvGenParameter.h>
11 
12 
20 class PvGenFloat : public PvGenParameter
21 {
22 public:
23 
35  PV_GENICAM_API PvResult SetValue( double aValue );
36 
44  PV_GENICAM_API PvResult GetValue( double &aValue ) const;
45 
53  PV_GENICAM_API PvResult GetMin( double &aMin ) const;
54 
62  PV_GENICAM_API PvResult GetMax( double &aMax ) const;
63 
73  PV_GENICAM_API PvResult GetRepresentation( PvGenRepresentation &aRepresentation ) const;
74 
86  PV_GENICAM_API PvResult GetUnit( PvString &aUnit ) const;
87 
88 protected:
89 
93  PvGenFloat();
94 
98  virtual ~PvGenFloat();
99 
100 private:
101 
102  // Not implemented
103  PvGenFloat( const PvGenFloat & );
104  const PvGenFloat &operator=( const PvGenFloat & );
105 };
106 
107 #endif
PvResult
Result information.
Definition: PvResult.h:29
PvGenFloat
GenICam feature: Float.
Definition: PvGenFloat.h:20
PvGenFloat::GetMax
PvResult GetMax(double &aMax) const
Get the feature's limits (maximum).
Definition: PvGenFloat.cpp:123
PvGenFloat::~PvGenFloat
virtual ~PvGenFloat()
Destructor.
Definition: PvGenFloat.cpp:38
PvString
String class.
Definition: PvString.h:25
PvGenFloat::SetValue
PvResult SetValue(double aValue)
Set the feature's value.
Definition: PvGenFloat.cpp:47
PvGenRepresentation
PvGenRepresentation
Definition: PvGenTypes.h:158
PvGenFloat::GetUnit
PvResult GetUnit(PvString &aUnit) const
Get the feature's measurement unit.
Definition: PvGenFloat.cpp:198
PvGenFloat::PvGenFloat
PvGenFloat()
Constructor.
Definition: PvGenFloat.cpp:29
PvGenFloat::GetMin
PvResult GetMin(double &aMin) const
Get the feature's limits (minimum).
Definition: PvGenFloat.cpp:98
PvGenFloat::GetValue
PvResult GetValue(double &aValue) const
Get the feature's value.
Definition: PvGenFloat.cpp:73
PvGenFloat::GetRepresentation
PvResult GetRepresentation(PvGenRepresentation &aRepresentation) const
Get the feature's suggested presentation format.
Definition: PvGenFloat.cpp:148
PvGenParameter
Base class for all GenICam feature types.
Definition: PvGenParameter.h:43

Copyright (c) 2002-2024 Pleora Technologies Inc.
www.pleora.com