FLImaging 7.8.25.3
DeviceCameraJai.h
1#pragma once
2
10
11#include "DeviceGenICamTypeBase.h"
12
13
15namespace FLImaging
16{
18 namespace Devices
19 {
20 class CInternalDeviceCameraJai;
21
30 {
31 SupportToDuplicateObject(CDeviceCameraJai);
32
33 public:
41
49
50 virtual const CResult Initialize() override;
51 virtual const CResult Terminate() override;
52
53 virtual const CResult Grab() override;
54 virtual const CResult Live() override;
55 virtual const CResult Stop() override;
56
57 virtual const CResult TriggerWithSoftware() override;
58
59 virtual const CResult AutoDetectGigECamera(int32_t i32Index = 0) override;
60 virtual const CResult AutoDetectUSBCamera(int32_t i32Index = 0) override;
61
64
67
68 virtual const CResult SetExposureTime(double f64Exposure) override;
69 virtual const CResult GetExposureTime(double* pF64Exposure) const override;
70 virtual const CResult GetExposureTime(double& f64Exposure) const override;
71
72 virtual const CResult SetGain(double f64Gain) override;
73 virtual const CResult GetGain(double* pF64Gain) const override;
74 virtual const CResult GetGain(double& f64Gain) const override;
75
76 virtual const CResult SetTriggerMode(bool bOn) override;
77 virtual const CResult GetTriggerMode(bool* pOn) const override;
78 virtual const CResult GetTriggerMode(bool& bOn) const override;
79
80 virtual const CResult SetTriggerSource(ETriggerSource eSource) override;
81 virtual const CResult GetTriggerSource(ETriggerSource* pSource) const override;
82 virtual const CResult GetTriggerSource(ETriggerSource& eSource) const override;
83
84 virtual const CResult GetSupportedDeviceTypes(std::vector<EDeviceType>& vctTypes) const override;
85
87 virtual const CResult ExecuteCommand(const char* pszKey) const override;
88
90 virtual const CResult SetBoolValue(const char* pszKey, const bool* pBValue) override;
91
93 virtual const CResult GetBoolValue(const char* pszKey, bool* pBValue) const override;
94
96 virtual const CResult SetInt32Value(const char* pszKey, const int32_t* pI32Value) override;
97
99 virtual const CResult GetInt32Value(const char* pszKey, int32_t* pI32Value) const override;
100
102 virtual const CResult SetInt64Value(const char* pszKey, const int64_t* pI64Value) override;
103
105 virtual const CResult GetInt64Value(const char* pszKey, int64_t* pI64Value) const override;
106
108 virtual const CResult SetFloatValue(const char* pszKey, const float* pF32Value) override;
109
111 virtual const CResult GetFloatValue(const char* pszKey, float* pF32Value) const override;
112
114 virtual const CResult SetDoubleValue(const char* pszKey, const double* pF64Value) override;
115
117 virtual const CResult GetDoubleValue(const char* pszKey, double* pF64Value) const override;
118
120 virtual const CResult SetStringValue(const char* pszKey, const Base::CFLString<char>* pFlsValue) override;
121
123 virtual const CResult GetStringValue(const char* pszKey, Base::CFLString<char>* pFlsValue) const override;
124
126 virtual const CResult SetEnumValue(const char* pszKey, const int32_t* pI32Value) override;
127 virtual const CResult SetEnumValue(const char* pszKey, const Base::CFLString<char>* pFlsValue) override;
128
130 virtual const CResult GetEnumValue(const char* pszKey, int32_t* pI32Value) const override;
131 virtual const CResult GetEnumValue(const char* pszKey, Base::CFLString<char>* pFlsValue) const override;
132
134 virtual const CResult GetEnumFeatureEntries(const Base::CFLString<wchar_t>& flsFeature, std::vector<std::pair<int32_t, Base::CFLString<wchar_t>>>* pVctEntries) const override;
135
136 DeclareGetClassType();
137
138 protected:
139
140 virtual bool CheckDeviceLibraries() const override;
141
142 protected:
143
144 CInternalDeviceCameraJai* m_pInternal;
145
146 friend class CInternalDeviceCameraJai;
147 };
148 }
149}
150
151
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 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.
virtual const CResult SetExposureTime(double f64Exposure) override
Sets the exposure time of the camera.
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 GetTriggerMode(bool &bOn) const override
Retrieves the trigger mode of the camera.
virtual const CResult Terminate() override
Terminate the device.
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 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 GetTriggerSource(ETriggerSource &eSource) const override
Retrieves the trigger source of the camera.
virtual const CResult Initialize() override
Initialize the device.
virtual const CResult AutoDetectUSBCamera(int32_t i32Index=0) override
Automatically detects a USB camera at the specified index.
virtual const CResult Stop() override
Stops image acquisition.
CDeviceCameraJai()
Default constructor.
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 GetAutoDetectUSBCameraSerialNumbers(Base::CFLArray< Base::CFLString< wchar_t > > &flarrSerialNumbers) override
Retrieves the serial numbers of detected USB cameras.
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 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 GetAutoDetectGigECameraSerialNumbers(Base::CFLArray< Base::CFLString< wchar_t > > &flarrSerialNumbers) override
Retrieves the serial numbers of detected GigE cameras.
virtual ~CDeviceCameraJai()
Default destructor.
virtual const CResult GetAutoDetectUSBCameraSerialNumbers(Base::CFLArray< Base::CFLString< wchar_t > > *pFlarrSerialNumbers) override
Retrieves the serial numbers of detected USB cameras.
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 TriggerWithSoftware() override
Executes a software trigger on the device.
virtual const CResult GetGain(double &f64Gain) const override
Retrieves the gain of the camera.
virtual const CResult GetExposureTime(double &f64Exposure) const override
Retrieves the exposure time of the camera.
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 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 AutoDetectGigECamera(int32_t i32Index=0) override
Automatically detects a GigE camera at the specified index.
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 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 SetTriggerMode(bool bOn) override
Sets the trigger mode of the camera.
virtual const CResult SetTriggerSource(ETriggerSource eSource) override
Sets the trigger source of the camera.
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 GetTriggerSource(ETriggerSource *pSource) const override
Retrieves the trigger source of the camera.
virtual const CResult Live() override
Starts live image acquisition.
virtual const CResult ExecuteCommand(const char *pszKey) const override
Executes a command on the device using a key.
virtual const CResult GetTriggerMode(bool *pOn) const override
Retrieves the trigger mode of the camera.
virtual const CResult GetGain(double *pF64Gain) const override
Retrieves the gain of the camera.
virtual const CResult SetGain(double f64Gain) override
Sets the gain of the camera.
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 Grab() override
Acquires a single image from the device.
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 GetAutoDetectGigECameraSerialNumbers(Base::CFLArray< Base::CFLString< wchar_t > > *pFlarrSerialNumbers) override
Retrieves the serial numbers of detected GigE cameras.
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 SetEnumValue(const char *pszKey, const int32_t *pI32Value) override
Sets an enum 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 GetSupportedDeviceTypes(std::vector< EDeviceType > &vctTypes) const override
Retrieves the supported device types.
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.
ETriggerSource
Trigger source.
Definition DeviceGenICamBase.h:80
CDeviceGenICamTypeBase()
Default constructor.
Definition AutoFileCleaner.h:19