AnalogControl.h 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1.  #ifndef __DAHUA_GENICAM_ANALOGCONTROL_H__
  2. #define __DAHUA_GENICAM_ANALOGCONTROL_H__
  3. #include "Defs.h"
  4. #include "GenICam/ParameterNode.h"
  5. GENICAM_NAMESPACE_BEGIN
  6. class IAnalogControl;
  7. typedef Memory::TSharedPtr<IAnalogControl> IAnalogControlPtr;
  8. /// \ingroup config
  9. /// @{
  10. /// \~chinese
  11. /// \brief Class IAnalogControl AnalogControl下属性操作类
  12. /// \~english
  13. /// \brief GENICAM_AnalogControl's property operation class
  14. class GENICAM_API IAnalogControl
  15. {
  16. public:
  17. /// \~chinese
  18. /// \brief 析构函数
  19. /// \~english
  20. /// \brief destruct function
  21. virtual ~IAnalogControl() {}
  22. public:
  23. /// \~chinese
  24. /// \brief 获取BlackLevelSelector属性操作对象,设置操作哪个白平衡
  25. /// \return 返回属性操作对象
  26. /// \~english
  27. /// \brief get BlackLevelSelector property operation object
  28. /// \return success:return property operation object, fail:return NULL
  29. virtual CEnumNode blackLevelSelector() = 0;
  30. /// \~chinese
  31. /// \brief 获取BlackLevelAuto属性操作对象,设置自动白平衡
  32. /// \return 返回属性操作对象
  33. /// \~english
  34. /// \brief get BalanceWhiteAuto property operation object, set auto white balance
  35. /// \return success:return property operation object, fail:return NULL
  36. virtual CEnumNode blackLevelAuto() = 0;
  37. /// \~chinese
  38. /// \brief 获取BlackLevel属性操作对象,设置白平衡值
  39. /// \return 返回属性操作对象
  40. /// \~english
  41. /// \brief get BlackLevel property operation object, set black level
  42. /// \return success:return property operation object, fail:return NULL
  43. virtual CIntNode blackLevel() = 0;
  44. /// \~chinese
  45. /// \brief 获取GainAuto属性操作对象
  46. /// \return 返回属性操作对象
  47. /// \~english
  48. /// \brief get GainAuto property operation object
  49. /// \return success:return property operation object, fail:return NULL
  50. virtual CEnumNode gainAuto() = 0;
  51. /// \~chinese
  52. /// \brief 获取GainRaw属性操作对象
  53. /// \return 返回属性操作对象
  54. /// \~english
  55. /// \brief get GainRaw operation object
  56. /// \return success:return property operation object, fail:return NULL
  57. virtual CDoubleNode gainRaw() = 0;
  58. /// \~chinese
  59. /// \brief 获取Gamma属性操作对象,设置Gamma值
  60. /// \return 返回属性操作对象
  61. /// \~english
  62. /// \brief get Gamma operation object, set gamma
  63. /// \return success:return property operation object, fail:return NULL
  64. virtual CDoubleNode gamma() = 0;
  65. /// \~chinese
  66. /// \brief 获取BalanceRatioSelector属性操作对象,设置操作哪个白平衡
  67. /// \return 返回属性操作对象
  68. /// \~english
  69. /// \brief get BalanceRatioSelector property operation object
  70. /// \return success:return property operation object, fail:return NULL
  71. virtual CEnumNode balanceRatioSelector() = 0;
  72. /// \~chinese
  73. /// \brief 获取BalanceWhiteAuto属性操作对象,设置自动白平衡
  74. /// \return 返回属性操作对象
  75. /// \~english
  76. /// \brief get BalanceWhiteAuto property operation object, set auto white balance
  77. /// \return success:return property operation object, fail:return NULL
  78. virtual CEnumNode balanceWhiteAuto() = 0;
  79. /// \~chinese
  80. /// \brief 获取BalanceRatio属性操作对象,设置白平衡值
  81. /// \return 返回属性操作对象
  82. /// \~english
  83. /// \brief get BalanceRatioSelector property operation object
  84. /// \return success:return property operation object, fail:return NULL
  85. virtual CDoubleNode balanceRatio() = 0;
  86. };
  87. /// @}
  88. GENICAM_NAMESPACE_END
  89. #endif // __DAHUA_GENICAM_ANALOGCONTROL_H__