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.
 
 
 
 
 
 

40 lines
1.4 KiB

#ifndef __ONVIF_CLIENT_RECEIVER__
#define __ONVIF_CLIENT_RECEIVER__
#include <string>
#include <map>
#include <iostream>
#include <list>
#include "onvifclientdevice.hpp"
#include "../onvifgen/soapStub.h"
#include "../onvifgen/soapReceiverBindingProxy.h"
#include "../gsoap/wsseapi.h"
using namespace std;
class ONVIFLIB_API OnvifClientReceiver
{
public:
OnvifClientReceiver(OnvifClientDevice &device);
~OnvifClientReceiver();
public:
//Dealing with receivers
int GetReceivers(_trv__GetReceiversResponse & receivers);
int GetReceiver(_trv__GetReceiverResponse &receiverResponsem, string ReceiverToken);
int CreateReceiver(_trv__CreateReceiverResponse &CreateReceiverResponse, tt__ReceiverConfiguration &ReceiverConfiguration);
int DeleteReceiver(_trv__DeleteReceiverResponse &DeleteReceiverResponse, string ReceiverToken);
//receiver status functions
int ConfigureReceiver(_trv__ConfigureReceiverResponse &ConfigureReceiverResponse, string ReceiverToken,tt__ReceiverConfiguration &ReceiverConfiguration);
int SetReceiverMode(_trv__SetReceiverModeResponse &SetReceiverModeResponse, string ReceiverToken,tt__ReceiverMode &ReceiverConfiguration);
int GetReceiverState(_trv__GetReceiverStateResponse &GetReceiverStateResponse, string ReceiverToken);
int GetServiceCapabilities(_trv__GetServiceCapabilitiesResponse &GetReceiverStateResponse);
private:
OnvifClientDevice &m_Device;
ReceiverBindingProxy receiverProxy;
};
#endif