Pleora Technologies Inc. eBUS SDK v6.2.8.5877 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 
13 class PvGenFloat : public PvGenParameter
14 {
15 public:
16 
17  PV_GENICAM_API PvResult SetValue( double aValue );
18 #ifndef EBUS_PYTHON_DOXYGEN
19  PV_GENICAM_API PvResult GetValue( double &aValue ) const;
20 
21  PV_GENICAM_API PvResult GetMin( double &aMin ) const;
22  PV_GENICAM_API PvResult GetMax( double &aMax ) const;
23 
24  PV_GENICAM_API PvResult GetRepresentation( PvGenRepresentation &aRepresentation ) const;
25 
26  PV_GENICAM_API PvResult GetUnit( PvString &aUnit ) const;
27 #else
28  double GetValue() const;
29 
30  double GetMin() const;
31  double GetMax() const;
32 
34 
35  PvString GetUnit() const;
36 #endif
37 
38 protected:
39 
40  PvGenFloat();
41  virtual ~PvGenFloat();
42 
43 private:
44 
45  // Not implemented
46  PvGenFloat( const PvGenFloat & );
47  const PvGenFloat &operator=( const PvGenFloat & );
48 };
49 
50 #endif
PvResult
Result information.
Definition: PvResult.h:13
PvGenFloat
GenICam feature: Float.
Definition: PvGenFloat.h:13
PvGenFloat::GetMax
PvResult GetMax(double &aMax) const
Get the feature's limits (maximum).
Definition: PvGenFloat.cpp:157
PvGenFloat::~PvGenFloat
virtual ~PvGenFloat()
Destructor.
Definition: PvGenFloat.cpp:42
PvString
String class.
Definition: PvString.h:21
PvGenFloat::SetValue
PvResult SetValue(double aValue)
Set the feature's value.
Definition: PvGenFloat.cpp:58
PvGenRepresentation
PvGenRepresentation
Definition: PvGenTypes.h:36
PvGenFloat::GetUnit
PvResult GetUnit(PvString &aUnit) const
Get the feature's measurement unit.
Definition: PvGenFloat.cpp:254
PvGenFloat::PvGenFloat
PvGenFloat()
Constructor.
Definition: PvGenFloat.cpp:33
PvGenFloat::GetMin
PvResult GetMin(double &aMin) const
Get the feature's limits (minimum).
Definition: PvGenFloat.cpp:125
PvGenFloat::GetValue
PvResult GetValue(double &aValue) const
Get the feature's value.
Definition: PvGenFloat.cpp:92
PvGenFloat::GetRepresentation
PvResult GetRepresentation(PvGenRepresentation &aRepresentation) const
Get the feature's suggested presentation format.
Definition: PvGenFloat.cpp:192
PvGenParameter
Base class for all GenICam feature types.
Definition: PvGenParameter.h:37

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