Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qoscbundle_p.h
Go to the documentation of this file.
1// Copyright (C) 2014 Robin Burchell <robin.burchell@viroteck.net>
2// Copyright (C) 2016 The Qt Company Ltd.
3// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
4
5#ifndef QOSCBUNDLE_P_H
6#define QOSCBUNDLE_P_H
7
9
10#include <QtCore/QList>
11
13
14class QByteArray;
15
17{
18 QOscBundle(); // for QList, don't use
19 friend class QList<QOscBundle>;
20public:
21 explicit QOscBundle(const QByteArray &data);
22
23 bool isValid() const { return m_isValid; }
24 QList<QOscBundle> bundles() const { return m_bundles; }
25 QList<QOscMessage> messages() const { return m_messages; }
26
27private:
28 bool m_isValid;
29 bool m_immediate;
30 quint32 m_timeEpoch;
31 quint32 m_timePico;
32 QList<QOscBundle> m_bundles;
33 QList<QOscMessage> m_messages;
34};
36
37QT_END_NAMESPACE
38
39#endif // QOSCBUNDLE_P_H
QList< QOscMessage > messages() const
QOscBundle(const QByteArray &data)
bool isValid() const
QList< QOscBundle > bundles() const
Q_DECLARE_TYPEINFO(QOscBundle, Q_RELOCATABLE_TYPE)