-
大小: 80KB文件类型: .rar金币: 1下载: 0 次发布日期: 2021-06-06
- 语言: 其他
- 标签: Qt4 serialport
资源简介
Qt4第三方库qextserialport
代码片段和文件信息
/****************************************************************************
** Copyright (c) 2000-2003 Wayne Roth
** Copyright (c) 2004-2007 Stefan Sander
** Copyright (c) 2007 Michal Policht
** Copyright (c) 2008 Brandon Fosdick
** Copyright (c) 2009-2010 Liam Staskawicz
** Copyright (c) 2011 Debao Zhang
** All right reserved.
** Web: http://code.google.com/p/qextserialport/
**
** Permission is hereby granted free of charge to any person obtaining
** a copy of this software and associated documentation files (the
** “Software“) to deal in the Software without restriction including
** without limitation the rights to use copy modify merge publish
** distribute sublicense and/or sell copies of the Software and to
** permit persons to whom the Software is furnished to do so subject to
** the following conditions:
**
** The above copyright notice and this permission notice shall be
** included in all copies or substantial portions of the Software.
**
** THE SOFTWARE IS PROVIDED “AS IS“ WITHOUT WARRANTY OF ANY KIND
** EXPRESS OR IMPLIED INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
** MERCHANTABILITY FITNESS FOR A PARTICULAR PURPOSE AND
** NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
** LIABLE FOR ANY CLAIM DAMAGES OR OTHER LIABILITY WHETHER IN AN ACTION
** OF CONTRACT TORT OR OTHERWISE ARISING FROM OUT OF OR IN CONNECTION
** WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
**
****************************************************************************/
#include “qextserialenumerator.h“
#include “qextserialenumerator_p.h“
#include
#include taType>
#include
QextSerialEnumeratorPrivate::QextSerialEnumeratorPrivate(QextSerialEnumerator *enumrator)
:q_ptr(enumrator)
{
platformSpecificInit();
}
QextSerialEnumeratorPrivate::~QextSerialEnumeratorPrivate()
{
platformSpecificDestruct();
}
/*!
\class QextPortInfo
\brief The QextPortInfo class containing port information.
Structure containing port information.
\code
QString portName; ///< Port name.
QString physName; ///< Physical name.
QString friendName; ///< Friendly name.
QString enumName; ///< Enumerator name.
int vendorID; ///< Vendor ID.
int productID; ///< Product ID
\endcode
*/
/*! \class QextSerialEnumerator
\brief The QextSerialEnumerator class provides list of ports available in the system.
\section1 Usage
To poll the system for a list of connected devices simply use getPorts(). Each
QextPortInfo structure will populated with information about the corresponding device.
\bold Example
\code
QList ports = QextSerialEnumerator::getPorts();
foreach (QextPortInfo port ports) {
// inspect port...
}
\endcode
To enable event-driven notification of device connection events first cal
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 1919 2017-05-15 15:55 src\.svn\all-wcprops
文件 33 2017-05-15 15:55 src\.svn\dir-prop-ba
文件 2539 2017-05-19 15:27 src\.svn\entries
文件 5682 2017-05-15 15:55 src\.svn\text-ba
文件 2718 2017-05-15 15:55 src\.svn\text-ba
文件 7355 2017-05-15 15:55 src\.svn\text-ba
文件 12970 2017-05-15 15:55 src\.svn\text-ba
文件 4247 2017-05-15 15:55 src\.svn\text-ba
文件 2222 2017-05-15 15:55 src\.svn\text-ba
文件 12152 2017-05-15 15:55 src\.svn\text-ba
文件 32622 2017-05-15 15:55 src\.svn\text-ba
文件 7245 2017-05-15 15:55 src\.svn\text-ba
文件 1249 2017-05-15 15:55 src\.svn\text-ba
文件 2641 2017-05-15 15:55 src\.svn\text-ba
文件 7382 2017-05-15 15:55 src\.svn\text-ba
文件 15106 2017-05-15 15:55 src\.svn\text-ba
文件 14871 2017-05-15 15:55 src\.svn\text-ba
文件 5682 2017-05-15 15:55 src\qextserialenumerator.cpp
文件 2718 2017-05-15 15:55 src\qextserialenumerator.h
文件 7355 2017-05-15 15:55 src\qextserialenumerator_linux.cpp
文件 12970 2017-05-15 15:55 src\qextserialenumerator_osx.cpp
文件 4247 2017-05-15 15:55 src\qextserialenumerator_p.h
文件 2222 2017-05-15 15:55 src\qextserialenumerator_unix.cpp
文件 12152 2017-05-15 15:55 src\qextserialenumerator_win.cpp
文件 32622 2017-05-15 15:55 src\qextserialport.cpp
文件 7245 2017-05-15 15:55 src\qextserialport.h
文件 1249 2017-05-15 15:55 src\qextserialport.pri
文件 2641 2017-05-15 15:55 src\qextserialport_global.h
文件 7382 2017-05-15 15:55 src\qextserialport_p.h
文件 15106 2017-05-15 15:55 src\qextserialport_unix.cpp
............此处省略13个文件信息
- 上一篇:车规级CAN收发器支持3.3V电平
- 下一篇:基于神经网络的边缘检测
相关资源
- Qt4.8.4和creator和mingw安装配置说明总结
- Qt 4.8.4以及傻瓜式安装教程
- 2048源码qt4
- QT串口编程库--qextserialport-1.2win-alpha
- serialport类182377
- QT4.8.5.zip
- qt4.8软键盘(通过点击输入框呼出)
- qt4.7 源码
- 串口调试助手CM精装版 V3.7.2
- Qt读取PDF文档代码qt-poppler
- QT4 QCA 加密库
- QT4编写的简单计算器
- Serialport接收并保存串口的数据
- mySerialPort.rar
- SlidingWindow
- Qt4图片缩放应用程序
-
QT4 xm
l与QTableWidget的结合,QTableWid - linux的Qt设置系统时间
- QT开发的串口通讯软件(基于qextseri
- modbus通讯协议进行温湿度数据的采集
- Qt4.8.2 模仿QQ桌面右下角消息提示
- QJson使用VS2010+QT4.8编译
- 解决了关闭死锁的CSerialPort类项目
- SerialPort.zip
- QT 二维数组成图
- PyQt4入门指南 PDF中文版
- Qt4迁移至Qt5完全指南
- QT4环境下,触摸屏软键盘代码Qt4Soft
- Qt5_SerialPort.zip
- 基于VS2015编写的串口调试助手
评论
共有 条评论