You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 lines
1.4 KiB

7 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
7 years ago
​
​
​
7 years ago
​
​
​
​
​
​
​
  1. #ifndef __ONVIF_CLIENT_RECEIVER__
  2. #define __ONVIF_CLIENT_RECEIVER__
  3. #include <string>
  4. #include <map>
  5. #include <iostream>
  6. #include <list>
  7. #include "onvifclientdevice.hpp"
  8. #include "../onvifgen/soapStub.h"
  9. #include "../onvifgen/soapReceiverBindingProxy.h"
  10. #include "../gsoap/wsseapi.h"
  11. using namespace std;
  12. class ONVIFLIB_API OnvifClientReceiver
  13. {
  14. public:
  15. OnvifClientReceiver(OnvifClientDevice &device);
  16. ~OnvifClientReceiver();
  17. public:
  18. //Dealing with receivers
  19. int GetReceivers(_trv__GetReceiversResponse & receivers);
  20. int GetReceiver(_trv__GetReceiverResponse &receiverResponsem, string ReceiverToken);
  21. int CreateReceiver(_trv__CreateReceiverResponse &CreateReceiverResponse, tt__ReceiverConfiguration &ReceiverConfiguration);
  22. int DeleteReceiver(_trv__DeleteReceiverResponse &DeleteReceiverResponse, string ReceiverToken);
  23. //receiver status functions
  24. int ConfigureReceiver(_trv__ConfigureReceiverResponse &ConfigureReceiverResponse, string ReceiverToken,tt__ReceiverConfiguration &ReceiverConfiguration);
  25. int SetReceiverMode(_trv__SetReceiverModeResponse &SetReceiverModeResponse, string ReceiverToken,tt__ReceiverMode &ReceiverConfiguration);
  26. int GetReceiverState(_trv__GetReceiverStateResponse &GetReceiverStateResponse, string ReceiverToken);
  27. int GetServiceCapabilities(_trv__GetServiceCapabilitiesResponse &GetReceiverStateResponse);
  28. private:
  29. OnvifClientDevice &m_Device;
  30. ReceiverBindingProxy receiverProxy;
  31. };
  32. #endif