_GigEChunkData.h 38 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749
  1. //-----------------------------------------------------------------------------
  2. // Copyright (c) 2004-2021 Basler AG
  3. // Section: Vision Components
  4. // Project: GenApi
  5. //-----------------------------------------------------------------------------
  6. /*!
  7. \file
  8. \brief Basler generic GigEVision camera interface
  9. */
  10. //-----------------------------------------------------------------------------
  11. // This file is generated automatically
  12. // Do not modify!
  13. //-----------------------------------------------------------------------------
  14. #ifndef Basler_GigEChunkData_PARAMS_H
  15. #define Basler_GigEChunkData_PARAMS_H
  16. #include <GenApi/IEnumerationT.h>
  17. #include <GenApi/NodeMapRef.h>
  18. #include <GenApi/DLLLoad.h>
  19. // common node types
  20. #include <GenApi/IBoolean.h>
  21. #include <GenApi/ICategory.h>
  22. #include <GenApi/ICommand.h>
  23. #include <GenApi/IEnumeration.h>
  24. #include <GenApi/IEnumEntry.h>
  25. #include <GenApi/IFloat.h>
  26. #include <GenApi/IInteger.h>
  27. #include <GenApi/IString.h>
  28. #include <GenApi/IRegister.h>
  29. #ifdef __GNUC__
  30. # undef GCC_VERSION
  31. # define GCC_VERSION (__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__)
  32. # undef GCC_DIAGNOSTIC_AWARE
  33. # define GCC_DIAGNOSTIC_AWARE (GCC_VERSION >= 40200)
  34. # undef GCC_DIAGNOSTIC_PUSH_POP_AWARE
  35. # define GCC_DIAGNOSTIC_PUSH_POP_AWARE (GCC_VERSION >= 40600)
  36. #else
  37. # undef GCC_DIAGNOSTIC_AWARE
  38. # define GCC_DIAGNOSTIC_AWARE 0
  39. #endif
  40. #ifdef __GNUC__
  41. // GCC_DIAGNOSTIC_AWARE ensures that the internal deprecated warnings can be ignored by gcc.
  42. // As a result older gcc will not generate warnings about really used deprecated features.
  43. # if GCC_DIAGNOSTIC_AWARE
  44. # define GENAPI_DEPRECATED_FEATURE __attribute__((deprecated))
  45. # else
  46. # define GENAPI_DEPRECATED_FEATURE
  47. # endif
  48. #elif defined(_MSC_VER)
  49. # define GENAPI_DEPRECATED_FEATURE __declspec(deprecated)
  50. #else
  51. # define GENAPI_DEPRECATED_FEATURE
  52. #endif
  53. #if GCC_DIAGNOSTIC_AWARE
  54. # if GCC_DIAGNOSTIC_PUSH_POP_AWARE
  55. # pragma GCC diagnostic push
  56. # endif
  57. # pragma GCC diagnostic ignored "-Wdeprecated-declarations"
  58. #endif
  59. //! The namespace containing the device's control interface and related enumeration types
  60. namespace Basler_GigEChunkData
  61. {
  62. //**************************************************************************************************
  63. // Enumerations
  64. //**************************************************************************************************
  65. //! Valid values for ChunkPixelFormat
  66. enum ChunkPixelFormatEnums
  67. {
  68. ChunkPixelFormat_Mono8, //!<Indicates that the pixel data in the acquired image is in the Mono 8 format
  69. ChunkPixelFormat_Mono8Signed, //!<Indicates that the pixel data in the acquired image is in the Mono 8 signed format
  70. ChunkPixelFormat_Mono10, //!<Indicates that the pixel data in the acquired image is in the Mono 10 format
  71. ChunkPixelFormat_Mono10Packed, //!<Indicates that the pixel data in the acquired image is in the Mono 10 Packed format
  72. ChunkPixelFormat_Mono10p, //!<Indicates that the pixel data in the acquired image is in the Mono 10p format
  73. ChunkPixelFormat_Mono12, //!<Indicates that the pixel data in the acquired image is in the Mono 12 format
  74. ChunkPixelFormat_Mono12Packed, //!<Indicates that the pixel data in the acquired image is in the Mono 12 Packed format
  75. ChunkPixelFormat_Mono16, //!<Indicates that the pixel data in the acquired image is in the Mono 16 format
  76. ChunkPixelFormat_BayerGR8, //!<Indicates that the pixel data in the acquired image is in the Bayer GR 8 format
  77. ChunkPixelFormat_BayerRG8, //!<Indicates that the pixel data in the acquired image is in the Bayer RG 8 format
  78. ChunkPixelFormat_BayerGB8, //!<Indicates that the pixel data in the acquired image is in the Bayer GB 8 format
  79. ChunkPixelFormat_BayerBG8, //!<Indicates that the pixel data in the acquired image is in the Bayer BG 8 format
  80. ChunkPixelFormat_BayerGR10, //!<Indicates that the pixel data in the acquired image is in the Bayer GR 10 format
  81. ChunkPixelFormat_BayerRG10, //!<Indicates that the pixel data in the acquired image is in the Bayer RG 10 format
  82. ChunkPixelFormat_BayerGB10, //!<Indicates that the pixel data in the acquired image is in the Bayer GB 10 format
  83. ChunkPixelFormat_BayerBG10, //!<Indicates that the pixel data in the acquired image is in the Bayer BG 10 format
  84. ChunkPixelFormat_BayerGR12, //!<Indicates that the pixel data in the acquired image is in the Bayer GR 12 format
  85. ChunkPixelFormat_BayerRG12, //!<Indicates that the pixel data in the acquired image is in the Bayer RG 12 format
  86. ChunkPixelFormat_BayerGB12, //!<Indicates that the pixel data in the acquired image is in the Bayer GB 12 format
  87. ChunkPixelFormat_BayerBG12, //!<Indicates that the pixel data in the acquired image is in the Bayer BG 12 format
  88. ChunkPixelFormat_BayerGR16, //!<Indicates that the pixel data in the acquired image is in the Bayer GR 16 format
  89. ChunkPixelFormat_BayerRG16, //!<Indicates that the pixel data in the acquired image is in the Bayer RG 16 format
  90. ChunkPixelFormat_BayerGB16, //!<Indicates that the pixel data in the acquired image is in the Bayer GB 16 format
  91. ChunkPixelFormat_BayerBG16, //!<Indicates that the pixel data in the acquired image is in the Bayer BG 16 format
  92. ChunkPixelFormat_RGB8Packed, //!<Indicates that the pixel data in the acquired image is in the RGB 8 Packed format
  93. ChunkPixelFormat_BGR8Packed, //!<Indicates that the pixel data in the acquired image is in the BGR 8 Packed format
  94. ChunkPixelFormat_RGBA8Packed, //!<Indicates that the pixel data in the acquired image is in the RGBA 8 Packed format
  95. ChunkPixelFormat_BGRA8Packed, //!<Indicates that the pixel data in the acquired image is in the BGRA 8 Packed format
  96. ChunkPixelFormat_RGB10Packed, //!<Indicates that the pixel data in the acquired image is in the RGB 10 Packed format
  97. ChunkPixelFormat_BGR10Packed, //!<Indicates that the pixel data in the acquired image is in the BGR 10 Packed format
  98. ChunkPixelFormat_RGB12Packed, //!<Indicates that the pixel data in the acquired image is in the RGB 12 Packed format
  99. ChunkPixelFormat_BGR12Packed, //!<Indicates that the pixel data in the acquired image is in the BGR 12 Packed format
  100. ChunkPixelFormat_RGB10V1Packed, //!<Indicates that the pixel data in the acquired image is in the RGB 10V1 Packed format
  101. ChunkPixelFormat_RGB10V2Packed, //!<Indicates that the pixel data in the acquired image is in the RGB 10V2 Packed format
  102. ChunkPixelFormat_YUV411Packed, //!<Indicates that the pixel data in the acquired image is in the YUV 411 Packed format
  103. ChunkPixelFormat_YUV422Packed, //!<Indicates that the pixel data in the acquired image is in the YUV 422 Packed format
  104. ChunkPixelFormat_YUV444Packed, //!<Indicates that the pixel data in the acquired image is in the YUV 444 Packed format
  105. ChunkPixelFormat_RGB8Planar, //!<Indicates that the pixel data in the acquired image is in the RGB 8 Planar format
  106. ChunkPixelFormat_RGB10Planar, //!<Indicates that the pixel data in the acquired image is in the RGB 10 Planar format
  107. ChunkPixelFormat_RGB12Planar, //!<Indicates that the pixel data in the acquired image is in the RGB 12 Planar format
  108. ChunkPixelFormat_RGB16Planar, //!<Indicates that the pixel data in the acquired image is in the RGB 16 Planar format
  109. ChunkPixelFormat_YUV422_YUYV_Packed, //!<Indicates that the pixel data in the acquired image is in the YUV 422 (YUYV) Packed format
  110. ChunkPixelFormat_BayerGB12Packed, //!<Indicates that the pixel data in the acquired image is in the Bayer GB 12 Packed format
  111. ChunkPixelFormat_BayerGR12Packed, //!<Indicates that the pixel data in the acquired image is in the Bayer GR 12 Packed format
  112. ChunkPixelFormat_BayerRG12Packed, //!<Indicates that the pixel data in the acquired image is in the Bayer RG 12 Packed format
  113. ChunkPixelFormat_BayerBG12Packed, //!<Indicates that the pixel data in the acquired image is in the Bayer BG 12 Packed format
  114. ChunkPixelFormat_RGB12V1Packed, //!<Indicates that the pixel data in the acquired image is in RGB 12 Packed
  115. ChunkPixelFormat_BayerGB10p, //!<Indicates that the pixel data in the acquired image is in the Bayer GB 10p format
  116. ChunkPixelFormat_BayerGR10p, //!<Indicates that the pixel data in the acquired image is in the Bayer GR 10p format
  117. ChunkPixelFormat_BayerRG10p, //!<Indicates that the pixel data in the acquired image is in the Bayer RG 10p format
  118. ChunkPixelFormat_BayerBG10p //!<Indicates that the pixel data in the acquired image is in the Bayer BG 10p format
  119. };
  120. //**************************************************************************************************
  121. // Parameter class
  122. //**************************************************************************************************
  123. //! Basler generic GigEVision camera interface
  124. class CGigEChunkData_Params
  125. {
  126. //----------------------------------------------------------------------------------------------------------------
  127. // Implementation
  128. //----------------------------------------------------------------------------------------------------------------
  129. protected:
  130. // If you want to show the following methods in the help file
  131. // add the string HIDE_CLASS_METHODS to the ENABLED_SECTIONS tag in the doxygen file
  132. //! \cond HIDE_CLASS_METHODS
  133. //! Constructor
  134. CGigEChunkData_Params( void );
  135. //! Destructor
  136. ~CGigEChunkData_Params( void );
  137. //! Initializes the references
  138. void _Initialize( GENAPI_NAMESPACE::INodeMap* );
  139. //! Return the vendor of the camera
  140. const char* _GetVendorName( void );
  141. //! Returns the camera model name
  142. const char* _GetModelName( void );
  143. //! \endcond
  144. //----------------------------------------------------------------------------------------------------------------
  145. // References to features
  146. //----------------------------------------------------------------------------------------------------------------
  147. public:
  148. //! \name ChunkData - This category includes items related to the chunk data that can be appended to the image data
  149. //@{
  150. /*!
  151. \brief Indicates the number of bytes of data between the beginning of one line in the acquired image and the beginning of the next line in the acquired image
  152. This value indicates the number of bytes of data between the beginning of one line in the acquired image and the beginning of the next line in the acquired image.
  153. \b Visibility = Beginner
  154. */
  155. GENAPI_NAMESPACE::IInteger& ChunkStride;
  156. //@}
  157. //! \name ChunkData - This category includes items related to the chunk data that can be appended to the image data
  158. //@{
  159. /*!
  160. \brief Indicates the sequence set index number related to the acquired image
  161. This value indicates the sequence set index number related to the acquired image.
  162. \b Visibility = Beginner
  163. */
  164. GENAPI_NAMESPACE::IInteger& ChunkSequenceSetIndex;
  165. //@}
  166. //! \name ChunkData - This category includes items related to the chunk data that can be appended to the image data
  167. //@{
  168. /*!
  169. \brief Indicates the X offset of the area of interest represented in the acquired image
  170. This value Indicates the X offset of the area of interest represented in the acquired image.
  171. \b Visibility = Beginner
  172. */
  173. GENAPI_NAMESPACE::IInteger& ChunkOffsetX;
  174. //@}
  175. //! \name ChunkData - This category includes items related to the chunk data that can be appended to the image data
  176. //@{
  177. /*!
  178. \brief Indicates the Y offset of the area of interest represented in the acquired image
  179. This value Indicates the Y offset of the area of interest represented in the acquired image.
  180. \b Visibility = Beginner
  181. */
  182. GENAPI_NAMESPACE::IInteger& ChunkOffsetY;
  183. //@}
  184. //! \name ChunkData - This category includes items related to the chunk data that can be appended to the image data
  185. //@{
  186. /*!
  187. \brief Indicates the widtth of the area of interest represented in the acquired image.
  188. This value Indicates the width of the area of interest represented in the acquired image.
  189. \b Visibility = Beginner
  190. */
  191. GENAPI_NAMESPACE::IInteger& ChunkWidth;
  192. //@}
  193. //! \name ChunkData - This category includes items related to the chunk data that can be appended to the image data
  194. //@{
  195. /*!
  196. \brief Indicates the height of the area of interest represented in the acquired image.
  197. This value Indicates the height of the area of interest represented in the acquired image.
  198. \b Visibility = Beginner
  199. */
  200. GENAPI_NAMESPACE::IInteger& ChunkHeight;
  201. //@}
  202. //! \name ChunkData - This category includes items related to the chunk data that can be appended to the image data
  203. //@{
  204. /*!
  205. \brief Indicates the minimum possible pixel value in the acquired image
  206. This value indicates the minimum possible pixel value in the acquired image.
  207. \b Visibility = Beginner
  208. */
  209. GENAPI_NAMESPACE::IInteger& ChunkDynamicRangeMin;
  210. //@}
  211. //! \name ChunkData - This category includes items related to the chunk data that can be appended to the image data
  212. //@{
  213. /*!
  214. \brief Indicates the maximum possible pixel value in the acquired image
  215. This value indicates indicates the maximum possible pixel value acquired in the image
  216. \b Visibility = Beginner
  217. */
  218. GENAPI_NAMESPACE::IInteger& ChunkDynamicRangeMax;
  219. //@}
  220. //! \name ChunkData - This category includes items related to the chunk data that can be appended to the image data
  221. //@{
  222. /*!
  223. \brief Indicates the format of the pixel data in the acquired image
  224. This enumeration lists the pixel formats that can be indicated by the pixel format chunk.
  225. \b Visibility = Beginner
  226. */
  227. GENAPI_NAMESPACE::IEnumerationT<ChunkPixelFormatEnums >& ChunkPixelFormat;
  228. //@}
  229. //! \name ChunkData - This category includes items related to the chunk data that can be appended to the image data
  230. //@{
  231. /*!
  232. \brief Indicates the value of the timestamp when the image was acquired
  233. This integer indicates the value of the timestamp when the image was acquired.
  234. \b Visibility = Beginner
  235. */
  236. GENAPI_NAMESPACE::IInteger& ChunkTimestamp;
  237. //@}
  238. //! \name ChunkData - This category includes items related to the chunk data that can be appended to the image data
  239. //@{
  240. /*!
  241. \brief Indicates the value of the frame counter when the image was acquired
  242. This integer indicates the value of the frame counter when the image was acquired.
  243. \b Visibility = Beginner
  244. */
  245. GENAPI_NAMESPACE::IInteger& ChunkFramecounter;
  246. //@}
  247. //! \name ChunkData - This category includes items related to the chunk data that can be appended to the image data
  248. //@{
  249. /*!
  250. \brief A bit field that indicates the status of all of the camera's input and output lines when the image was acquired
  251. This value is a bit field that indicates the status of all of the camera's input and output lines when the image was acquired.
  252. \b Visibility = Beginner
  253. */
  254. GENAPI_NAMESPACE::IInteger& ChunkLineStatusAll;
  255. //@}
  256. //! \name ChunkData - This category includes items related to the chunk data that can be appended to the image data
  257. //@{
  258. /*!
  259. \brief A bit field that indicates the status of all of the camera's virtual input and output lines when the image was acquired
  260. This value is a bit field that indicates the status of all of the camera's virtual input and output lines when the image was acquired.
  261. \b Visibility = Beginner
  262. */
  263. GENAPI_NAMESPACE::IInteger& ChunkVirtLineStatusAll;
  264. //@}
  265. //! \name ChunkData - This category includes items related to the chunk data that can be appended to the image data
  266. //@{
  267. /*!
  268. \brief Indicates the value of the trigger input counter when the image was acquired
  269. This integer indicates the value of the trigger input counter when the image was acquired.
  270. \b Visibility = Beginner
  271. */
  272. GENAPI_NAMESPACE::IInteger& ChunkTriggerinputcounter;
  273. //@}
  274. //! \name ChunkData - This category includes items related to the chunk data that can be appended to the image data
  275. //@{
  276. /*!
  277. \brief
  278. \b Visibility = Beginner
  279. */
  280. GENAPI_NAMESPACE::IInteger& ChunkLineTriggerIgnoredCounter;
  281. //@}
  282. //! \name ChunkData - This category includes items related to the chunk data that can be appended to the image data
  283. //@{
  284. /*!
  285. \brief
  286. \b Visibility = Beginner
  287. */
  288. GENAPI_NAMESPACE::IInteger& ChunkFrameTriggerIgnoredCounter;
  289. //@}
  290. //! \name ChunkData - This category includes items related to the chunk data that can be appended to the image data
  291. //@{
  292. /*!
  293. \brief
  294. \b Visibility = Beginner
  295. */
  296. GENAPI_NAMESPACE::IInteger& ChunkFrameTriggerCounter;
  297. //@}
  298. //! \name ChunkData - This category includes items related to the chunk data that can be appended to the image data
  299. //@{
  300. /*!
  301. \brief
  302. \b Visibility = Beginner
  303. */
  304. GENAPI_NAMESPACE::IInteger& ChunkFramesPerTriggerCounter;
  305. //@}
  306. //! \name ChunkData - This category includes items related to the chunk data that can be appended to the image data
  307. //@{
  308. /*!
  309. \brief
  310. \b Visibility = Beginner
  311. */
  312. GENAPI_NAMESPACE::IInteger& ChunkLineTriggerEndToEndCounter;
  313. //@}
  314. //! \name ChunkData - This category includes items related to the chunk data that can be appended to the image data
  315. //@{
  316. /*!
  317. \brief Number of bits per status
  318. \b Visibility = Beginner
  319. */
  320. GENAPI_NAMESPACE::IInteger& ChunkInputStatusAtLineTriggerBitsPerLine;
  321. //@}
  322. //! \name ChunkData - This category includes items related to the chunk data that can be appended to the image data
  323. //@{
  324. /*!
  325. \brief Used to select a certain status
  326. \b Visibility = Beginner
  327. */
  328. GENAPI_NAMESPACE::IInteger& ChunkInputStatusAtLineTriggerIndex;
  329. //@}
  330. //! \name ChunkData - This category includes items related to the chunk data that can be appended to the image data
  331. //@{
  332. /*!
  333. \brief Value of the status selected by 'Index'
  334. \b Visibility = Beginner
  335. */
  336. GENAPI_NAMESPACE::IInteger& ChunkInputStatusAtLineTriggerValue;
  337. //@}
  338. //! \name ChunkData - This category includes items related to the chunk data that can be appended to the image data
  339. //@{
  340. /*!
  341. \brief Shaft encoder counter at frame trigger
  342. \b Visibility = Beginner
  343. */
  344. GENAPI_NAMESPACE::IInteger& ChunkShaftEncoderCounter;
  345. //@}
  346. //! \name ChunkData - This category includes items related to the chunk data that can be appended to the image data
  347. //@{
  348. /*!
  349. \brief
  350. \b Visibility = Beginner
  351. */
  352. GENAPI_NAMESPACE::IFloat& ChunkExposureTime;
  353. //@}
  354. //! \name ChunkData - This category includes items related to the chunk data that can be appended to the image data
  355. //@{
  356. /*!
  357. \brief Indicates the value of CRC checksum
  358. This integer indicates the value of CRC checksum.
  359. \b Visibility = Beginner
  360. */
  361. GENAPI_NAMESPACE::IInteger& ChunkPayloadCRC16;
  362. //@}
  363. //! \name ChunkData - This category includes items related to the chunk data that can be appended to the image data
  364. //@{
  365. /*!
  366. \brief
  367. \b Visibility = Beginner
  368. */
  369. GENAPI_NAMESPACE::IInteger& ChunkGainAll;
  370. //@}
  371. //! \name ChunkData - This category includes items related to the chunk data that can be appended to the image data
  372. //@{
  373. /*!
  374. \brief
  375. \b Visibility = Beginner
  376. */
  377. GENAPI_NAMESPACE::IInteger& ChunkLineTriggerCounter;
  378. //@}
  379. private:
  380. //! \cond HIDE_CLASS_METHODS
  381. //! not implemented copy constructor
  382. CGigEChunkData_Params( CGigEChunkData_Params& );
  383. //! not implemented assignment operator
  384. CGigEChunkData_Params& operator=( CGigEChunkData_Params& );
  385. //! \endcond
  386. };
  387. //**************************************************************************************************
  388. // Parameter class implementation
  389. //**************************************************************************************************
  390. //! \cond HIDE_CLASS_METHODS
  391. inline CGigEChunkData_Params::CGigEChunkData_Params( void )
  392. : ChunkStride( *new GENAPI_NAMESPACE::CIntegerRef() )
  393. , ChunkSequenceSetIndex( *new GENAPI_NAMESPACE::CIntegerRef() )
  394. , ChunkOffsetX( *new GENAPI_NAMESPACE::CIntegerRef() )
  395. , ChunkOffsetY( *new GENAPI_NAMESPACE::CIntegerRef() )
  396. , ChunkWidth( *new GENAPI_NAMESPACE::CIntegerRef() )
  397. , ChunkHeight( *new GENAPI_NAMESPACE::CIntegerRef() )
  398. , ChunkDynamicRangeMin( *new GENAPI_NAMESPACE::CIntegerRef() )
  399. , ChunkDynamicRangeMax( *new GENAPI_NAMESPACE::CIntegerRef() )
  400. , ChunkPixelFormat( *new GENAPI_NAMESPACE::CEnumerationTRef<ChunkPixelFormatEnums>() )
  401. , ChunkTimestamp( *new GENAPI_NAMESPACE::CIntegerRef() )
  402. , ChunkFramecounter( *new GENAPI_NAMESPACE::CIntegerRef() )
  403. , ChunkLineStatusAll( *new GENAPI_NAMESPACE::CIntegerRef() )
  404. , ChunkVirtLineStatusAll( *new GENAPI_NAMESPACE::CIntegerRef() )
  405. , ChunkTriggerinputcounter( *new GENAPI_NAMESPACE::CIntegerRef() )
  406. , ChunkLineTriggerIgnoredCounter( *new GENAPI_NAMESPACE::CIntegerRef() )
  407. , ChunkFrameTriggerIgnoredCounter( *new GENAPI_NAMESPACE::CIntegerRef() )
  408. , ChunkFrameTriggerCounter( *new GENAPI_NAMESPACE::CIntegerRef() )
  409. , ChunkFramesPerTriggerCounter( *new GENAPI_NAMESPACE::CIntegerRef() )
  410. , ChunkLineTriggerEndToEndCounter( *new GENAPI_NAMESPACE::CIntegerRef() )
  411. , ChunkInputStatusAtLineTriggerBitsPerLine( *new GENAPI_NAMESPACE::CIntegerRef() )
  412. , ChunkInputStatusAtLineTriggerIndex( *new GENAPI_NAMESPACE::CIntegerRef() )
  413. , ChunkInputStatusAtLineTriggerValue( *new GENAPI_NAMESPACE::CIntegerRef() )
  414. , ChunkShaftEncoderCounter( *new GENAPI_NAMESPACE::CIntegerRef() )
  415. , ChunkExposureTime( *new GENAPI_NAMESPACE::CFloatRef() )
  416. , ChunkPayloadCRC16( *new GENAPI_NAMESPACE::CIntegerRef() )
  417. , ChunkGainAll( *new GENAPI_NAMESPACE::CIntegerRef() )
  418. , ChunkLineTriggerCounter( *new GENAPI_NAMESPACE::CIntegerRef() )
  419. {
  420. }
  421. inline CGigEChunkData_Params::~CGigEChunkData_Params( void )
  422. {
  423. delete static_cast <GENAPI_NAMESPACE::CIntegerRef*> (&ChunkStride);
  424. delete static_cast <GENAPI_NAMESPACE::CIntegerRef*> (&ChunkSequenceSetIndex);
  425. delete static_cast <GENAPI_NAMESPACE::CIntegerRef*> (&ChunkOffsetX);
  426. delete static_cast <GENAPI_NAMESPACE::CIntegerRef*> (&ChunkOffsetY);
  427. delete static_cast <GENAPI_NAMESPACE::CIntegerRef*> (&ChunkWidth);
  428. delete static_cast <GENAPI_NAMESPACE::CIntegerRef*> (&ChunkHeight);
  429. delete static_cast <GENAPI_NAMESPACE::CIntegerRef*> (&ChunkDynamicRangeMin);
  430. delete static_cast <GENAPI_NAMESPACE::CIntegerRef*> (&ChunkDynamicRangeMax);
  431. delete static_cast <GENAPI_NAMESPACE::CEnumerationTRef<ChunkPixelFormatEnums>*> (&ChunkPixelFormat);
  432. delete static_cast <GENAPI_NAMESPACE::CIntegerRef*> (&ChunkTimestamp);
  433. delete static_cast <GENAPI_NAMESPACE::CIntegerRef*> (&ChunkFramecounter);
  434. delete static_cast <GENAPI_NAMESPACE::CIntegerRef*> (&ChunkLineStatusAll);
  435. delete static_cast <GENAPI_NAMESPACE::CIntegerRef*> (&ChunkVirtLineStatusAll);
  436. delete static_cast <GENAPI_NAMESPACE::CIntegerRef*> (&ChunkTriggerinputcounter);
  437. delete static_cast <GENAPI_NAMESPACE::CIntegerRef*> (&ChunkLineTriggerIgnoredCounter);
  438. delete static_cast <GENAPI_NAMESPACE::CIntegerRef*> (&ChunkFrameTriggerIgnoredCounter);
  439. delete static_cast <GENAPI_NAMESPACE::CIntegerRef*> (&ChunkFrameTriggerCounter);
  440. delete static_cast <GENAPI_NAMESPACE::CIntegerRef*> (&ChunkFramesPerTriggerCounter);
  441. delete static_cast <GENAPI_NAMESPACE::CIntegerRef*> (&ChunkLineTriggerEndToEndCounter);
  442. delete static_cast <GENAPI_NAMESPACE::CIntegerRef*> (&ChunkInputStatusAtLineTriggerBitsPerLine);
  443. delete static_cast <GENAPI_NAMESPACE::CIntegerRef*> (&ChunkInputStatusAtLineTriggerIndex);
  444. delete static_cast <GENAPI_NAMESPACE::CIntegerRef*> (&ChunkInputStatusAtLineTriggerValue);
  445. delete static_cast <GENAPI_NAMESPACE::CIntegerRef*> (&ChunkShaftEncoderCounter);
  446. delete static_cast <GENAPI_NAMESPACE::CFloatRef*> (&ChunkExposureTime);
  447. delete static_cast <GENAPI_NAMESPACE::CIntegerRef*> (&ChunkPayloadCRC16);
  448. delete static_cast <GENAPI_NAMESPACE::CIntegerRef*> (&ChunkGainAll);
  449. delete static_cast <GENAPI_NAMESPACE::CIntegerRef*> (&ChunkLineTriggerCounter);
  450. }
  451. inline void CGigEChunkData_Params::_Initialize( GENAPI_NAMESPACE::INodeMap* _Ptr )
  452. {
  453. static_cast<GENAPI_NAMESPACE::CIntegerRef*> (&ChunkStride)->SetReference( _Ptr->GetNode( "ChunkStride" ) );
  454. static_cast<GENAPI_NAMESPACE::CIntegerRef*> (&ChunkSequenceSetIndex)->SetReference( _Ptr->GetNode( "ChunkSequenceSetIndex" ) );
  455. static_cast<GENAPI_NAMESPACE::CIntegerRef*> (&ChunkOffsetX)->SetReference( _Ptr->GetNode( "ChunkOffsetX" ) );
  456. static_cast<GENAPI_NAMESPACE::CIntegerRef*> (&ChunkOffsetY)->SetReference( _Ptr->GetNode( "ChunkOffsetY" ) );
  457. static_cast<GENAPI_NAMESPACE::CIntegerRef*> (&ChunkWidth)->SetReference( _Ptr->GetNode( "ChunkWidth" ) );
  458. static_cast<GENAPI_NAMESPACE::CIntegerRef*> (&ChunkHeight)->SetReference( _Ptr->GetNode( "ChunkHeight" ) );
  459. static_cast<GENAPI_NAMESPACE::CIntegerRef*> (&ChunkDynamicRangeMin)->SetReference( _Ptr->GetNode( "ChunkDynamicRangeMin" ) );
  460. static_cast<GENAPI_NAMESPACE::CIntegerRef*> (&ChunkDynamicRangeMax)->SetReference( _Ptr->GetNode( "ChunkDynamicRangeMax" ) );
  461. static_cast<GENAPI_NAMESPACE::CEnumerationTRef<ChunkPixelFormatEnums>*> (&ChunkPixelFormat)->SetReference( _Ptr->GetNode( "ChunkPixelFormat" ) );
  462. static_cast<GENAPI_NAMESPACE::CEnumerationTRef<ChunkPixelFormatEnums>*> (&ChunkPixelFormat)->SetNumEnums( 51 );
  463. static_cast<GENAPI_NAMESPACE::CEnumerationTRef<ChunkPixelFormatEnums>*> (&ChunkPixelFormat)->SetEnumReference( ChunkPixelFormat_Mono8, "Mono8" ); static_cast<GENAPI_NAMESPACE::CEnumerationTRef<ChunkPixelFormatEnums>*> (&ChunkPixelFormat)->SetEnumReference( ChunkPixelFormat_Mono8Signed, "Mono8Signed" ); static_cast<GENAPI_NAMESPACE::CEnumerationTRef<ChunkPixelFormatEnums>*> (&ChunkPixelFormat)->SetEnumReference( ChunkPixelFormat_Mono10, "Mono10" ); static_cast<GENAPI_NAMESPACE::CEnumerationTRef<ChunkPixelFormatEnums>*> (&ChunkPixelFormat)->SetEnumReference( ChunkPixelFormat_Mono10Packed, "Mono10Packed" ); static_cast<GENAPI_NAMESPACE::CEnumerationTRef<ChunkPixelFormatEnums>*> (&ChunkPixelFormat)->SetEnumReference( ChunkPixelFormat_Mono10p, "Mono10p" ); static_cast<GENAPI_NAMESPACE::CEnumerationTRef<ChunkPixelFormatEnums>*> (&ChunkPixelFormat)->SetEnumReference( ChunkPixelFormat_Mono12, "Mono12" ); static_cast<GENAPI_NAMESPACE::CEnumerationTRef<ChunkPixelFormatEnums>*> (&ChunkPixelFormat)->SetEnumReference( ChunkPixelFormat_Mono12Packed, "Mono12Packed" ); static_cast<GENAPI_NAMESPACE::CEnumerationTRef<ChunkPixelFormatEnums>*> (&ChunkPixelFormat)->SetEnumReference( ChunkPixelFormat_Mono16, "Mono16" ); static_cast<GENAPI_NAMESPACE::CEnumerationTRef<ChunkPixelFormatEnums>*> (&ChunkPixelFormat)->SetEnumReference( ChunkPixelFormat_BayerGR8, "BayerGR8" ); static_cast<GENAPI_NAMESPACE::CEnumerationTRef<ChunkPixelFormatEnums>*> (&ChunkPixelFormat)->SetEnumReference( ChunkPixelFormat_BayerRG8, "BayerRG8" ); static_cast<GENAPI_NAMESPACE::CEnumerationTRef<ChunkPixelFormatEnums>*> (&ChunkPixelFormat)->SetEnumReference( ChunkPixelFormat_BayerGB8, "BayerGB8" ); static_cast<GENAPI_NAMESPACE::CEnumerationTRef<ChunkPixelFormatEnums>*> (&ChunkPixelFormat)->SetEnumReference( ChunkPixelFormat_BayerBG8, "BayerBG8" ); static_cast<GENAPI_NAMESPACE::CEnumerationTRef<ChunkPixelFormatEnums>*> (&ChunkPixelFormat)->SetEnumReference( ChunkPixelFormat_BayerGR10, "BayerGR10" ); static_cast<GENAPI_NAMESPACE::CEnumerationTRef<ChunkPixelFormatEnums>*> (&ChunkPixelFormat)->SetEnumReference( ChunkPixelFormat_BayerRG10, "BayerRG10" ); static_cast<GENAPI_NAMESPACE::CEnumerationTRef<ChunkPixelFormatEnums>*> (&ChunkPixelFormat)->SetEnumReference( ChunkPixelFormat_BayerGB10, "BayerGB10" ); static_cast<GENAPI_NAMESPACE::CEnumerationTRef<ChunkPixelFormatEnums>*> (&ChunkPixelFormat)->SetEnumReference( ChunkPixelFormat_BayerBG10, "BayerBG10" ); static_cast<GENAPI_NAMESPACE::CEnumerationTRef<ChunkPixelFormatEnums>*> (&ChunkPixelFormat)->SetEnumReference( ChunkPixelFormat_BayerGR12, "BayerGR12" ); static_cast<GENAPI_NAMESPACE::CEnumerationTRef<ChunkPixelFormatEnums>*> (&ChunkPixelFormat)->SetEnumReference( ChunkPixelFormat_BayerRG12, "BayerRG12" ); static_cast<GENAPI_NAMESPACE::CEnumerationTRef<ChunkPixelFormatEnums>*> (&ChunkPixelFormat)->SetEnumReference( ChunkPixelFormat_BayerGB12, "BayerGB12" ); static_cast<GENAPI_NAMESPACE::CEnumerationTRef<ChunkPixelFormatEnums>*> (&ChunkPixelFormat)->SetEnumReference( ChunkPixelFormat_BayerBG12, "BayerBG12" ); static_cast<GENAPI_NAMESPACE::CEnumerationTRef<ChunkPixelFormatEnums>*> (&ChunkPixelFormat)->SetEnumReference( ChunkPixelFormat_BayerGR16, "BayerGR16" ); static_cast<GENAPI_NAMESPACE::CEnumerationTRef<ChunkPixelFormatEnums>*> (&ChunkPixelFormat)->SetEnumReference( ChunkPixelFormat_BayerRG16, "BayerRG16" ); static_cast<GENAPI_NAMESPACE::CEnumerationTRef<ChunkPixelFormatEnums>*> (&ChunkPixelFormat)->SetEnumReference( ChunkPixelFormat_BayerGB16, "BayerGB16" ); static_cast<GENAPI_NAMESPACE::CEnumerationTRef<ChunkPixelFormatEnums>*> (&ChunkPixelFormat)->SetEnumReference( ChunkPixelFormat_BayerBG16, "BayerBG16" ); static_cast<GENAPI_NAMESPACE::CEnumerationTRef<ChunkPixelFormatEnums>*> (&ChunkPixelFormat)->SetEnumReference( ChunkPixelFormat_RGB8Packed, "RGB8Packed" ); static_cast<GENAPI_NAMESPACE::CEnumerationTRef<ChunkPixelFormatEnums>*> (&ChunkPixelFormat)->SetEnumReference( ChunkPixelFormat_BGR8Packed, "BGR8Packed" ); static_cast<GENAPI_NAMESPACE::CEnumerationTRef<ChunkPixelFormatEnums>*> (&ChunkPixelFormat)->SetEnumReference( ChunkPixelFormat_RGBA8Packed, "RGBA8Packed" ); static_cast<GENAPI_NAMESPACE::CEnumerationTRef<ChunkPixelFormatEnums>*> (&ChunkPixelFormat)->SetEnumReference( ChunkPixelFormat_BGRA8Packed, "BGRA8Packed" ); static_cast<GENAPI_NAMESPACE::CEnumerationTRef<ChunkPixelFormatEnums>*> (&ChunkPixelFormat)->SetEnumReference( ChunkPixelFormat_RGB10Packed, "RGB10Packed" ); static_cast<GENAPI_NAMESPACE::CEnumerationTRef<ChunkPixelFormatEnums>*> (&ChunkPixelFormat)->SetEnumReference( ChunkPixelFormat_BGR10Packed, "BGR10Packed" ); static_cast<GENAPI_NAMESPACE::CEnumerationTRef<ChunkPixelFormatEnums>*> (&ChunkPixelFormat)->SetEnumReference( ChunkPixelFormat_RGB12Packed, "RGB12Packed" ); static_cast<GENAPI_NAMESPACE::CEnumerationTRef<ChunkPixelFormatEnums>*> (&ChunkPixelFormat)->SetEnumReference( ChunkPixelFormat_BGR12Packed, "BGR12Packed" ); static_cast<GENAPI_NAMESPACE::CEnumerationTRef<ChunkPixelFormatEnums>*> (&ChunkPixelFormat)->SetEnumReference( ChunkPixelFormat_RGB10V1Packed, "RGB10V1Packed" ); static_cast<GENAPI_NAMESPACE::CEnumerationTRef<ChunkPixelFormatEnums>*> (&ChunkPixelFormat)->SetEnumReference( ChunkPixelFormat_RGB10V2Packed, "RGB10V2Packed" ); static_cast<GENAPI_NAMESPACE::CEnumerationTRef<ChunkPixelFormatEnums>*> (&ChunkPixelFormat)->SetEnumReference( ChunkPixelFormat_YUV411Packed, "YUV411Packed" ); static_cast<GENAPI_NAMESPACE::CEnumerationTRef<ChunkPixelFormatEnums>*> (&ChunkPixelFormat)->SetEnumReference( ChunkPixelFormat_YUV422Packed, "YUV422Packed" ); static_cast<GENAPI_NAMESPACE::CEnumerationTRef<ChunkPixelFormatEnums>*> (&ChunkPixelFormat)->SetEnumReference( ChunkPixelFormat_YUV444Packed, "YUV444Packed" ); static_cast<GENAPI_NAMESPACE::CEnumerationTRef<ChunkPixelFormatEnums>*> (&ChunkPixelFormat)->SetEnumReference( ChunkPixelFormat_RGB8Planar, "RGB8Planar" ); static_cast<GENAPI_NAMESPACE::CEnumerationTRef<ChunkPixelFormatEnums>*> (&ChunkPixelFormat)->SetEnumReference( ChunkPixelFormat_RGB10Planar, "RGB10Planar" ); static_cast<GENAPI_NAMESPACE::CEnumerationTRef<ChunkPixelFormatEnums>*> (&ChunkPixelFormat)->SetEnumReference( ChunkPixelFormat_RGB12Planar, "RGB12Planar" ); static_cast<GENAPI_NAMESPACE::CEnumerationTRef<ChunkPixelFormatEnums>*> (&ChunkPixelFormat)->SetEnumReference( ChunkPixelFormat_RGB16Planar, "RGB16Planar" ); static_cast<GENAPI_NAMESPACE::CEnumerationTRef<ChunkPixelFormatEnums>*> (&ChunkPixelFormat)->SetEnumReference( ChunkPixelFormat_YUV422_YUYV_Packed, "YUV422_YUYV_Packed" ); static_cast<GENAPI_NAMESPACE::CEnumerationTRef<ChunkPixelFormatEnums>*> (&ChunkPixelFormat)->SetEnumReference( ChunkPixelFormat_BayerGB12Packed, "BayerGB12Packed" ); static_cast<GENAPI_NAMESPACE::CEnumerationTRef<ChunkPixelFormatEnums>*> (&ChunkPixelFormat)->SetEnumReference( ChunkPixelFormat_BayerGR12Packed, "BayerGR12Packed" ); static_cast<GENAPI_NAMESPACE::CEnumerationTRef<ChunkPixelFormatEnums>*> (&ChunkPixelFormat)->SetEnumReference( ChunkPixelFormat_BayerRG12Packed, "BayerRG12Packed" ); static_cast<GENAPI_NAMESPACE::CEnumerationTRef<ChunkPixelFormatEnums>*> (&ChunkPixelFormat)->SetEnumReference( ChunkPixelFormat_BayerBG12Packed, "BayerBG12Packed" ); static_cast<GENAPI_NAMESPACE::CEnumerationTRef<ChunkPixelFormatEnums>*> (&ChunkPixelFormat)->SetEnumReference( ChunkPixelFormat_RGB12V1Packed, "RGB12V1Packed" ); static_cast<GENAPI_NAMESPACE::CEnumerationTRef<ChunkPixelFormatEnums>*> (&ChunkPixelFormat)->SetEnumReference( ChunkPixelFormat_BayerGB10p, "BayerGB10p" ); static_cast<GENAPI_NAMESPACE::CEnumerationTRef<ChunkPixelFormatEnums>*> (&ChunkPixelFormat)->SetEnumReference( ChunkPixelFormat_BayerGR10p, "BayerGR10p" ); static_cast<GENAPI_NAMESPACE::CEnumerationTRef<ChunkPixelFormatEnums>*> (&ChunkPixelFormat)->SetEnumReference( ChunkPixelFormat_BayerRG10p, "BayerRG10p" ); static_cast<GENAPI_NAMESPACE::CEnumerationTRef<ChunkPixelFormatEnums>*> (&ChunkPixelFormat)->SetEnumReference( ChunkPixelFormat_BayerBG10p, "BayerBG10p" ); static_cast<GENAPI_NAMESPACE::CIntegerRef*> (&ChunkTimestamp)->SetReference( _Ptr->GetNode( "ChunkTimestamp" ) );
  464. static_cast<GENAPI_NAMESPACE::CIntegerRef*> (&ChunkFramecounter)->SetReference( _Ptr->GetNode( "ChunkFramecounter" ) );
  465. static_cast<GENAPI_NAMESPACE::CIntegerRef*> (&ChunkLineStatusAll)->SetReference( _Ptr->GetNode( "ChunkLineStatusAll" ) );
  466. static_cast<GENAPI_NAMESPACE::CIntegerRef*> (&ChunkVirtLineStatusAll)->SetReference( _Ptr->GetNode( "ChunkVirtLineStatusAll" ) );
  467. static_cast<GENAPI_NAMESPACE::CIntegerRef*> (&ChunkTriggerinputcounter)->SetReference( _Ptr->GetNode( "ChunkTriggerinputcounter" ) );
  468. static_cast<GENAPI_NAMESPACE::CIntegerRef*> (&ChunkLineTriggerIgnoredCounter)->SetReference( _Ptr->GetNode( "ChunkLineTriggerIgnoredCounter" ) );
  469. static_cast<GENAPI_NAMESPACE::CIntegerRef*> (&ChunkFrameTriggerIgnoredCounter)->SetReference( _Ptr->GetNode( "ChunkFrameTriggerIgnoredCounter" ) );
  470. static_cast<GENAPI_NAMESPACE::CIntegerRef*> (&ChunkFrameTriggerCounter)->SetReference( _Ptr->GetNode( "ChunkFrameTriggerCounter" ) );
  471. static_cast<GENAPI_NAMESPACE::CIntegerRef*> (&ChunkFramesPerTriggerCounter)->SetReference( _Ptr->GetNode( "ChunkFramesPerTriggerCounter" ) );
  472. static_cast<GENAPI_NAMESPACE::CIntegerRef*> (&ChunkLineTriggerEndToEndCounter)->SetReference( _Ptr->GetNode( "ChunkLineTriggerEndToEndCounter" ) );
  473. static_cast<GENAPI_NAMESPACE::CIntegerRef*> (&ChunkInputStatusAtLineTriggerBitsPerLine)->SetReference( _Ptr->GetNode( "ChunkInputStatusAtLineTriggerBitsPerLine" ) );
  474. static_cast<GENAPI_NAMESPACE::CIntegerRef*> (&ChunkInputStatusAtLineTriggerIndex)->SetReference( _Ptr->GetNode( "ChunkInputStatusAtLineTriggerIndex" ) );
  475. static_cast<GENAPI_NAMESPACE::CIntegerRef*> (&ChunkInputStatusAtLineTriggerValue)->SetReference( _Ptr->GetNode( "ChunkInputStatusAtLineTriggerValue" ) );
  476. static_cast<GENAPI_NAMESPACE::CIntegerRef*> (&ChunkShaftEncoderCounter)->SetReference( _Ptr->GetNode( "ChunkShaftEncoderCounter" ) );
  477. static_cast<GENAPI_NAMESPACE::CFloatRef*> (&ChunkExposureTime)->SetReference( _Ptr->GetNode( "ChunkExposureTime" ) );
  478. static_cast<GENAPI_NAMESPACE::CIntegerRef*> (&ChunkPayloadCRC16)->SetReference( _Ptr->GetNode( "ChunkPayloadCRC16" ) );
  479. static_cast<GENAPI_NAMESPACE::CIntegerRef*> (&ChunkGainAll)->SetReference( _Ptr->GetNode( "ChunkGainAll" ) );
  480. static_cast<GENAPI_NAMESPACE::CIntegerRef*> (&ChunkLineTriggerCounter)->SetReference( _Ptr->GetNode( "ChunkLineTriggerCounter" ) );
  481. }
  482. inline const char* CGigEChunkData_Params::_GetVendorName( void )
  483. {
  484. return "Basler";
  485. }
  486. inline const char* CGigEChunkData_Params::_GetModelName( void )
  487. {
  488. return "GigEChunkData";
  489. }
  490. //! \endcond
  491. } // namespace Basler_GigEChunkData
  492. #if GCC_DIAGNOSTIC_AWARE
  493. # if GCC_DIAGNOSTIC_PUSH_POP_AWARE
  494. # pragma GCC diagnostic pop
  495. # else
  496. # pragma GCC diagnostic warning "-Wdeprecated-declarations"
  497. # endif
  498. #endif
  499. #undef GENAPI_DEPRECATED_FEATURE
  500. #endif // Basler_GigEChunkData_PARAMS_H