_BaslerUniversalEventParams.h 8.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277
  1. //-----------------------------------------------------------------------------
  2. // Basler pylon SDK
  3. // Copyright (c) 2019-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 pylon event grabbers
  9. The parameter class is used by the \c Pylon::CBaslerUniversalInstantCamera class.
  10. The \ref sample_ParametrizeCamera_NativeParameterAccess code sample shows how to access camera parameters via the \c Pylon::CBaslerUniversalInstantCamera class.
  11. */
  12. //-----------------------------------------------------------------------------
  13. // This file is generated automatically
  14. // Do not modify!
  15. //-----------------------------------------------------------------------------
  16. #ifndef BASLER_PYLON_UNIVERSALEVENTPARAMS_H
  17. #define BASLER_PYLON_UNIVERSALEVENTPARAMS_H
  18. #pragma once
  19. // common parameter types
  20. #include <pylon/ParameterIncludes.h>
  21. #include <pylon/EnumParameterT.h>
  22. namespace Basler_UniversalEventParams
  23. {
  24. //**************************************************************************************************
  25. // Enumerations
  26. //**************************************************************************************************
  27. //! Valid values for Status
  28. enum StatusEnums
  29. {
  30. Status_Closed, //!< The low level event grabber is closed - Applies to: GigE
  31. Status_Open //!< The low level event grabber is open - Applies to: GigE
  32. };
  33. //**************************************************************************************************
  34. // Parameter class CUniversalEventParams_Params_v6_3_0
  35. //**************************************************************************************************
  36. /*!
  37. \brief A parameter class containing all parameters as members that are available for pylon event grabbers
  38. The parameter class is used by the \c Pylon::CBaslerUniversalInstantCamera class.
  39. The \ref sample_ParametrizeCamera_NativeParameterAccess code sample shows how to access camera parameters via the \c Pylon::CBaslerUniversalInstantCamera class.
  40. */
  41. class PYLONBASE_API CUniversalEventParams_Params_v6_3_0
  42. {
  43. //----------------------------------------------------------------------------------------------------------------
  44. // Implementation
  45. //----------------------------------------------------------------------------------------------------------------
  46. protected:
  47. // If you want to show the following methods in the help file
  48. // add the string HIDE_CLASS_METHODS to the ENABLED_SECTIONS tag in the doxygen file
  49. //! \cond HIDE_CLASS_METHODS
  50. //! Constructor
  51. CUniversalEventParams_Params_v6_3_0( void );
  52. //! Destructor
  53. ~CUniversalEventParams_Params_v6_3_0( void );
  54. //! Initializes the references
  55. void _Initialize( GENAPI_NAMESPACE::INodeMap* );
  56. //! \endcond
  57. private:
  58. class CUniversalEventParams_Params_v6_3_0_Data;
  59. CUniversalEventParams_Params_v6_3_0_Data* m_pCUniversalEventParams_Params_v6_3_0_Data;
  60. //----------------------------------------------------------------------------------------------------------------
  61. // References to features
  62. //----------------------------------------------------------------------------------------------------------------
  63. public:
  64. //! \name Categories: Root
  65. //@{
  66. /*!
  67. \brief Firewall traversal interval value in milliseconds This applies to the event channel If set to 0, this feature is disabled - Applies to: GigE
  68. Visibility: Guru
  69. */
  70. Pylon::IIntegerEx& FirewallTraversalInterval;
  71. //@}
  72. //! \name Categories: Root
  73. //@{
  74. /*!
  75. \brief Number of buffers to be used - Applies to: GigE and USB
  76. Number of Buffers that are going to be used receiving events. .
  77. Visibility: Expert
  78. */
  79. Pylon::IIntegerEx& NumBuffer;
  80. //@}
  81. //! \name Categories: Root
  82. //@{
  83. /*!
  84. \brief Maximum number of USB request blocks (URBs) to be enqueued simultaneously - Applies to: USB
  85. Visibility: Guru
  86. */
  87. Pylon::IIntegerEx& NumMaxQueuedUrbs;
  88. //@}
  89. //! \name Categories: Root
  90. //@{
  91. /*!
  92. \brief Maximum number of retries - Applies to: GigE
  93. Number retry attempts by the camera to get an acknowledge for a sent event message.
  94. Visibility: Expert
  95. */
  96. Pylon::IIntegerEx& RetryCount;
  97. //@}
  98. //! \name Categories: Statistic
  99. //@{
  100. /*!
  101. \brief Count of processed events with an error status - Applies to: USB
  102. Visibility: Expert
  103. */
  104. Pylon::IIntegerEx& Statistic_Failed_Event_Count;
  105. //@}
  106. //! \name Categories: Statistic
  107. //@{
  108. /*!
  109. \brief Status code of the last failed event buffer - Applies to: USB
  110. Visibility: Expert
  111. */
  112. Pylon::IIntegerEx& Statistic_Last_Failed_Event_Buffer_Status;
  113. //@}
  114. //! \name Categories: Statistic
  115. //@{
  116. /*!
  117. \brief Total count of processed events - Applies to: USB
  118. Visibility: Expert
  119. */
  120. Pylon::IIntegerEx& Statistic_Total_Event_Count;
  121. //@}
  122. //! \name Categories: Debug
  123. //@{
  124. /*!
  125. \brief For internal use only - Applies to: GigE
  126. Visibility: Guru
  127. */
  128. Pylon::IEnumParameterT<StatusEnums>& Status;
  129. //@}
  130. //! \name Categories: Root
  131. //@{
  132. /*!
  133. \brief Acknowledge timeout in milliseconds - Applies to: GigE
  134. Time to wait by the camera if an acknowledge request is configured (RetryCount != 0) to wait until the acknowledge arrives before resending the event message on its own.
  135. Visibility: Expert
  136. */
  137. Pylon::IIntegerEx& Timeout;
  138. //@}
  139. //! \name Categories: Root
  140. //@{
  141. /*!
  142. \brief Priority of the thread that handles USB requests from the stream interface - Applies to: USB
  143. Visibility: Guru
  144. */
  145. Pylon::IIntegerEx& TransferLoopThreadPriority;
  146. //@}
  147. private:
  148. //! \cond HIDE_CLASS_METHODS
  149. //! not implemented copy constructor
  150. CUniversalEventParams_Params_v6_3_0(CUniversalEventParams_Params_v6_3_0&);
  151. //! not implemented assignment operator
  152. CUniversalEventParams_Params_v6_3_0& operator=(CUniversalEventParams_Params_v6_3_0&);
  153. //! \endcond
  154. };
  155. /*!
  156. \brief A parameter class containing all parameters as members that are available for pylon event grabbers
  157. The parameter class is used by the \c Pylon::CBaslerUniversalInstantCamera class.
  158. The \ref sample_ParametrizeCamera_NativeParameterAccess code sample shows how to access camera parameters via the \c Pylon::CBaslerUniversalInstantCamera class.
  159. */
  160. class CUniversalEventParams_Params : public CUniversalEventParams_Params_v6_3_0
  161. {
  162. //----------------------------------------------------------------------------------------------------------------
  163. // Implementation
  164. //----------------------------------------------------------------------------------------------------------------
  165. protected:
  166. // If you want to show the following methods in the help file
  167. // add the string HIDE_CLASS_METHODS to the ENABLED_SECTIONS tag in the doxygen file
  168. //! \cond HIDE_CLASS_METHODS
  169. //! Constructor
  170. CUniversalEventParams_Params( void )
  171. {
  172. }
  173. //! Destructor
  174. ~CUniversalEventParams_Params( void )
  175. {
  176. }
  177. //! Initializes the references
  178. void _Initialize( GENAPI_NAMESPACE::INodeMap* pNodeMap )
  179. {
  180. CUniversalEventParams_Params_v6_3_0::_Initialize( pNodeMap );
  181. }
  182. //! \endcond
  183. };
  184. } // namespace Basler_UniversalEventParams
  185. #endif // BASLER_PYLON_UNIVERSALEVENTPARAMS_H