Pleora Technologies Inc. eBUS SDK v6.5.1.6797 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
PvGenRepresentation
Definition: PvGenTypes.h:159
GenICam feature: Float.
Definition: PvGenFloat.h:21
PvResult GetMin(double &aMin) const
Get the feature's limits (minimum).
Definition: PvGenFloat.cpp:98
PvGenFloat()
Constructor.
Definition: PvGenFloat.cpp:29
PvResult GetRepresentation(PvGenRepresentation &aRepresentation) const
Get the feature's suggested presentation format.
Definition: PvGenFloat.cpp:148
PvResult GetMax(double &aMax) const
Get the feature's limits (maximum).
Definition: PvGenFloat.cpp:123
PvResult SetValue(double aValue)
Set the feature's value.
Definition: PvGenFloat.cpp:47
PvResult GetUnit(PvString &aUnit) const
Get the feature's measurement unit.
Definition: PvGenFloat.cpp:198
PvResult GetValue(double &aValue) const
Get the feature's value.
Definition: PvGenFloat.cpp:73
virtual ~PvGenFloat()
Destructor.
Definition: PvGenFloat.cpp:38
Base class for all GenICam feature types.
Definition: PvGenParameter.h:44
Result information.
Definition: PvResult.h:30
String class.
Definition: PvString.h:26

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