资源简介
基于gsoap编译onvif的标准wsdl文件,生成Onvif客户端代码框架。其中main.cpp写了一个几月该框架的设备自动发现功能的demo,可以作为参考。其它信令只需要自己实现即可。
编译命令:
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计算机网络国赛样题
相关资源
- 基于嵌入式的安防视频监控
- web3.0海康视频在线实时监控支持h.26
- wifi小车视频监控安卓手机软件及安卓
- onvif源码V2.4
- 手机视频监控IOS
- 全国二等奖“华为杯”第十四届中国
- GBT28181-2016公共安全视频监控联网系统
- 智慧农业视频监控系统解决方案设计
- GB28181《安全防范视频监控联网系统
- ONVIF2.0中文协议原版.pdf
- 智能视频监控中的行人检测与跟踪方
- H.264视频监控最佳指导
- RtspRtcpRtpLoad_h264.tar.gz
- 有ssl支持的gsoap/wsdl2h.exe&同时加入我弄
- 《铁路综合视频监控系统技术规范》
- 基于雷达的安防视频监控系统软件设
- 基于labview的视频监控系统
- 视频监控系统visio素材
- 移动视频监控
- onvif ptz控制 soap协议
- 校车GPS定位视频监控系统介绍.ppt
- 视频监控系统整套源码
- 基于Arduino开源平台的WIFI视频监控小车
- 通过Web远程浏览arm板上的摄像头
- onvif rtsp流对接
- VS-001-视频监控行业概述.pdf
- 海康视频监控 hik chrome 谷歌浏览器 二
- 基于web视频监控系统源码毕业设计
- 基于ARM的网络视频监控系统106766
- 集中管理互联网视频监控解决方案
评论
共有 条评论