#include <nodelistmodel.h>
|
| enum | Roles {
NameRole = Qt::UserRole + 1
, DisplayNameRole
, CategoryRole
, TypeRole
,
TooltipRole
, DescriptionRole
, VisibilityRole
, EntryListModelRole
,
ValueRole
, MinRole
, MaxRole
, IncRole
,
UnitRole
, AvailableRole
, ReadableRole
, WriteableRole
,
AccessStatusRole
, NodeObjectRole
} |
| |
|
| void | updateList (int a, int b, QVector< int > changedRoles=QVector< int >()) |
| |
|
| QHash< int, QByteArray > | roleNames () const override |
| |
◆ Roles
| Enumerator |
|---|
| NameRole | |
| DisplayNameRole | |
| CategoryRole | |
| TypeRole | |
| TooltipRole | |
| DescriptionRole | |
| VisibilityRole | |
| EntryListModelRole | |
| ValueRole | |
| MinRole | |
| MaxRole | |
| IncRole | |
| UnitRole | |
| AvailableRole | |
| ReadableRole | |
| WriteableRole | |
| AccessStatusRole | |
| NodeObjectRole | |
◆ NodeListModel()
| NodeListModel::NodeListModel |
( |
| ) |
|
◆ ~NodeListModel()
| NodeListModel::~NodeListModel |
( |
| ) |
|
|
overridedefault |
◆ clear()
| void NodeListModel::clear |
( |
| ) |
|
|
private |
◆ data()
| QVariant NodeListModel::data |
( |
const QModelIndex & | index, |
|
|
int | role = Qt::DisplayRole ) const |
|
override |
◆ get() [1/2]
| Q_INVOKABLE NodeListObject * NodeListModel::get |
( |
const QString & | name | ) |
|
◆ get() [2/2]
◆ pauseUpdating()
| void NodeListModel::pauseUpdating |
( |
| ) |
|
◆ resumeUpdating()
| void NodeListModel::resumeUpdating |
( |
| ) |
|
◆ roleNames()
| QHash< int, QByteArray > NodeListModel::roleNames |
( |
| ) |
const |
|
overrideprotected |
◆ rowCount()
| int NodeListModel::rowCount |
( |
const QModelIndex & | index = QModelIndex() | ) |
const |
|
override |
◆ setNodeMap()
| void NodeListModel::setNodeMap |
( |
const std::shared_ptr< peak::core::NodeMap > & | nodeMap | ) |
|
◆ stopUpdating()
| void NodeListModel::stopUpdating |
( |
| ) |
|
◆ updateList
| void NodeListModel::updateList |
( |
int | a, |
|
|
int | b, |
|
|
QVector< int > | changedRoles = QVector<int>() ) |
|
slot |
◆ updateThread()
| QThread * NodeListModel::updateThread |
( |
| ) |
|
◆ m_nodeMap
| std::shared_ptr<peak::core::NodeMap> NodeListModel::m_nodeMap |
|
private |
◆ m_nodeNames
| QStringList NodeListModel::m_nodeNames |
|
private |
◆ m_objectCount
| int NodeListModel::m_objectCount {} |
|
private |
◆ m_objects
| std::vector<std::shared_ptr<NodeListObject> > NodeListModel::m_objects |
|
private |
◆ m_updateThread
| QThread* NodeListModel::m_updateThread = nullptr |
|
private |
◆ m_updateThreadWorker
◆ mutex
| QMutex NodeListModel::mutex |
|
mutableprivate |
The documentation for this class was generated from the following files: