Pleora Technologies Inc. eBUS SDK v6.2.8.5877 API



PvGenInteger.h
1 // *****************************************************************************
2 //
3 // Copyright (c) 2007, Pleora Technologies Inc., All rights reserved.
4 //
5 // *****************************************************************************
6 
7 #ifndef __PVGENINTEGER_H__
8 #define __PVGENINTEGER_H__
9 
10 #include <PvGenParameter.h>
11 
12 
14 {
15 public:
16 
17  PV_GENICAM_API PvResult SetValue( int64_t aValue );
18 #ifdef EBUS_PYTHON_DOXYGEN
19  int64_t GetValue() const;
20 
21  int64_t GetMin() const;
22  int64_t GetMax() const;
23  int64_t GetIncrement() const;
24 
26  PvString GetUnit() const;
27 #else
28  PV_GENICAM_API PvResult GetValue( int64_t &aValue ) const;
29 
30  PV_GENICAM_API PvResult GetMin( int64_t &aMin ) const;
31  PV_GENICAM_API PvResult GetMax( int64_t &aMax ) const;
32  PV_GENICAM_API PvResult GetIncrement( int64_t &aIncrement ) const;
33 
34  PV_GENICAM_API PvResult GetRepresentation( PvGenRepresentation &aRepresentation ) const;
35  PV_GENICAM_API PvResult GetUnit( PvString &aUnit ) const;
36 #endif
37 protected:
38 
39  PvGenInteger();
40  virtual ~PvGenInteger();
41 
42 private:
43 
44  // Not implemented
45  PvGenInteger( const PvGenInteger & );
46  const PvGenInteger &operator=( const PvGenInteger & );
47 
48 };
49 
50 #endif
PvResult GetRepresentation(PvGenRepresentation &aRepresentation) const
Get the feature&#39;s suggested presentation format.
Definition: PvGenInteger.cpp:246
String class.
Definition: PvString.h:21
Result information.
Definition: PvResult.h:13
PvResult GetMin(int64_t &aMin) const
Get the feature&#39;s limits (minimum).
Definition: PvGenInteger.cpp:129
PvResult GetMax(int64_t &aMax) const
Get the feature&#39;s limits (maximum).
Definition: PvGenInteger.cpp:166
PvGenRepresentation
Definition: PvGenTypes.h:36
PvResult SetValue(int64_t aValue)
Set the feature&#39;s new value.
Definition: PvGenInteger.cpp:55
PvResult GetIncrement(int64_t &aIncrement) const
Get the feature&#39;s suggested increment.
Definition: PvGenInteger.cpp:207
PvResult GetUnit(PvString &aUnit) const
Get the feature&#39;s measurement unit.
Definition: PvGenInteger.cpp:321
Base class for all GenICam feature types.
Definition: PvGenParameter.h:37
virtual ~PvGenInteger()
Destructor.
Definition: PvGenInteger.cpp:41
PvResult GetValue(int64_t &aValue) const
Get the feature&#39;s value.
Definition: PvGenInteger.cpp:93
GenICam feature: Integer.
Definition: PvGenInteger.h:13
PvGenInteger()
Constructor.
Definition: PvGenInteger.cpp:32

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