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.

175 lines
16 KiB

8 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. /* soapPTZBindingProxy.h
  2. Generated by gSOAP 2.8.17r from onvif.h
  3. Copyright(C) 2000-2013, Robert van Engelen, Genivia Inc. All Rights Reserved.
  4. The generated code is released under one of the following licenses:
  5. GPL or Genivia's license for commercial use.
  6. This program is released under the GPL with the additional exemption that
  7. compiling, linking, and/or using OpenSSL is allowed.
  8. */
  9. #ifndef soapPTZBindingProxy_H
  10. #define soapPTZBindingProxy_H
  11. #include "soapH.h"
  12. class SOAP_CMAC PTZBindingProxy : public soap
  13. { public:
  14. /// Endpoint URL of service 'PTZBindingProxy' (change as needed)
  15. const char *soap_endpoint;
  16. /// Constructor
  17. PTZBindingProxy();
  18. /// Construct from another engine state
  19. PTZBindingProxy(const struct soap&);
  20. /// Constructor with endpoint URL
  21. PTZBindingProxy(const char *url);
  22. /// Constructor with engine input+output mode control
  23. PTZBindingProxy(soap_mode iomode);
  24. /// Constructor with URL and input+output mode control
  25. PTZBindingProxy(const char *url, soap_mode iomode);
  26. /// Constructor with engine input and output mode control
  27. PTZBindingProxy(soap_mode imode, soap_mode omode);
  28. /// Destructor frees deserialized data
  29. virtual ~PTZBindingProxy();
  30. /// Initializer used by constructors
  31. virtual void PTZBindingProxy_init(soap_mode imode, soap_mode omode);
  32. /// Delete all deserialized data (with soap_destroy and soap_end)
  33. virtual void destroy();
  34. /// Delete all deserialized data and reset to default
  35. virtual void reset();
  36. /// Disables and removes SOAP Header from message
  37. virtual void soap_noheader();
  38. /// Put SOAP Header in message
  39. virtual void soap_header(struct _wsse__Security *wsse__Security, char *wsa__MessageID, struct wsa__Relationship *wsa__RelatesTo, struct wsa__EndpointReferenceType *wsa__From, struct wsa__EndpointReferenceType *wsa__ReplyTo, struct wsa__EndpointReferenceType *wsa__FaultTo, char *wsa__To, char *wsa__Action, struct wsdd__AppSequenceType *wsdd__AppSequence, char *wsa5__MessageID, struct wsa5__RelatesToType *wsa5__RelatesTo, struct wsa5__EndpointReferenceType *wsa5__From, struct wsa5__EndpointReferenceType *wsa5__ReplyTo, struct wsa5__EndpointReferenceType *wsa5__FaultTo, char *wsa5__To, char *wsa5__Action, struct chan__ChannelInstanceType *chan__ChannelInstance);
  40. /// Get SOAP Header structure (NULL when absent)
  41. virtual const SOAP_ENV__Header *soap_header();
  42. /// Get SOAP Fault structure (NULL when absent)
  43. virtual const SOAP_ENV__Fault *soap_fault();
  44. /// Get SOAP Fault string (NULL when absent)
  45. virtual const char *soap_fault_string();
  46. /// Get SOAP Fault detail as string (NULL when absent)
  47. virtual const char *soap_fault_detail();
  48. /// Close connection (normally automatic, except for send_X ops)
  49. virtual int soap_close_socket();
  50. /// Force close connection (can kill a thread blocked on IO)
  51. virtual int soap_force_close_socket();
  52. /// Print fault
  53. virtual void soap_print_fault(FILE*);
  54. #ifndef WITH_LEAN
  55. /// Print fault to stream
  56. #ifndef WITH_COMPAT
  57. virtual void soap_stream_fault(std::ostream&);
  58. #endif
  59. /// Put fault into buffer
  60. virtual char *soap_sprint_fault(char *buf, size_t len);
  61. #endif
  62. /// Web service operation 'GetServiceCapabilities' (returns error code or SOAP_OK)
  63. virtual int GetServiceCapabilities(_tptz__GetServiceCapabilities *tptz__GetServiceCapabilities, _tptz__GetServiceCapabilitiesResponse *tptz__GetServiceCapabilitiesResponse) { return this->GetServiceCapabilities(NULL, NULL, tptz__GetServiceCapabilities, tptz__GetServiceCapabilitiesResponse); }
  64. virtual int GetServiceCapabilities(const char *endpoint, const char *soap_action, _tptz__GetServiceCapabilities *tptz__GetServiceCapabilities, _tptz__GetServiceCapabilitiesResponse *tptz__GetServiceCapabilitiesResponse);
  65. /// Web service operation 'GetConfigurations' (returns error code or SOAP_OK)
  66. virtual int GetConfigurations(_tptz__GetConfigurations *tptz__GetConfigurations, _tptz__GetConfigurationsResponse *tptz__GetConfigurationsResponse) { return this->GetConfigurations(NULL, NULL, tptz__GetConfigurations, tptz__GetConfigurationsResponse); }
  67. virtual int GetConfigurations(const char *endpoint, const char *soap_action, _tptz__GetConfigurations *tptz__GetConfigurations, _tptz__GetConfigurationsResponse *tptz__GetConfigurationsResponse);
  68. /// Web service operation 'GetPresets' (returns error code or SOAP_OK)
  69. virtual int GetPresets(_tptz__GetPresets *tptz__GetPresets, _tptz__GetPresetsResponse *tptz__GetPresetsResponse) { return this->GetPresets(NULL, NULL, tptz__GetPresets, tptz__GetPresetsResponse); }
  70. virtual int GetPresets(const char *endpoint, const char *soap_action, _tptz__GetPresets *tptz__GetPresets, _tptz__GetPresetsResponse *tptz__GetPresetsResponse);
  71. /// Web service operation 'SetPreset' (returns error code or SOAP_OK)
  72. virtual int SetPreset(_tptz__SetPreset *tptz__SetPreset, _tptz__SetPresetResponse *tptz__SetPresetResponse) { return this->SetPreset(NULL, NULL, tptz__SetPreset, tptz__SetPresetResponse); }
  73. virtual int SetPreset(const char *endpoint, const char *soap_action, _tptz__SetPreset *tptz__SetPreset, _tptz__SetPresetResponse *tptz__SetPresetResponse);
  74. /// Web service operation 'RemovePreset' (returns error code or SOAP_OK)
  75. virtual int RemovePreset(_tptz__RemovePreset *tptz__RemovePreset, _tptz__RemovePresetResponse *tptz__RemovePresetResponse) { return this->RemovePreset(NULL, NULL, tptz__RemovePreset, tptz__RemovePresetResponse); }
  76. virtual int RemovePreset(const char *endpoint, const char *soap_action, _tptz__RemovePreset *tptz__RemovePreset, _tptz__RemovePresetResponse *tptz__RemovePresetResponse);
  77. /// Web service operation 'GotoPreset' (returns error code or SOAP_OK)
  78. virtual int GotoPreset(_tptz__GotoPreset *tptz__GotoPreset, _tptz__GotoPresetResponse *tptz__GotoPresetResponse) { return this->GotoPreset(NULL, NULL, tptz__GotoPreset, tptz__GotoPresetResponse); }
  79. virtual int GotoPreset(const char *endpoint, const char *soap_action, _tptz__GotoPreset *tptz__GotoPreset, _tptz__GotoPresetResponse *tptz__GotoPresetResponse);
  80. /// Web service operation 'GetStatus' (returns error code or SOAP_OK)
  81. virtual int GetStatus(_tptz__GetStatus *tptz__GetStatus, _tptz__GetStatusResponse *tptz__GetStatusResponse) { return this->GetStatus(NULL, NULL, tptz__GetStatus, tptz__GetStatusResponse); }
  82. virtual int GetStatus(const char *endpoint, const char *soap_action, _tptz__GetStatus *tptz__GetStatus, _tptz__GetStatusResponse *tptz__GetStatusResponse);
  83. /// Web service operation 'GetConfiguration' (returns error code or SOAP_OK)
  84. virtual int GetConfiguration(_tptz__GetConfiguration *tptz__GetConfiguration, _tptz__GetConfigurationResponse *tptz__GetConfigurationResponse) { return this->GetConfiguration(NULL, NULL, tptz__GetConfiguration, tptz__GetConfigurationResponse); }
  85. virtual int GetConfiguration(const char *endpoint, const char *soap_action, _tptz__GetConfiguration *tptz__GetConfiguration, _tptz__GetConfigurationResponse *tptz__GetConfigurationResponse);
  86. /// Web service operation 'GetNodes' (returns error code or SOAP_OK)
  87. virtual int GetNodes(_tptz__GetNodes *tptz__GetNodes, _tptz__GetNodesResponse *tptz__GetNodesResponse) { return this->GetNodes(NULL, NULL, tptz__GetNodes, tptz__GetNodesResponse); }
  88. virtual int GetNodes(const char *endpoint, const char *soap_action, _tptz__GetNodes *tptz__GetNodes, _tptz__GetNodesResponse *tptz__GetNodesResponse);
  89. /// Web service operation 'GetNode' (returns error code or SOAP_OK)
  90. virtual int GetNode(_tptz__GetNode *tptz__GetNode, _tptz__GetNodeResponse *tptz__GetNodeResponse) { return this->GetNode(NULL, NULL, tptz__GetNode, tptz__GetNodeResponse); }
  91. virtual int GetNode(const char *endpoint, const char *soap_action, _tptz__GetNode *tptz__GetNode, _tptz__GetNodeResponse *tptz__GetNodeResponse);
  92. /// Web service operation 'SetConfiguration' (returns error code or SOAP_OK)
  93. virtual int SetConfiguration(_tptz__SetConfiguration *tptz__SetConfiguration, _tptz__SetConfigurationResponse *tptz__SetConfigurationResponse) { return this->SetConfiguration(NULL, NULL, tptz__SetConfiguration, tptz__SetConfigurationResponse); }
  94. virtual int SetConfiguration(const char *endpoint, const char *soap_action, _tptz__SetConfiguration *tptz__SetConfiguration, _tptz__SetConfigurationResponse *tptz__SetConfigurationResponse);
  95. /// Web service operation 'GetConfigurationOptions' (returns error code or SOAP_OK)
  96. virtual int GetConfigurationOptions(_tptz__GetConfigurationOptions *tptz__GetConfigurationOptions, _tptz__GetConfigurationOptionsResponse *tptz__GetConfigurationOptionsResponse) { return this->GetConfigurationOptions(NULL, NULL, tptz__GetConfigurationOptions, tptz__GetConfigurationOptionsResponse); }
  97. virtual int GetConfigurationOptions(const char *endpoint, const char *soap_action, _tptz__GetConfigurationOptions *tptz__GetConfigurationOptions, _tptz__GetConfigurationOptionsResponse *tptz__GetConfigurationOptionsResponse);
  98. /// Web service operation 'GotoHomePosition' (returns error code or SOAP_OK)
  99. virtual int GotoHomePosition(_tptz__GotoHomePosition *tptz__GotoHomePosition, _tptz__GotoHomePositionResponse *tptz__GotoHomePositionResponse) { return this->GotoHomePosition(NULL, NULL, tptz__GotoHomePosition, tptz__GotoHomePositionResponse); }
  100. virtual int GotoHomePosition(const char *endpoint, const char *soap_action, _tptz__GotoHomePosition *tptz__GotoHomePosition, _tptz__GotoHomePositionResponse *tptz__GotoHomePositionResponse);
  101. /// Web service operation 'SetHomePosition' (returns error code or SOAP_OK)
  102. virtual int SetHomePosition(_tptz__SetHomePosition *tptz__SetHomePosition, _tptz__SetHomePositionResponse *tptz__SetHomePositionResponse) { return this->SetHomePosition(NULL, NULL, tptz__SetHomePosition, tptz__SetHomePositionResponse); }
  103. virtual int SetHomePosition(const char *endpoint, const char *soap_action, _tptz__SetHomePosition *tptz__SetHomePosition, _tptz__SetHomePositionResponse *tptz__SetHomePositionResponse);
  104. /// Web service operation 'ContinuousMove' (returns error code or SOAP_OK)
  105. virtual int ContinuousMove(_tptz__ContinuousMove *tptz__ContinuousMove, _tptz__ContinuousMoveResponse *tptz__ContinuousMoveResponse) { return this->ContinuousMove(NULL, NULL, tptz__ContinuousMove, tptz__ContinuousMoveResponse); }
  106. virtual int ContinuousMove(const char *endpoint, const char *soap_action, _tptz__ContinuousMove *tptz__ContinuousMove, _tptz__ContinuousMoveResponse *tptz__ContinuousMoveResponse);
  107. /// Web service operation 'RelativeMove' (returns error code or SOAP_OK)
  108. virtual int RelativeMove(_tptz__RelativeMove *tptz__RelativeMove, _tptz__RelativeMoveResponse *tptz__RelativeMoveResponse) { return this->RelativeMove(NULL, NULL, tptz__RelativeMove, tptz__RelativeMoveResponse); }
  109. virtual int RelativeMove(const char *endpoint, const char *soap_action, _tptz__RelativeMove *tptz__RelativeMove, _tptz__RelativeMoveResponse *tptz__RelativeMoveResponse);
  110. /// Web service operation 'SendAuxiliaryCommand' (returns error code or SOAP_OK)
  111. virtual int SendAuxiliaryCommand(_tptz__SendAuxiliaryCommand *tptz__SendAuxiliaryCommand, _tptz__SendAuxiliaryCommandResponse *tptz__SendAuxiliaryCommandResponse) { return this->SendAuxiliaryCommand(NULL, NULL, tptz__SendAuxiliaryCommand, tptz__SendAuxiliaryCommandResponse); }
  112. virtual int SendAuxiliaryCommand(const char *endpoint, const char *soap_action, _tptz__SendAuxiliaryCommand *tptz__SendAuxiliaryCommand, _tptz__SendAuxiliaryCommandResponse *tptz__SendAuxiliaryCommandResponse);
  113. /// Web service operation 'AbsoluteMove' (returns error code or SOAP_OK)
  114. virtual int AbsoluteMove(_tptz__AbsoluteMove *tptz__AbsoluteMove, _tptz__AbsoluteMoveResponse *tptz__AbsoluteMoveResponse) { return this->AbsoluteMove(NULL, NULL, tptz__AbsoluteMove, tptz__AbsoluteMoveResponse); }
  115. virtual int AbsoluteMove(const char *endpoint, const char *soap_action, _tptz__AbsoluteMove *tptz__AbsoluteMove, _tptz__AbsoluteMoveResponse *tptz__AbsoluteMoveResponse);
  116. /// Web service operation 'Stop' (returns error code or SOAP_OK)
  117. virtual int Stop(_tptz__Stop *tptz__Stop, _tptz__StopResponse *tptz__StopResponse) { return this->Stop(NULL, NULL, tptz__Stop, tptz__StopResponse); }
  118. virtual int Stop(const char *endpoint, const char *soap_action, _tptz__Stop *tptz__Stop, _tptz__StopResponse *tptz__StopResponse);
  119. /// Web service operation 'GetPresetTours' (returns error code or SOAP_OK)
  120. virtual int GetPresetTours(_tptz__GetPresetTours *tptz__GetPresetTours, _tptz__GetPresetToursResponse *tptz__GetPresetToursResponse) { return this->GetPresetTours(NULL, NULL, tptz__GetPresetTours, tptz__GetPresetToursResponse); }
  121. virtual int GetPresetTours(const char *endpoint, const char *soap_action, _tptz__GetPresetTours *tptz__GetPresetTours, _tptz__GetPresetToursResponse *tptz__GetPresetToursResponse);
  122. /// Web service operation 'GetPresetTour' (returns error code or SOAP_OK)
  123. virtual int GetPresetTour(_tptz__GetPresetTour *tptz__GetPresetTour, _tptz__GetPresetTourResponse *tptz__GetPresetTourResponse) { return this->GetPresetTour(NULL, NULL, tptz__GetPresetTour, tptz__GetPresetTourResponse); }
  124. virtual int GetPresetTour(const char *endpoint, const char *soap_action, _tptz__GetPresetTour *tptz__GetPresetTour, _tptz__GetPresetTourResponse *tptz__GetPresetTourResponse);
  125. /// Web service operation 'GetPresetTourOptions' (returns error code or SOAP_OK)
  126. virtual int GetPresetTourOptions(_tptz__GetPresetTourOptions *tptz__GetPresetTourOptions, _tptz__GetPresetTourOptionsResponse *tptz__GetPresetTourOptionsResponse) { return this->GetPresetTourOptions(NULL, NULL, tptz__GetPresetTourOptions, tptz__GetPresetTourOptionsResponse); }
  127. virtual int GetPresetTourOptions(const char *endpoint, const char *soap_action, _tptz__GetPresetTourOptions *tptz__GetPresetTourOptions, _tptz__GetPresetTourOptionsResponse *tptz__GetPresetTourOptionsResponse);
  128. /// Web service operation 'CreatePresetTour' (returns error code or SOAP_OK)
  129. virtual int CreatePresetTour(_tptz__CreatePresetTour *tptz__CreatePresetTour, _tptz__CreatePresetTourResponse *tptz__CreatePresetTourResponse) { return this->CreatePresetTour(NULL, NULL, tptz__CreatePresetTour, tptz__CreatePresetTourResponse); }
  130. virtual int CreatePresetTour(const char *endpoint, const char *soap_action, _tptz__CreatePresetTour *tptz__CreatePresetTour, _tptz__CreatePresetTourResponse *tptz__CreatePresetTourResponse);
  131. /// Web service operation 'ModifyPresetTour' (returns error code or SOAP_OK)
  132. virtual int ModifyPresetTour(_tptz__ModifyPresetTour *tptz__ModifyPresetTour, _tptz__ModifyPresetTourResponse *tptz__ModifyPresetTourResponse) { return this->ModifyPresetTour(NULL, NULL, tptz__ModifyPresetTour, tptz__ModifyPresetTourResponse); }
  133. virtual int ModifyPresetTour(const char *endpoint, const char *soap_action, _tptz__ModifyPresetTour *tptz__ModifyPresetTour, _tptz__ModifyPresetTourResponse *tptz__ModifyPresetTourResponse);
  134. /// Web service operation 'OperatePresetTour' (returns error code or SOAP_OK)
  135. virtual int OperatePresetTour(_tptz__OperatePresetTour *tptz__OperatePresetTour, _tptz__OperatePresetTourResponse *tptz__OperatePresetTourResponse) { return this->OperatePresetTour(NULL, NULL, tptz__OperatePresetTour, tptz__OperatePresetTourResponse); }
  136. virtual int OperatePresetTour(const char *endpoint, const char *soap_action, _tptz__OperatePresetTour *tptz__OperatePresetTour, _tptz__OperatePresetTourResponse *tptz__OperatePresetTourResponse);
  137. /// Web service operation 'RemovePresetTour' (returns error code or SOAP_OK)
  138. virtual int RemovePresetTour(_tptz__RemovePresetTour *tptz__RemovePresetTour, _tptz__RemovePresetTourResponse *tptz__RemovePresetTourResponse) { return this->RemovePresetTour(NULL, NULL, tptz__RemovePresetTour, tptz__RemovePresetTourResponse); }
  139. virtual int RemovePresetTour(const char *endpoint, const char *soap_action, _tptz__RemovePresetTour *tptz__RemovePresetTour, _tptz__RemovePresetTourResponse *tptz__RemovePresetTourResponse);
  140. /// Web service operation 'GetCompatibleConfigurations' (returns error code or SOAP_OK)
  141. virtual int GetCompatibleConfigurations(_tptz__GetCompatibleConfigurations *tptz__GetCompatibleConfigurations, _tptz__GetCompatibleConfigurationsResponse *tptz__GetCompatibleConfigurationsResponse) { return this->GetCompatibleConfigurations(NULL, NULL, tptz__GetCompatibleConfigurations, tptz__GetCompatibleConfigurationsResponse); }
  142. virtual int GetCompatibleConfigurations(const char *endpoint, const char *soap_action, _tptz__GetCompatibleConfigurations *tptz__GetCompatibleConfigurations, _tptz__GetCompatibleConfigurationsResponse *tptz__GetCompatibleConfigurationsResponse);
  143. };
  144. #endif