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.

123 lines
10 KiB

8 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. /* soapSearchBindingProxy.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 soapSearchBindingProxy_H
  10. #define soapSearchBindingProxy_H
  11. #include "soapH.h"
  12. class SOAP_CMAC SearchBindingProxy : public soap
  13. { public:
  14. /// Endpoint URL of service 'SearchBindingProxy' (change as needed)
  15. const char *soap_endpoint;
  16. /// Constructor
  17. SearchBindingProxy();
  18. /// Construct from another engine state
  19. SearchBindingProxy(const struct soap&);
  20. /// Constructor with endpoint URL
  21. SearchBindingProxy(const char *url);
  22. /// Constructor with engine input+output mode control
  23. SearchBindingProxy(soap_mode iomode);
  24. /// Constructor with URL and input+output mode control
  25. SearchBindingProxy(const char *url, soap_mode iomode);
  26. /// Constructor with engine input and output mode control
  27. SearchBindingProxy(soap_mode imode, soap_mode omode);
  28. /// Destructor frees deserialized data
  29. virtual ~SearchBindingProxy();
  30. /// Initializer used by constructors
  31. virtual void SearchBindingProxy_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(_tse__GetServiceCapabilities *tse__GetServiceCapabilities, _tse__GetServiceCapabilitiesResponse *tse__GetServiceCapabilitiesResponse) { return this->GetServiceCapabilities(NULL, NULL, tse__GetServiceCapabilities, tse__GetServiceCapabilitiesResponse); }
  64. virtual int GetServiceCapabilities(const char *endpoint, const char *soap_action, _tse__GetServiceCapabilities *tse__GetServiceCapabilities, _tse__GetServiceCapabilitiesResponse *tse__GetServiceCapabilitiesResponse);
  65. /// Web service operation 'GetRecordingSummary' (returns error code or SOAP_OK)
  66. virtual int GetRecordingSummary(_tse__GetRecordingSummary *tse__GetRecordingSummary, _tse__GetRecordingSummaryResponse *tse__GetRecordingSummaryResponse) { return this->GetRecordingSummary(NULL, NULL, tse__GetRecordingSummary, tse__GetRecordingSummaryResponse); }
  67. virtual int GetRecordingSummary(const char *endpoint, const char *soap_action, _tse__GetRecordingSummary *tse__GetRecordingSummary, _tse__GetRecordingSummaryResponse *tse__GetRecordingSummaryResponse);
  68. /// Web service operation 'GetRecordingInformation' (returns error code or SOAP_OK)
  69. virtual int GetRecordingInformation(_tse__GetRecordingInformation *tse__GetRecordingInformation, _tse__GetRecordingInformationResponse *tse__GetRecordingInformationResponse) { return this->GetRecordingInformation(NULL, NULL, tse__GetRecordingInformation, tse__GetRecordingInformationResponse); }
  70. virtual int GetRecordingInformation(const char *endpoint, const char *soap_action, _tse__GetRecordingInformation *tse__GetRecordingInformation, _tse__GetRecordingInformationResponse *tse__GetRecordingInformationResponse);
  71. /// Web service operation 'GetMediaAttributes' (returns error code or SOAP_OK)
  72. virtual int GetMediaAttributes(_tse__GetMediaAttributes *tse__GetMediaAttributes, _tse__GetMediaAttributesResponse *tse__GetMediaAttributesResponse) { return this->GetMediaAttributes(NULL, NULL, tse__GetMediaAttributes, tse__GetMediaAttributesResponse); }
  73. virtual int GetMediaAttributes(const char *endpoint, const char *soap_action, _tse__GetMediaAttributes *tse__GetMediaAttributes, _tse__GetMediaAttributesResponse *tse__GetMediaAttributesResponse);
  74. /// Web service operation 'FindRecordings' (returns error code or SOAP_OK)
  75. virtual int FindRecordings(_tse__FindRecordings *tse__FindRecordings, _tse__FindRecordingsResponse *tse__FindRecordingsResponse) { return this->FindRecordings(NULL, NULL, tse__FindRecordings, tse__FindRecordingsResponse); }
  76. virtual int FindRecordings(const char *endpoint, const char *soap_action, _tse__FindRecordings *tse__FindRecordings, _tse__FindRecordingsResponse *tse__FindRecordingsResponse);
  77. /// Web service operation 'GetRecordingSearchResults' (returns error code or SOAP_OK)
  78. virtual int GetRecordingSearchResults(_tse__GetRecordingSearchResults *tse__GetRecordingSearchResults, _tse__GetRecordingSearchResultsResponse *tse__GetRecordingSearchResultsResponse) { return this->GetRecordingSearchResults(NULL, NULL, tse__GetRecordingSearchResults, tse__GetRecordingSearchResultsResponse); }
  79. virtual int GetRecordingSearchResults(const char *endpoint, const char *soap_action, _tse__GetRecordingSearchResults *tse__GetRecordingSearchResults, _tse__GetRecordingSearchResultsResponse *tse__GetRecordingSearchResultsResponse);
  80. /// Web service operation 'FindEvents' (returns error code or SOAP_OK)
  81. virtual int FindEvents(_tse__FindEvents *tse__FindEvents, _tse__FindEventsResponse *tse__FindEventsResponse) { return this->FindEvents(NULL, NULL, tse__FindEvents, tse__FindEventsResponse); }
  82. virtual int FindEvents(const char *endpoint, const char *soap_action, _tse__FindEvents *tse__FindEvents, _tse__FindEventsResponse *tse__FindEventsResponse);
  83. /// Web service operation 'GetEventSearchResults' (returns error code or SOAP_OK)
  84. virtual int GetEventSearchResults(_tse__GetEventSearchResults *tse__GetEventSearchResults, _tse__GetEventSearchResultsResponse *tse__GetEventSearchResultsResponse) { return this->GetEventSearchResults(NULL, NULL, tse__GetEventSearchResults, tse__GetEventSearchResultsResponse); }
  85. virtual int GetEventSearchResults(const char *endpoint, const char *soap_action, _tse__GetEventSearchResults *tse__GetEventSearchResults, _tse__GetEventSearchResultsResponse *tse__GetEventSearchResultsResponse);
  86. /// Web service operation 'FindPTZPosition' (returns error code or SOAP_OK)
  87. virtual int FindPTZPosition(_tse__FindPTZPosition *tse__FindPTZPosition, _tse__FindPTZPositionResponse *tse__FindPTZPositionResponse) { return this->FindPTZPosition(NULL, NULL, tse__FindPTZPosition, tse__FindPTZPositionResponse); }
  88. virtual int FindPTZPosition(const char *endpoint, const char *soap_action, _tse__FindPTZPosition *tse__FindPTZPosition, _tse__FindPTZPositionResponse *tse__FindPTZPositionResponse);
  89. /// Web service operation 'GetPTZPositionSearchResults' (returns error code or SOAP_OK)
  90. virtual int GetPTZPositionSearchResults(_tse__GetPTZPositionSearchResults *tse__GetPTZPositionSearchResults, _tse__GetPTZPositionSearchResultsResponse *tse__GetPTZPositionSearchResultsResponse) { return this->GetPTZPositionSearchResults(NULL, NULL, tse__GetPTZPositionSearchResults, tse__GetPTZPositionSearchResultsResponse); }
  91. virtual int GetPTZPositionSearchResults(const char *endpoint, const char *soap_action, _tse__GetPTZPositionSearchResults *tse__GetPTZPositionSearchResults, _tse__GetPTZPositionSearchResultsResponse *tse__GetPTZPositionSearchResultsResponse);
  92. /// Web service operation 'GetSearchState' (returns error code or SOAP_OK)
  93. virtual int GetSearchState(_tse__GetSearchState *tse__GetSearchState, _tse__GetSearchStateResponse *tse__GetSearchStateResponse) { return this->GetSearchState(NULL, NULL, tse__GetSearchState, tse__GetSearchStateResponse); }
  94. virtual int GetSearchState(const char *endpoint, const char *soap_action, _tse__GetSearchState *tse__GetSearchState, _tse__GetSearchStateResponse *tse__GetSearchStateResponse);
  95. /// Web service operation 'EndSearch' (returns error code or SOAP_OK)
  96. virtual int EndSearch(_tse__EndSearch *tse__EndSearch, _tse__EndSearchResponse *tse__EndSearchResponse) { return this->EndSearch(NULL, NULL, tse__EndSearch, tse__EndSearchResponse); }
  97. virtual int EndSearch(const char *endpoint, const char *soap_action, _tse__EndSearch *tse__EndSearch, _tse__EndSearchResponse *tse__EndSearchResponse);
  98. /// Web service operation 'FindMetadata' (returns error code or SOAP_OK)
  99. virtual int FindMetadata(_tse__FindMetadata *tse__FindMetadata, _tse__FindMetadataResponse *tse__FindMetadataResponse) { return this->FindMetadata(NULL, NULL, tse__FindMetadata, tse__FindMetadataResponse); }
  100. virtual int FindMetadata(const char *endpoint, const char *soap_action, _tse__FindMetadata *tse__FindMetadata, _tse__FindMetadataResponse *tse__FindMetadataResponse);
  101. /// Web service operation 'GetMetadataSearchResults' (returns error code or SOAP_OK)
  102. virtual int GetMetadataSearchResults(_tse__GetMetadataSearchResults *tse__GetMetadataSearchResults, _tse__GetMetadataSearchResultsResponse *tse__GetMetadataSearchResultsResponse) { return this->GetMetadataSearchResults(NULL, NULL, tse__GetMetadataSearchResults, tse__GetMetadataSearchResultsResponse); }
  103. virtual int GetMetadataSearchResults(const char *endpoint, const char *soap_action, _tse__GetMetadataSearchResults *tse__GetMetadataSearchResults, _tse__GetMetadataSearchResultsResponse *tse__GetMetadataSearchResultsResponse);
  104. };
  105. #endif