_InstantCameraParams.h 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421
  1. //-----------------------------------------------------------------------------
  2. // Basler pylon SDK
  3. // Copyright (c) 2010-2021 Basler AG
  4. // http://www.baslerweb.com
  5. //-----------------------------------------------------------------------------
  6. /*!
  7. \file
  8. \brief A parameter class containing all parameters as members that are available for Instant Camera
  9. The parameter class is used by the \c Pylon::CInstantCamera class.
  10. The code sample \ref sample_Grab shows the usage by setting the MaxNumBuffer parameter.
  11. */
  12. //-----------------------------------------------------------------------------
  13. // This file is generated automatically
  14. // Do not modify!
  15. //-----------------------------------------------------------------------------
  16. #ifndef BASLER_PYLON_INSTANTCAMERAPARAMS_H
  17. #define BASLER_PYLON_INSTANTCAMERAPARAMS_H
  18. #pragma once
  19. // common parameter types
  20. #include <pylon/ParameterIncludes.h>
  21. #include <pylon/EnumParameterT.h>
  22. namespace Basler_InstantCameraParams
  23. {
  24. //**************************************************************************************************
  25. // Enumerations
  26. //**************************************************************************************************
  27. //**************************************************************************************************
  28. // Parameter class CInstantCameraParams_Params_v6_3_0
  29. //**************************************************************************************************
  30. /*!
  31. \brief A parameter class containing all parameters as members that are available for Instant Camera
  32. The parameter class is used by the \c Pylon::CInstantCamera class.
  33. The code sample \ref sample_Grab shows the usage by setting the MaxNumBuffer parameter.
  34. */
  35. class PYLONBASE_API CInstantCameraParams_Params_v6_3_0
  36. {
  37. //----------------------------------------------------------------------------------------------------------------
  38. // Implementation
  39. //----------------------------------------------------------------------------------------------------------------
  40. protected:
  41. // If you want to show the following methods in the help file
  42. // add the string HIDE_CLASS_METHODS to the ENABLED_SECTIONS tag in the doxygen file
  43. //! \cond HIDE_CLASS_METHODS
  44. //! Constructor
  45. CInstantCameraParams_Params_v6_3_0( void );
  46. //! Destructor
  47. ~CInstantCameraParams_Params_v6_3_0( void );
  48. //! Initializes the references
  49. void _Initialize( GENAPI_NAMESPACE::INodeMap* );
  50. //! \endcond
  51. private:
  52. class CInstantCameraParams_Params_v6_3_0_Data;
  53. CInstantCameraParams_Params_v6_3_0_Data* m_pCInstantCameraParams_Params_v6_3_0_Data;
  54. //----------------------------------------------------------------------------------------------------------------
  55. // References to features
  56. //----------------------------------------------------------------------------------------------------------------
  57. public:
  58. //! \name Categories: Root
  59. //@{
  60. /*!
  61. \brief If set, this will automatically execute AcquisitionStart when calling StartGrabbing and AcquisitionStop when calling StopGrabbing This option is enabled by default - Applies to: InstantCamera
  62. Visibility: Guru
  63. */
  64. Pylon::IBooleanEx& AcquisitionStartStopExecutionEnable;
  65. //@}
  66. //! \name Categories: Root
  67. //@{
  68. /*!
  69. \brief Enables/disables the use of a chunk node map for each grab result Grab result chunk node maps can be disabled to save resources - Applies to: InstantCamera
  70. Visibility: Guru
  71. */
  72. Pylon::IBooleanEx& ChunkNodeMapsEnable;
  73. //@}
  74. //! \name Categories: Root
  75. //@{
  76. /*!
  77. \brief If set, all buffers will be cleared (set to 0) before grabbing an image Note that this requires additional processing time per frame - Applies to: InstantCamera
  78. Visibility: Guru
  79. */
  80. Pylon::IBooleanEx& ClearBufferModeEnable;
  81. //@}
  82. //! \name Categories: Root
  83. //@{
  84. /*!
  85. \brief Enables/disables the grabbing of camera events while images are grabbed Is writable when the camera object is closed - Applies to: InstantCamera
  86. Visibility: Expert
  87. */
  88. Pylon::IBooleanEx& GrabCameraEvents;
  89. //@}
  90. //! \name Categories: GrabLoopThread
  91. //@{
  92. /*!
  93. \brief The grab loop thread priority - Applies to: InstantCamera
  94. This value sets the absolute thread priority for the grab loop thread.
  95. Visibility: Guru
  96. */
  97. Pylon::IIntegerEx& GrabLoopThreadPriority;
  98. //@}
  99. //! \name Categories: GrabLoopThread
  100. //@{
  101. /*!
  102. \brief If enabled, the user can set a custom priority for the grab loop thread Otherwise, the priority of the newly created thread is not changed - Applies to: InstantCamera
  103. Visibility: Guru
  104. */
  105. Pylon::IBooleanEx& GrabLoopThreadPriorityOverride;
  106. //@}
  107. //! \name Categories: GrabLoopThread
  108. //@{
  109. /*!
  110. \brief A custom timeout for the grab loop thread's call to RetrieveResult RetrieveResult is configured to throw an exception on timeout, which will stop the grab session - Applies to: InstantCamera
  111. Visibility: Beginner
  112. */
  113. Pylon::IIntegerEx& GrabLoopThreadTimeout;
  114. //@}
  115. //! \name Categories: GrabLoopThread
  116. //@{
  117. /*!
  118. \brief If enabled, the user can set a custom timeout for the grab loop thread's call to RetrieveResult RetrieveResult is configured to throw an exception on timeout, which will stop the grab session - Applies to: InstantCamera
  119. Visibility: Guru
  120. */
  121. Pylon::IBooleanEx& GrabLoopThreadUseTimeout;
  122. //@}
  123. //! \name Categories: InternalGrabEngineThread
  124. //@{
  125. /*!
  126. \brief The internal grab engine thread priority - Applies to: InstantCamera
  127. This value sets the absolute thread priority for the internal grab engine thread operating the stream grabber.
  128. Visibility: Guru
  129. */
  130. Pylon::IIntegerEx& InternalGrabEngineThreadPriority;
  131. //@}
  132. //! \name Categories: InternalGrabEngineThread
  133. //@{
  134. /*!
  135. \brief If enabled, the user can set a custom priority for the internal grab engine thread operating the stream grabber Otherwise the priority defaults to 25 - Applies to: InstantCamera
  136. Visibility: Guru
  137. */
  138. Pylon::IBooleanEx& InternalGrabEngineThreadPriorityOverride;
  139. //@}
  140. //! \name Categories: Root
  141. //@{
  142. /*!
  143. \brief The maximum number of buffers that are allocated and used for grabbing - Applies to: InstantCamera
  144. Visibility: Beginner
  145. */
  146. Pylon::IIntegerEx& MaxNumBuffer;
  147. //@}
  148. //! \name Categories: Root
  149. //@{
  150. /*!
  151. \brief The maximum number of grab results available at any time during a grab session This value can be limited to save resources Furthermore, it can be used to check that the grab results are returned correctly - Applies to: InstantCamera
  152. Visibility: Beginner
  153. */
  154. Pylon::IIntegerEx& MaxNumGrabResults;
  155. //@}
  156. //! \name Categories: Root
  157. //@{
  158. /*!
  159. \brief The maximum number of buffers that are queued in the stream grabber input queue - Applies to: InstantCamera
  160. Visibility: Beginner
  161. */
  162. Pylon::IIntegerEx& MaxNumQueuedBuffer;
  163. //@}
  164. //! \name Categories: Root
  165. //@{
  166. /*!
  167. \brief The migration mode is set up according to this setting at defined points e g , when the camera is opened - Applies to: InstantCamera
  168. Visibility: Guru
  169. */
  170. Pylon::IBooleanEx& MigrationModeActive;
  171. //@}
  172. //! \name Categories: Root
  173. //@{
  174. /*!
  175. \brief The camera object is set to monitor mode when enabled, e g when using the GigE multicast feature Is writable when the camera object is closed - Applies to: InstantCamera
  176. Visibility: Guru
  177. */
  178. Pylon::IBooleanEx& MonitorModeActive;
  179. //@}
  180. //! \name Categories: Root
  181. //@{
  182. /*!
  183. \brief The number of empty buffers that are not used for grabbing yet - Applies to: InstantCamera
  184. Visibility: Expert
  185. */
  186. Pylon::IIntegerEx& NumEmptyBuffers;
  187. //@}
  188. //! \name Categories: Root
  189. //@{
  190. /*!
  191. \brief The number of buffers queued at Low Level API stream grabber - Applies to: InstantCamera
  192. This is the number of buffers that are queued for grabbing in the stream grabber.
  193. The number is influenced by the number of available free buffers and the
  194. maximum number of buffers that can be queued.
  195. See also the MaxNumBuffer and MaxNumQueuedBuffer parameters.
  196. This parameter can be used to check whether the number of buffers ready for grabbing
  197. is stable, which means that the image processing is fast enough to keep up with the
  198. rate of incoming images when using the GrabStrategy_OneByOne grab strategy.
  199. Visibility: Expert
  200. */
  201. Pylon::IIntegerEx& NumQueuedBuffers;
  202. //@}
  203. //! \name Categories: Root
  204. //@{
  205. /*!
  206. \brief The number of grab result buffers in the output queue that are ready for retrieval - Applies to: InstantCamera
  207. Visibility: Expert
  208. */
  209. Pylon::IIntegerEx& NumReadyBuffers;
  210. //@}
  211. //! \name Categories: Root
  212. //@{
  213. /*!
  214. \brief The size of the grab result buffer output queue - Applies to: InstantCamera
  215. Visibility: Expert
  216. */
  217. Pylon::IIntegerEx& OutputQueueSize;
  218. //@}
  219. //! \name Categories: Root
  220. //@{
  221. /*!
  222. \brief If larger than 0, a static chunk node map pool is used instead of dynamic chunk node map creation - Applies to: InstantCamera
  223. Visibility: Guru
  224. */
  225. Pylon::IIntegerEx& StaticChunkNodeMapPoolSize;
  226. //@}
  227. private:
  228. //! \cond HIDE_CLASS_METHODS
  229. //! not implemented copy constructor
  230. CInstantCameraParams_Params_v6_3_0(CInstantCameraParams_Params_v6_3_0&);
  231. //! not implemented assignment operator
  232. CInstantCameraParams_Params_v6_3_0& operator=(CInstantCameraParams_Params_v6_3_0&);
  233. //! \endcond
  234. };
  235. /*!
  236. \brief A parameter class containing all parameters as members that are available for Instant Camera
  237. The parameter class is used by the \c Pylon::CInstantCamera class.
  238. The code sample \ref sample_Grab shows the usage by setting the MaxNumBuffer parameter.
  239. */
  240. class CInstantCameraParams_Params : public CInstantCameraParams_Params_v6_3_0
  241. {
  242. //----------------------------------------------------------------------------------------------------------------
  243. // Implementation
  244. //----------------------------------------------------------------------------------------------------------------
  245. protected:
  246. // If you want to show the following methods in the help file
  247. // add the string HIDE_CLASS_METHODS to the ENABLED_SECTIONS tag in the doxygen file
  248. //! \cond HIDE_CLASS_METHODS
  249. //! Constructor
  250. CInstantCameraParams_Params( void )
  251. {
  252. }
  253. //! Destructor
  254. ~CInstantCameraParams_Params( void )
  255. {
  256. }
  257. //! Initializes the references
  258. void _Initialize( GENAPI_NAMESPACE::INodeMap* pNodeMap )
  259. {
  260. CInstantCameraParams_Params_v6_3_0::_Initialize( pNodeMap );
  261. }
  262. //! \endcond
  263. };
  264. } // namespace Basler_InstantCameraParams
  265. #endif // BASLER_PYLON_INSTANTCAMERAPARAMS_H