SDRAngel
4.11.5
Developer docs for <a href="https://github.com/f4exb/sdrangel">SDRangel<\a>, an Open Source Qt5 / OpenGL 3.0+ SDR and signal analyzer frontend to various hardware.
sdrbase
channel
channelapi.cpp
Go to the documentation of this file.
1
// Copyright (C) 2019 Edouard Griffiths, F4EXB //
3
// //
4
// API for Rx channels //
5
// //
6
// This program is free software; you can redistribute it and/or modify //
7
// it under the terms of the GNU General Public License as published by //
8
// the Free Software Foundation as version 3 of the License, or //
9
// (at your option) any later version. //
10
// //
11
// This program is distributed in the hope that it will be useful, //
12
// but WITHOUT ANY WARRANTY; without even the implied warranty of //
13
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the //
14
// GNU General Public License V3 for more details. //
15
// //
16
// You should have received a copy of the GNU General Public License //
17
// along with this program. If not, see <http://www.gnu.org/licenses/>. //
19
20
#include "
util/uid.h
"
21
#include "
channelapi.h
"
22
23
ChannelAPI::ChannelAPI
(
const
QString& name,
StreamType
streamType) :
24
m_streamType(streamType),
25
m_name(name),
26
m_indexInDeviceSet(-1),
27
m_deviceSetIndex(0),
28
m_deviceAPI(0),
29
m_uid(
UidCalculator
::getNewObjectId())
30
{ }
uid.h
ChannelAPI::StreamType
StreamType
< This is the same enum as in PluginInterface
Definition:
channelapi.h:39
ChannelAPI::ChannelAPI
ChannelAPI(const QString &name, StreamType streamType)
Definition:
channelapi.cpp:23
channelapi.h
UidCalculator
Definition:
uid.h:27
Generated on Fri Aug 2 2019 17:56:33 for SDRAngel by
1.8.13