DeviceControl.h 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. #ifndef __DAHUA_GENICAM_DEVICECONTROL_H__
  2. #define __DAHUA_GENICAM_DEVICECONTROL_H__
  3. #include "Defs.h"
  4. #include "GenICam/ParameterNode.h"
  5. GENICAM_NAMESPACE_BEGIN
  6. class IDeviceControl;
  7. typedef Memory::TSharedPtr<IDeviceControl> IDeviceControlPtr;
  8. /// \ingroup config
  9. /// @{
  10. /// \~chinese
  11. /// \brief Class IDeviceControl DeviceControl下属性操作类
  12. /// \~english
  13. /// \brief Class IDeviceControl DeviceControl operation class
  14. class GENICAM_API IDeviceControl
  15. {
  16. public:
  17. /// \~chinese
  18. /// \brief 析构函数
  19. /// \~english
  20. /// \brief destruct function
  21. virtual ~IDeviceControl() {}
  22. public:
  23. /// \~chinese
  24. /// \brief 获取DeviceUserID属性操作对象,该对象可读写
  25. /// \return 返回属性操作对象
  26. /// \~english
  27. /// \brief get DeviceUserID property operation object, it can be written and read.
  28. /// \return property operation object
  29. virtual CStringNode deviceUserID() = 0;
  30. /// \~chinese
  31. /// \brief 获取DeviceVersion属性操作对象,该对象为只读
  32. /// \return 返回属性操作对象
  33. /// \~english
  34. /// \brief get DeviceVersion property operation object, it always can be read.
  35. /// \return property operation object
  36. virtual CStringNode DeviceVersion() = 0;
  37. };
  38. /// @}
  39. GENICAM_NAMESPACE_END
  40. #endif // __DAHUA_GENICAM_DEVICECONTROL_H__