-
大小: 1.97MB文件類型: .rar金幣: 2下載: 0 次發(fā)布日期: 2023-11-18
- 語言: 其他
- 標簽: Onvif??視頻監(jiān)控??直播??
資源簡介
基于gsoap編譯onvif的標準wsdl文件,生成Onvif客戶端代碼框架。其中main.cpp寫了一個幾月該框架的設備自動發(fā)現(xiàn)功能的demo,可以作為參考。其它信令只需要自己實現(xiàn)即可。
編譯命令:
g++ main.cpp soapC.cpp stdsoap2.cpp soapClient.cpp -I/usr/local/gSOAP/share/gsoap

代碼片段和文件信息
/*
duration.c
See?duration.h?for?documentation.
Compile?this?file?and?link?it?with?your?code.
gSOAP?xml?Web?services?tools
Copyright?(C)?2000-2015?Robert?van?Engelen?Genivia?Inc.?All?Rights?Reserved.
This?part?of?the?software?is?released?under?ONE?of?the?following?licenses:
GPL?the?gSOAP?public?license?OR?Genivia‘s?license?for?commercial?use.
--------------------------------------------------------------------------------
gSOAP?public?license.
The?contents?of?this?file?are?subject?to?the?gSOAP?Public?License?Version?1.3
(the?“License“);?you?may?not?use?this?file?except?in?compliance?with?the
License.?You?may?obtain?a?copy?of?the?License?at
http://www.cs.fsu.edu/~engelen/soaplicense.html
Software?distributed?under?the?License?is?distributed?on?an?“AS?IS“?basis
WITHOUT?WARRANTY?OF?ANY?KIND?either?express?or?implied.?See?the?License
for?the?specific?language?governing?rights?and?limitations?under?the?License.
The?Initial?Developer?of?the?Original?Code?is?Robert?A.?van?Engelen.
Copyright?(C)?2000-2015?Robert?van?Engelen?Genivia?Inc.?All?Rights?Reserved.
--------------------------------------------------------------------------------
GPL?license.
This?program?is?free?software;?you?can?redistribute?it?and/or?modify?it?under
the?terms?of?the?GNU?General?Public?License?as?published?by?the?Free?Software
Foundation;?either?version?2?of?the?License?or?(at?your?option)?any?later
version.
This?program?is?distributed?in?the?hope?that?it?will?be?useful?but?WITHOUT?ANY
WARRANTY;?without?even?the?implied?warranty?of?MERCHANTABILITY?or?FITNESS?FOR?A
PARTICULAR?PURPOSE.?See?the?GNU?General?Public?License?for?more?details.
You?should?have?received?a?copy?of?the?GNU?General?Public?License?along?with
this?program;?if?not?write?to?the?Free?Software?Foundation?Inc.?59?Temple
Place?Suite?330?Boston?MA?02111-1307?USA
Author?contact?information:
engelen@genivia.com?/?engelen@acm.org
This?program?is?released?under?the?GPL?with?the?additional?exemption?that
compiling?linking?and/or?using?OpenSSL?is?allowed.
--------------------------------------------------------------------------------
A?commercial?use?license?is?available?from?Genivia?Inc.?contact@genivia.com
--------------------------------------------------------------------------------
*/
/*?When?using?soapcpp2?option?-q?or?-p?you?need?to?change?“soapH.h“?below?*/
/*?include?soapH.h?generated?by?soapcpp2?from?.h?file?containing?#import?“duration.h“?*/
#ifdef?SOAP_H_FILE??????/*?if?set?use?the?soapcpp2-generated?fileH.h?file?as?specified?with:?cc?...?-DSOAP_H_FILE=fileH.h?*/
#?include?“stdsoap2.h“
#?include?SOAP_XSTRINGIFY(SOAP_H_FILE)
#else
#?include?“soapH.h“ /*?or?manually?replace?with?soapcpp2-generated?*H.h?file?*/
#endif
SOAP_FMAC3?void?SOAP_FMAC4?soap_default_xsd__duration(struct?soap?*soap?LONG64?*a)
{?(void)soap;?/*?appease?-Wall?-Werror?*/
??*a?=?0;
}
SOAP_FMAC3?const?char?*?SOAP_FMAC4?soap_xsd__duration2s(struct?soap?*soap?LONG64?a)
{?LONG64?d;
??int?k?h
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
????....SH.????????42??2018-12-14?16:03??OnvifClinent\desktop.ini
?????文件???????6874??2018-12-12?03:23??OnvifClinent\duration.c
?????文件???????4815??2018-12-17?11:35??OnvifClinent\main.cpp
?????文件????6262178??2018-12-17?09:38??OnvifClinent\onvif.h
?????文件???18107456??2018-12-17?09:43??OnvifClinent\soapC.cpp
?????文件????1119356??2018-12-17?09:43??OnvifClinent\soapClient.cpp
?????文件???10768526??2018-12-17?09:43??OnvifClinent\soapH.h
?????文件????5436223??2018-12-17?09:43??OnvifClinent\soapStub.h
?????文件?????624305??2018-12-12?03:23??OnvifClinent\stdsoap2.cpp
?????文件?????154477??2018-12-12?03:23??OnvifClinent\stdsoap2.h
?????文件???????2751??2018-12-14?15:43??OnvifClinent\wsdd.h
????...D..R?????????0??2018-12-17?11:11??OnvifClinent
-----------?---------??----------?-----??----
?????????????42487003????????????????????12
- 上一篇:倒立擺調試,使用步進電機,完全成功
- 下一篇:2018計算機網絡國賽樣題
評論
共有 條評論