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.

139 lines
13 KiB

8 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. /* soapRecordingBindingProxy.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 soapRecordingBindingProxy_H
  10. #define soapRecordingBindingProxy_H
  11. #include "soapH.h"
  12. class SOAP_CMAC RecordingBindingProxy : public soap
  13. { public:
  14. /// Endpoint URL of service 'RecordingBindingProxy' (change as needed)
  15. const char *soap_endpoint;
  16. /// Constructor
  17. RecordingBindingProxy();
  18. /// Construct from another engine state
  19. RecordingBindingProxy(const struct soap&);
  20. /// Constructor with endpoint URL
  21. RecordingBindingProxy(const char *url);
  22. /// Constructor with engine input+output mode control
  23. RecordingBindingProxy(soap_mode iomode);
  24. /// Constructor with URL and input+output mode control
  25. RecordingBindingProxy(const char *url, soap_mode iomode);
  26. /// Constructor with engine input and output mode control
  27. RecordingBindingProxy(soap_mode imode, soap_mode omode);
  28. /// Destructor frees deserialized data
  29. virtual ~RecordingBindingProxy();
  30. /// Initializer used by constructors
  31. virtual void RecordingBindingProxy_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(_trc__GetServiceCapabilities *trc__GetServiceCapabilities, _trc__GetServiceCapabilitiesResponse *trc__GetServiceCapabilitiesResponse) { return this->GetServiceCapabilities(NULL, NULL, trc__GetServiceCapabilities, trc__GetServiceCapabilitiesResponse); }
  64. virtual int GetServiceCapabilities(const char *endpoint, const char *soap_action, _trc__GetServiceCapabilities *trc__GetServiceCapabilities, _trc__GetServiceCapabilitiesResponse *trc__GetServiceCapabilitiesResponse);
  65. /// Web service operation 'CreateRecording' (returns error code or SOAP_OK)
  66. virtual int CreateRecording(_trc__CreateRecording *trc__CreateRecording, _trc__CreateRecordingResponse *trc__CreateRecordingResponse) { return this->CreateRecording(NULL, NULL, trc__CreateRecording, trc__CreateRecordingResponse); }
  67. virtual int CreateRecording(const char *endpoint, const char *soap_action, _trc__CreateRecording *trc__CreateRecording, _trc__CreateRecordingResponse *trc__CreateRecordingResponse);
  68. /// Web service operation 'DeleteRecording' (returns error code or SOAP_OK)
  69. virtual int DeleteRecording(_trc__DeleteRecording *trc__DeleteRecording, _trc__DeleteRecordingResponse *trc__DeleteRecordingResponse) { return this->DeleteRecording(NULL, NULL, trc__DeleteRecording, trc__DeleteRecordingResponse); }
  70. virtual int DeleteRecording(const char *endpoint, const char *soap_action, _trc__DeleteRecording *trc__DeleteRecording, _trc__DeleteRecordingResponse *trc__DeleteRecordingResponse);
  71. /// Web service operation 'GetRecordings' (returns error code or SOAP_OK)
  72. virtual int GetRecordings(_trc__GetRecordings *trc__GetRecordings, _trc__GetRecordingsResponse *trc__GetRecordingsResponse) { return this->GetRecordings(NULL, NULL, trc__GetRecordings, trc__GetRecordingsResponse); }
  73. virtual int GetRecordings(const char *endpoint, const char *soap_action, _trc__GetRecordings *trc__GetRecordings, _trc__GetRecordingsResponse *trc__GetRecordingsResponse);
  74. /// Web service operation 'SetRecordingConfiguration' (returns error code or SOAP_OK)
  75. virtual int SetRecordingConfiguration(_trc__SetRecordingConfiguration *trc__SetRecordingConfiguration, _trc__SetRecordingConfigurationResponse *trc__SetRecordingConfigurationResponse) { return this->SetRecordingConfiguration(NULL, NULL, trc__SetRecordingConfiguration, trc__SetRecordingConfigurationResponse); }
  76. virtual int SetRecordingConfiguration(const char *endpoint, const char *soap_action, _trc__SetRecordingConfiguration *trc__SetRecordingConfiguration, _trc__SetRecordingConfigurationResponse *trc__SetRecordingConfigurationResponse);
  77. /// Web service operation 'GetRecordingConfiguration' (returns error code or SOAP_OK)
  78. virtual int GetRecordingConfiguration(_trc__GetRecordingConfiguration *trc__GetRecordingConfiguration, _trc__GetRecordingConfigurationResponse *trc__GetRecordingConfigurationResponse) { return this->GetRecordingConfiguration(NULL, NULL, trc__GetRecordingConfiguration, trc__GetRecordingConfigurationResponse); }
  79. virtual int GetRecordingConfiguration(const char *endpoint, const char *soap_action, _trc__GetRecordingConfiguration *trc__GetRecordingConfiguration, _trc__GetRecordingConfigurationResponse *trc__GetRecordingConfigurationResponse);
  80. /// Web service operation 'GetRecordingOptions' (returns error code or SOAP_OK)
  81. virtual int GetRecordingOptions(_trc__GetRecordingOptions *trc__GetRecordingOptions, _trc__GetRecordingOptionsResponse *trc__GetRecordingOptionsResponse) { return this->GetRecordingOptions(NULL, NULL, trc__GetRecordingOptions, trc__GetRecordingOptionsResponse); }
  82. virtual int GetRecordingOptions(const char *endpoint, const char *soap_action, _trc__GetRecordingOptions *trc__GetRecordingOptions, _trc__GetRecordingOptionsResponse *trc__GetRecordingOptionsResponse);
  83. /// Web service operation 'CreateTrack' (returns error code or SOAP_OK)
  84. virtual int CreateTrack(_trc__CreateTrack *trc__CreateTrack, _trc__CreateTrackResponse *trc__CreateTrackResponse) { return this->CreateTrack(NULL, NULL, trc__CreateTrack, trc__CreateTrackResponse); }
  85. virtual int CreateTrack(const char *endpoint, const char *soap_action, _trc__CreateTrack *trc__CreateTrack, _trc__CreateTrackResponse *trc__CreateTrackResponse);
  86. /// Web service operation 'DeleteTrack' (returns error code or SOAP_OK)
  87. virtual int DeleteTrack(_trc__DeleteTrack *trc__DeleteTrack, _trc__DeleteTrackResponse *trc__DeleteTrackResponse) { return this->DeleteTrack(NULL, NULL, trc__DeleteTrack, trc__DeleteTrackResponse); }
  88. virtual int DeleteTrack(const char *endpoint, const char *soap_action, _trc__DeleteTrack *trc__DeleteTrack, _trc__DeleteTrackResponse *trc__DeleteTrackResponse);
  89. /// Web service operation 'GetTrackConfiguration' (returns error code or SOAP_OK)
  90. virtual int GetTrackConfiguration(_trc__GetTrackConfiguration *trc__GetTrackConfiguration, _trc__GetTrackConfigurationResponse *trc__GetTrackConfigurationResponse) { return this->GetTrackConfiguration(NULL, NULL, trc__GetTrackConfiguration, trc__GetTrackConfigurationResponse); }
  91. virtual int GetTrackConfiguration(const char *endpoint, const char *soap_action, _trc__GetTrackConfiguration *trc__GetTrackConfiguration, _trc__GetTrackConfigurationResponse *trc__GetTrackConfigurationResponse);
  92. /// Web service operation 'SetTrackConfiguration' (returns error code or SOAP_OK)
  93. virtual int SetTrackConfiguration(_trc__SetTrackConfiguration *trc__SetTrackConfiguration, _trc__SetTrackConfigurationResponse *trc__SetTrackConfigurationResponse) { return this->SetTrackConfiguration(NULL, NULL, trc__SetTrackConfiguration, trc__SetTrackConfigurationResponse); }
  94. virtual int SetTrackConfiguration(const char *endpoint, const char *soap_action, _trc__SetTrackConfiguration *trc__SetTrackConfiguration, _trc__SetTrackConfigurationResponse *trc__SetTrackConfigurationResponse);
  95. /// Web service operation 'CreateRecordingJob' (returns error code or SOAP_OK)
  96. virtual int CreateRecordingJob(_trc__CreateRecordingJob *trc__CreateRecordingJob, _trc__CreateRecordingJobResponse *trc__CreateRecordingJobResponse) { return this->CreateRecordingJob(NULL, NULL, trc__CreateRecordingJob, trc__CreateRecordingJobResponse); }
  97. virtual int CreateRecordingJob(const char *endpoint, const char *soap_action, _trc__CreateRecordingJob *trc__CreateRecordingJob, _trc__CreateRecordingJobResponse *trc__CreateRecordingJobResponse);
  98. /// Web service operation 'DeleteRecordingJob' (returns error code or SOAP_OK)
  99. virtual int DeleteRecordingJob(_trc__DeleteRecordingJob *trc__DeleteRecordingJob, _trc__DeleteRecordingJobResponse *trc__DeleteRecordingJobResponse) { return this->DeleteRecordingJob(NULL, NULL, trc__DeleteRecordingJob, trc__DeleteRecordingJobResponse); }
  100. virtual int DeleteRecordingJob(const char *endpoint, const char *soap_action, _trc__DeleteRecordingJob *trc__DeleteRecordingJob, _trc__DeleteRecordingJobResponse *trc__DeleteRecordingJobResponse);
  101. /// Web service operation 'GetRecordingJobs' (returns error code or SOAP_OK)
  102. virtual int GetRecordingJobs(_trc__GetRecordingJobs *trc__GetRecordingJobs, _trc__GetRecordingJobsResponse *trc__GetRecordingJobsResponse) { return this->GetRecordingJobs(NULL, NULL, trc__GetRecordingJobs, trc__GetRecordingJobsResponse); }
  103. virtual int GetRecordingJobs(const char *endpoint, const char *soap_action, _trc__GetRecordingJobs *trc__GetRecordingJobs, _trc__GetRecordingJobsResponse *trc__GetRecordingJobsResponse);
  104. /// Web service operation 'SetRecordingJobConfiguration' (returns error code or SOAP_OK)
  105. virtual int SetRecordingJobConfiguration(_trc__SetRecordingJobConfiguration *trc__SetRecordingJobConfiguration, _trc__SetRecordingJobConfigurationResponse *trc__SetRecordingJobConfigurationResponse) { return this->SetRecordingJobConfiguration(NULL, NULL, trc__SetRecordingJobConfiguration, trc__SetRecordingJobConfigurationResponse); }
  106. virtual int SetRecordingJobConfiguration(const char *endpoint, const char *soap_action, _trc__SetRecordingJobConfiguration *trc__SetRecordingJobConfiguration, _trc__SetRecordingJobConfigurationResponse *trc__SetRecordingJobConfigurationResponse);
  107. /// Web service operation 'GetRecordingJobConfiguration' (returns error code or SOAP_OK)
  108. virtual int GetRecordingJobConfiguration(_trc__GetRecordingJobConfiguration *trc__GetRecordingJobConfiguration, _trc__GetRecordingJobConfigurationResponse *trc__GetRecordingJobConfigurationResponse) { return this->GetRecordingJobConfiguration(NULL, NULL, trc__GetRecordingJobConfiguration, trc__GetRecordingJobConfigurationResponse); }
  109. virtual int GetRecordingJobConfiguration(const char *endpoint, const char *soap_action, _trc__GetRecordingJobConfiguration *trc__GetRecordingJobConfiguration, _trc__GetRecordingJobConfigurationResponse *trc__GetRecordingJobConfigurationResponse);
  110. /// Web service operation 'SetRecordingJobMode' (returns error code or SOAP_OK)
  111. virtual int SetRecordingJobMode(_trc__SetRecordingJobMode *trc__SetRecordingJobMode, _trc__SetRecordingJobModeResponse *trc__SetRecordingJobModeResponse) { return this->SetRecordingJobMode(NULL, NULL, trc__SetRecordingJobMode, trc__SetRecordingJobModeResponse); }
  112. virtual int SetRecordingJobMode(const char *endpoint, const char *soap_action, _trc__SetRecordingJobMode *trc__SetRecordingJobMode, _trc__SetRecordingJobModeResponse *trc__SetRecordingJobModeResponse);
  113. /// Web service operation 'GetRecordingJobState' (returns error code or SOAP_OK)
  114. virtual int GetRecordingJobState(_trc__GetRecordingJobState *trc__GetRecordingJobState, _trc__GetRecordingJobStateResponse *trc__GetRecordingJobStateResponse) { return this->GetRecordingJobState(NULL, NULL, trc__GetRecordingJobState, trc__GetRecordingJobStateResponse); }
  115. virtual int GetRecordingJobState(const char *endpoint, const char *soap_action, _trc__GetRecordingJobState *trc__GetRecordingJobState, _trc__GetRecordingJobStateResponse *trc__GetRecordingJobStateResponse);
  116. };
  117. #endif