FLImaging 7.8.25.3
DeviceCameraCrevis.h
1#pragma once
9
10#include "DeviceGenICamTypeBase.h"
11
12
14namespace FLImaging
15{
17 namespace Devices
18 {
19 class CInternalDeviceCameraCrevis;
20
29 {
30 SupportToDuplicateObject(CDeviceCameraCrevis);
31
32 public:
40
48
49 virtual const CResult Initialize() override;
50 virtual const CResult Terminate() override;
51
52 virtual const CResult Grab() override;
53 virtual const CResult Live() override;
54 virtual const CResult Stop() override;
55
56 virtual const CResult TriggerWithSoftware() override;
57
58 virtual const CResult AutoDetectGigECamera(int32_t i32Index = 0) override;
59 virtual const CResult AutoDetectUSBCamera(int32_t i32Index = 0) override;
60
63
66
67 virtual const CResult SetExposureTime(double f64Exposure) override;
68 virtual const CResult GetExposureTime(double* pF64Exposure) const override;
69 virtual const CResult GetExposureTime(double& f64Exposure) const override;
70
71 virtual const CResult SetGain(double f64Gain) override;
72 virtual const CResult GetGain(double* pF64Gain) const override;
73 virtual const CResult GetGain(double& f64Gain) const override;
74
75 virtual const CResult SetTriggerMode(bool bOn) override;
76 virtual const CResult GetTriggerMode(bool* pOn) const override;
77 virtual const CResult GetTriggerMode(bool& bOn) const override;
78
79 virtual const CResult SetTriggerSource(ETriggerSource eSource) override;
80 virtual const CResult GetTriggerSource(ETriggerSource* pSource) const override;
81 virtual const CResult GetTriggerSource(ETriggerSource& eSource) const override;
82
83 virtual const CResult GetSupportedDeviceTypes(std::vector<EDeviceType>& vctTypes) const override;
84
86 virtual const CResult ExecuteCommand(const char* pszKey) const override;
87
89 virtual const CResult SetBoolValue(const char* pszKey, const bool* pBValue) override;
90
92 virtual const CResult GetBoolValue(const char* pszKey, bool* pBValue) const override;
93
95 virtual const CResult SetInt32Value(const char* pszKey, const int32_t* pI32Value) override;
96
98 virtual const CResult GetInt32Value(const char* pszKey, int32_t* pI32Value) const override;
99
101 virtual const CResult SetInt64Value(const char* pszKey, const int64_t* pI64Value) override;
102
104 virtual const CResult GetInt64Value(const char* pszKey, int64_t* pI64Value) const override;
105
107 virtual const CResult SetFloatValue(const char* pszKey, const float* pF32Value) override;
108
110 virtual const CResult GetFloatValue(const char* pszKey, float* pF32Value) const override;
111
113 virtual const CResult SetDoubleValue(const char* pszKey, const double* pF64Value) override;
114
116 virtual const CResult GetDoubleValue(const char* pszKey, double* pF64Value) const override;
117
119 virtual const CResult SetStringValue(const char* pszKey, const Base::CFLString<char>* pFlsValue) override;
120
122 virtual const CResult GetStringValue(const char* pszKey, Base::CFLString<char>* pFlsValue) const override;
123
125 virtual const CResult SetEnumValue(const char* pszKey, const int32_t* pI32Value) override;
126 virtual const CResult SetEnumValue(const char* pszKey, const Base::CFLString<char>* pFlsValue) override;
127
129 virtual const CResult GetEnumValue(const char* pszKey, int32_t* pI32Value) const override;
130 virtual const CResult GetEnumValue(const char* pszKey, Base::CFLString<char>* pFlsValue) const override;
131
133 virtual const CResult GetEnumFeatureEntries(const Base::CFLString<wchar_t>& flsFeature, std::vector<std::pair<int32_t, Base::CFLString<wchar_t>>>* pVctEntries) const override;
134
135 DeclareGetClassType();
136
137 protected:
138
139 virtual bool CheckDeviceLibraries() const override;
140
141 protected:
142
143 CInternalDeviceCameraCrevis* m_pInternal;
144
145 friend class CInternalDeviceCameraCrevis;
146 };
147 }
148}
149
150
Template type array class.
Definition FLArray.h:71
Template type string class.
Definition FLString.h:34
FLImaging module execution result object.
Definition ResultsDef.h:1704
virtual const CResult Initialize() override
Initialize the device.
virtual const CResult GetAutoDetectUSBCameraSerialNumbers(Base::CFLArray< Base::CFLString< wchar_t > > &flarrSerialNumbers) override
Retrieves the serial numbers of detected USB cameras.
virtual const CResult GetTriggerMode(bool &bOn) const override
Retrieves the trigger mode of the camera.
virtual const CResult SetGain(double f64Gain) override
Sets the gain of the camera.
virtual const CResult SetInt32Value(const char *pszKey, const int32_t *pI32Value) override
Sets a 32-bit integer (Int32) value on the device using a UTF-8 key.
virtual const CResult SetInt64Value(const char *pszKey, const int64_t *pI64Value) override
Sets a 64-bit integer (Int64) value on the device using a UTF-8 key.
virtual const CResult GetTriggerMode(bool *pOn) const override
Retrieves the trigger mode of the camera.
virtual const CResult GetTriggerSource(ETriggerSource *pSource) const override
Retrieves the trigger source of the camera.
virtual const CResult GetBoolValue(const char *pszKey, bool *pBValue) const override
Retrieves a boolean value from the device using a key (UTF-8 string).
virtual const CResult GetInt32Value(const char *pszKey, int32_t *pI32Value) const override
Retrieves a 32-bit integer (Int32) value from the device using a UTF-8 key.
virtual const CResult GetGain(double &f64Gain) const override
Retrieves the gain of the camera.
virtual const CResult GetDoubleValue(const char *pszKey, double *pF64Value) const override
Retrieves a double-precision floating point value from the device using a UTF-8 key.
virtual const CResult GetEnumValue(const char *pszKey, Base::CFLString< char > *pFlsValue) const override
Gets an enum-type value from the device using a UTF-8 key.
virtual const CResult Grab() override
Acquires a single image from the device.
virtual const CResult Stop() override
Stops image acquisition.
virtual const CResult GetTriggerSource(ETriggerSource &eSource) const override
Retrieves the trigger source of the camera.
virtual const CResult SetFloatValue(const char *pszKey, const float *pF32Value) override
Sets a single-precision floating point value on the device using a UTF-8 key.
virtual const CResult TriggerWithSoftware() override
Executes a software trigger on the device.
virtual const CResult AutoDetectUSBCamera(int32_t i32Index=0) override
Automatically detects a USB camera at the specified index.
virtual const CResult ExecuteCommand(const char *pszKey) const override
Executes a command on the device using a key.
virtual const CResult GetAutoDetectGigECameraSerialNumbers(Base::CFLArray< Base::CFLString< wchar_t > > *pFlarrSerialNumbers) override
Retrieves the serial numbers of detected GigE cameras.
virtual const CResult Live() override
Starts live image acquisition.
virtual const CResult GetStringValue(const char *pszKey, Base::CFLString< char > *pFlsValue) const override
Retrieves a string value from the device using a UTF-8 key.
virtual const CResult SetDoubleValue(const char *pszKey, const double *pF64Value) override
Sets a double-precision floating point value on the device using a UTF-8 key.
virtual const CResult GetExposureTime(double *pF64Exposure) const override
Retrieves the exposure time of the camera.
virtual const CResult SetEnumValue(const char *pszKey, const int32_t *pI32Value) override
Sets an enum value on the device using a UTF-8 key.
virtual const CResult GetEnumValue(const char *pszKey, int32_t *pI32Value) const override
Retrieves an enum value from the device using a UTF-8 key.
virtual const CResult GetEnumFeatureEntries(const Base::CFLString< wchar_t > &flsFeature, std::vector< std::pair< int32_t, Base::CFLString< wchar_t > > > *pVctEntries) const override
Retrieves the enumeration entries of the specified feature.
virtual const CResult Terminate() override
Terminate the device.
virtual const CResult GetFloatValue(const char *pszKey, float *pF32Value) const override
Retrieves a single-precision floating point value from the device using a UTF-8 key.
virtual const CResult SetStringValue(const char *pszKey, const Base::CFLString< char > *pFlsValue) override
Sets a string value on the device using a UTF-8 key and pointer to narrow string.
virtual const CResult GetExposureTime(double &f64Exposure) const override
Retrieves the exposure time of the camera.
virtual const CResult SetExposureTime(double f64Exposure) override
Sets the exposure time of the camera.
virtual const CResult GetAutoDetectGigECameraSerialNumbers(Base::CFLArray< Base::CFLString< wchar_t > > &flarrSerialNumbers) override
Retrieves the serial numbers of detected GigE cameras.
virtual const CResult SetEnumValue(const char *pszKey, const Base::CFLString< char > *pFlsValue) override
Sets an enum-type value on the device using a UTF-8 key and pointer to narrow string value.
virtual const CResult SetTriggerSource(ETriggerSource eSource) override
Sets the trigger source of the camera.
virtual const CResult GetSupportedDeviceTypes(std::vector< EDeviceType > &vctTypes) const override
Retrieves the supported device types.
virtual const CResult GetInt64Value(const char *pszKey, int64_t *pI64Value) const override
Retrieves a 64-bit integer (Int64) value from the device using a UTF-8 key.
virtual const CResult SetTriggerMode(bool bOn) override
Sets the trigger mode of the camera.
virtual const CResult SetBoolValue(const char *pszKey, const bool *pBValue) override
Sets a boolean value on the device using a key (UTF-8 string).
virtual const CResult GetGain(double *pF64Gain) const override
Retrieves the gain of the camera.
CDeviceCameraCrevis()
Default constructor.
virtual const CResult GetAutoDetectUSBCameraSerialNumbers(Base::CFLArray< Base::CFLString< wchar_t > > *pFlarrSerialNumbers) override
Retrieves the serial numbers of detected USB cameras.
virtual const CResult AutoDetectGigECamera(int32_t i32Index=0) override
Automatically detects a GigE camera at the specified index.
virtual ~CDeviceCameraCrevis()
Default destructor.
virtual const CResult GetBoolValue(const char *pszKey, bool &bValue) const
Retrieves a boolean value from the device using a key (UTF-8 string).
virtual const CResult SetFloatValue(const char *pszKey, const float &f32Value)
Sets a single-precision floating point value on the device using a UTF-8 key.
virtual const CResult SetDoubleValue(const char *pszKey, const double &f64Value)
Sets a double-precision floating point value on the device using a UTF-8 key.
virtual const CResult GetInt64Value(const char *pszKey, int64_t &i64Value) const
Retrieves a 64-bit integer (Int64) value from the device using a UTF-8 key.
virtual const CResult GetStringValue(const char *pszKey, Base::CFLString< char > &strValue) const
Retrieves a string value from the device using a UTF-8 key.
virtual const CResult SetEnumValue(const char *pszKey, const int32_t &i32Value)
Sets an enum value on the device using a UTF-8 key.
virtual const CResult SetStringValue(const char *pszKey, const Base::CFLString< char > &strValue)
Sets a string value on the device using a UTF-8 key and narrow string.
virtual const CResult GetEnumValue(const char *pszKey, int32_t &i32Value) const
Retrieves an enum value from the device using a UTF-8 key.
virtual const CResult SetInt32Value(const char *pszKey, const int32_t &i32Value)
Sets a 32-bit integer (Int32) value on the device using a UTF-8 key.
virtual const CResult SetBoolValue(const char *pszKey, const bool &bValue)
Sets a boolean value on the device using a key (UTF-8 string).
virtual const CResult SetInt64Value(const char *pszKey, const int64_t &i64Value)
Sets a 64-bit integer (Int64) value on the device using a UTF-8 key.
virtual const CResult GetFloatValue(const char *pszKey, float &f32Value) const
Retrieves a single-precision floating point value from the device using a UTF-8 key.
virtual const CResult GetDoubleValue(const char *pszKey, double &f64Value) const
Retrieves a double-precision floating point value from the device using a UTF-8 key.
virtual const CResult ExecuteCommand(const char *pszKey) const =0
Executes a command on the device using a key.
virtual const CResult GetEnumFeatureEntries(const Base::CFLString< wchar_t > &flsFeature, std::vector< std::pair< int32_t, Base::CFLString< wchar_t > > > &vctEntries) const
Retrieves the enumeration entries of the specified feature.
virtual const CResult GetInt32Value(const char *pszKey, int32_t &i32Value) const
Retrieves a 32-bit integer (Int32) value from the device using a UTF-8 key.
ETriggerSource
Trigger source.
Definition DeviceGenICamBase.h:80
CDeviceGenICamTypeBase()
Default constructor.
Definition AutoFileCleaner.h:19