AcquisitionControl.h 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158
  1. #ifndef __DAHUA_GENICAM_ACQUISITIONCONTROL_H__
  2. #define __DAHUA_GENICAM_ACQUISITIONCONTROL_H__
  3. #include "Defs.h"
  4. #include "GenICam/ParameterNode.h"
  5. GENICAM_NAMESPACE_BEGIN
  6. class IAcquisitionControl;
  7. typedef Memory::TSharedPtr<IAcquisitionControl> IAcquisitionControlPtr;
  8. /// \ingroup config
  9. /// @{
  10. /// \~chinese
  11. /// \brief Class IAcquisitionControl AcquisitionControl下属性操作类
  12. /// \~english
  13. /// \brief GENICAM_AcquisitionControl's property operation class
  14. class GENICAM_API IAcquisitionControl
  15. {
  16. public:
  17. /// \~chinese
  18. /// \brief 析构函数
  19. /// \~english
  20. /// \brief destructor function
  21. virtual ~IAcquisitionControl() {}
  22. public:
  23. /// \~chinese
  24. /// \brief 获取AcquisitionFrameCount属性操作对象
  25. /// \return 返回属性操作对象
  26. /// \~english
  27. /// \brief get AcquisitionFrameCount property's operation object
  28. /// \return success:return property operation object, fail:return NULL
  29. virtual CIntNode acquisitionFrameCount() = 0;
  30. /// \~chinese
  31. /// \brief 获取AcquisitionFrameRate属性操作对象
  32. /// \return 返回属性操作对象
  33. /// \~english
  34. /// \brief get AcquisitionFrameRate property's operation object
  35. /// \return success:return property operation object, fail:return NULL
  36. virtual CDoubleNode acquisitionFrameRate() = 0;
  37. /// \~chinese
  38. /// \brief 获取AcquisitionFrameRate属性操作对象
  39. /// \return 返回属性操作对象
  40. /// \~english
  41. /// \brief get AcquisitionFrameRate property's operation object
  42. /// \return success:return property operation object, fail:return NULL
  43. virtual CEnumNode acquisitionMode() = 0;
  44. /// \~chinese
  45. /// \brief 获取ExposureAuto属性操作对象
  46. /// \return 返回属性操作对象
  47. /// \~english
  48. /// \brief get ExposureAuto property's operation object
  49. /// \return success:return property operation object, fail:return NULL
  50. virtual CEnumNode exposureAuto() = 0;
  51. /// \~chinese
  52. /// \brief 获取ExposureMode属性操作对象
  53. /// \return 返回属性操作对象
  54. /// \~english
  55. /// \brief get ExposureMode property's operation object
  56. /// \return success:return property operation object, fail:return NULL
  57. virtual CEnumNode exposureMode() = 0;
  58. /// \~chinese
  59. /// \brief 获取ExposureTime属性操作对象
  60. /// \return 返回属性操作对象
  61. /// \~english
  62. /// \brief get ExposureTime property's operation object
  63. /// \return success:return property operation object, fail:return NULL
  64. virtual CDoubleNode exposureTime() = 0;
  65. /// \~chinese
  66. /// \brief 获取TriggerActivation属性操作对象,设置触发上升沿下降沿
  67. /// \return 返回属性操作对象
  68. /// \~english
  69. /// \brief get TriggerActivation property's operation object,set TriggerActivation in RisingEdge or FallingEdge
  70. /// \return success:return property operation object, fail:return NULL
  71. virtual CEnumNode triggerActivation() = 0;
  72. /// \~chinese
  73. /// \brief 获取TriggerDelay属性操作对象,设置软触发延时
  74. /// \return 返回属性操作对象
  75. /// \~english
  76. /// \brief get TriggerDelay property's operation object, set software trigger delay
  77. /// \return success:return property operation object, fail:return NULL
  78. virtual CDoubleNode triggerDelay() = 0;
  79. /// \~chinese
  80. /// \brief 获取TriggerMode属性操作对象
  81. /// \return 返回属性操作对象
  82. /// \~english
  83. /// \brief get TriggerMode property's operation object
  84. /// \return success:return property operation object, fail:return NULL
  85. virtual CEnumNode triggerMode() = 0;
  86. /// \~chinese
  87. /// \brief 获取TriggerSelector属性操作对象
  88. /// \return 返回属性操作对象
  89. /// \~english
  90. /// \brief get TriggerSelector property's operation object
  91. /// \return success:return property operation object, fail:return NULL
  92. virtual CEnumNode triggerSelector() = 0;
  93. /// \~chinese
  94. /// \brief 获取TriggerSource属性操作对象,设置内部/外部触发
  95. /// \return 返回属性操作对象
  96. /// \~english
  97. /// \brief get TriggerSource property's operation object, set internal/external trigger
  98. /// \return success:return property operation object, fail:return NULL
  99. virtual CEnumNode triggerSource() = 0;
  100. /// \~chinese
  101. /// \brief 获取TriggerSoftware属性操作对象,执行内部软触发
  102. /// \return 返回属性操作对象
  103. /// \~english
  104. /// \brief get TriggerSoftware property's operation object, execute internal software trigger
  105. /// \return success:return property operation object, fail:return NULL
  106. virtual CCmdNode triggerSoftware() = 0;
  107. /// \~chinese
  108. /// \brief 获取AcquisitionFrameRateEnable使能属性操作对象
  109. /// \return 返回属性操作对象
  110. /// \return 返回属性操作对象,失败返回NULL
  111. /// \~english
  112. /// \brief get AcquisitionFrameRateEnable property's operation object
  113. /// \return success:return property operation object, fail:return NULL
  114. virtual CBoolNode acquisitionFrameRateEnable() = 0;
  115. /// \~chinese
  116. /// \brief 获取acquisitionLineRate属性操作对象
  117. /// \return 返回属性操作对象
  118. /// \~english
  119. /// \brief get acquisitionLineRate property's operation object
  120. /// \return success:return property operation object, fail:return NULL
  121. virtual CDoubleNode acquisitionLineRate() = 0;
  122. /// \~chinese
  123. /// \brief 获取acquisitionLineRateEnable使能属性操作对象
  124. /// \return 返回属性操作对象
  125. /// \return 返回属性操作对象,失败返回NULL
  126. /// \~english
  127. /// \brief get acquisitionLineRateEnable property's operation object
  128. /// \return success:return property operation object, fail:return NULL
  129. virtual CBoolNode acquisitionLineRateEnable() = 0;
  130. };
  131. /// @}
  132. GENICAM_NAMESPACE_END
  133. #endif // __DAHUA_GENICAM_ACQUISITIONCONTROL_H__