ENLIGHTEN
Cross-platform desktop GUI for Wasatch Photonics spectrometers
Loading...
Searching...
No Matches
NodeListObject Class Reference

#include <nodelistobject.h>

Inheritance diagram for NodeListObject:
[legend]
Collaboration diagram for NodeListObject:
[legend]

Public Slots

void execute ()
 

Signals

void accessStatusChanged ()
 
void availableChanged ()
 
void categoryChanged ()
 
void descriptionChanged ()
 
void displayNameChanged ()
 
void entryListModelChanged ()
 
void incChanged ()
 
void maxChanged ()
 
void minChanged ()
 
void nameChanged ()
 
void readableChanged ()
 
void tooltipChanged ()
 
void typeChanged ()
 
void unitChanged ()
 
void valueChanged ()
 
void visibilityChanged ()
 
void writeableChanged ()
 

Public Member Functions

QString accessStatus () const
 
bool available () const
 
QString category () const
 
QString description () const
 
QString displayName () const
 
EntryListModelentryListModel () const
 
QVariant inc () const
 
QVariant max () const
 
QVariant min () const
 
QString name () const
 
std::shared_ptr< peak::core::nodes::Node > node () const
 
 NodeListObject (std::shared_ptr< peak::core::nodes::Node > node)
 
bool operator!= (const NodeListObject &other)
 
bool operator== (const NodeListObject &other)
 
bool readable () const
 
void setCategory (QString categoryName)
 
void setValue (const QVariant &newValue)
 
void setValueToMax ()
 
void setValueToMin ()
 
QString tooltip () const
 
QString type () const
 
QString unit () const
 
bool updateAccessStatus ()
 
QVector< int > updateAll ()
 
QVector< int > updateChangeables ()
 
bool updateDescription ()
 
bool updateDisplayName ()
 
bool updateEntryListModel ()
 
bool updateInc ()
 
bool updateMax ()
 
bool updateMin ()
 
bool updateName ()
 
bool updateTooltip ()
 
bool updateType ()
 
bool updateUnit ()
 
bool updateValue ()
 
bool updateVisibility ()
 
QVariant value () const
 
QString visibility () const
 
bool writeable () const
 

Static Public Member Functions

static bool updateCategory ()
 

Properties

QString accessStatus
 
bool available
 
QString category
 
QString description
 
QString displayName
 
EntryListModelentryListModel
 
QVariant inc
 
QVariant max
 
QVariant min
 
QString name
 
bool readable
 
QString tooltip
 
QString type
 
QString unit
 
QVariant value
 
QString visibility
 
bool writeable
 

Private Attributes

QMutex accessMutex
 
QString m_accessStatus = "NotAvailable"
 
bool m_available = false
 
QString m_category = ""
 
QString m_description = ""
 
QString m_displayName = ""
 
std::shared_ptr< EntryListModelm_entryListModel = nullptr
 
QVariant m_inc = 0
 
QVariant m_max = 0
 
QVariant m_min = 0
 
QString m_name = ""
 
std::shared_ptr< peak::core::nodes::Node > m_node
 
bool m_readable = false
 
QString m_tooltip = ""
 
QString m_type = ""
 
QString m_unit = ""
 
QVariant m_value = 0
 
QString m_visibility = ""
 
bool m_writeable = false
 
QMutex mutex
 
QMutex valueMutex
 

Constructor & Destructor Documentation

◆ NodeListObject()

NodeListObject::NodeListObject ( std::shared_ptr< peak::core::nodes::Node > node)
explicit

Member Function Documentation

◆ accessStatus()

QString NodeListObject::accessStatus ( ) const

◆ accessStatusChanged

void NodeListObject::accessStatusChanged ( )
signal

◆ available()

bool NodeListObject::available ( ) const

◆ availableChanged

void NodeListObject::availableChanged ( )
signal

◆ category()

QString NodeListObject::category ( ) const

◆ categoryChanged

void NodeListObject::categoryChanged ( )
signal

◆ description()

QString NodeListObject::description ( ) const

◆ descriptionChanged

void NodeListObject::descriptionChanged ( )
signal

◆ displayName()

QString NodeListObject::displayName ( ) const

◆ displayNameChanged

void NodeListObject::displayNameChanged ( )
signal

◆ entryListModel()

EntryListModel * NodeListObject::entryListModel ( ) const

◆ entryListModelChanged

void NodeListObject::entryListModelChanged ( )
signal

◆ execute

void NodeListObject::execute ( )
slot

◆ inc()

QVariant NodeListObject::inc ( ) const

◆ incChanged

void NodeListObject::incChanged ( )
signal

◆ max()

QVariant NodeListObject::max ( ) const

◆ maxChanged

void NodeListObject::maxChanged ( )
signal

◆ min()

QVariant NodeListObject::min ( ) const

◆ minChanged

void NodeListObject::minChanged ( )
signal

◆ name()

QString NodeListObject::name ( ) const

◆ nameChanged

void NodeListObject::nameChanged ( )
signal

◆ node()

std::shared_ptr< peak::core::nodes::Node > NodeListObject::node ( ) const

◆ operator!=()

bool NodeListObject::operator!= ( const NodeListObject & other)

◆ operator==()

bool NodeListObject::operator== ( const NodeListObject & other)

◆ readable()

bool NodeListObject::readable ( ) const

◆ readableChanged

void NodeListObject::readableChanged ( )
signal

◆ setCategory()

void NodeListObject::setCategory ( QString categoryName)

◆ setValue()

void NodeListObject::setValue ( const QVariant & newValue)

◆ setValueToMax()

void NodeListObject::setValueToMax ( )

◆ setValueToMin()

void NodeListObject::setValueToMin ( )

◆ tooltip()

QString NodeListObject::tooltip ( ) const

◆ tooltipChanged

void NodeListObject::tooltipChanged ( )
signal

◆ type()

QString NodeListObject::type ( ) const

◆ typeChanged

void NodeListObject::typeChanged ( )
signal

◆ unit()

QString NodeListObject::unit ( ) const

◆ unitChanged

void NodeListObject::unitChanged ( )
signal

◆ updateAccessStatus()

bool NodeListObject::updateAccessStatus ( )

◆ updateAll()

QVector< int > NodeListObject::updateAll ( )

◆ updateCategory()

bool NodeListObject::updateCategory ( )
static

◆ updateChangeables()

QVector< int > NodeListObject::updateChangeables ( )

◆ updateDescription()

bool NodeListObject::updateDescription ( )

◆ updateDisplayName()

bool NodeListObject::updateDisplayName ( )

◆ updateEntryListModel()

bool NodeListObject::updateEntryListModel ( )

◆ updateInc()

bool NodeListObject::updateInc ( )

◆ updateMax()

bool NodeListObject::updateMax ( )

◆ updateMin()

bool NodeListObject::updateMin ( )

◆ updateName()

bool NodeListObject::updateName ( )

◆ updateTooltip()

bool NodeListObject::updateTooltip ( )

◆ updateType()

bool NodeListObject::updateType ( )

◆ updateUnit()

bool NodeListObject::updateUnit ( )

◆ updateValue()

bool NodeListObject::updateValue ( )

◆ updateVisibility()

bool NodeListObject::updateVisibility ( )

◆ value()

QVariant NodeListObject::value ( ) const

◆ valueChanged

void NodeListObject::valueChanged ( )
signal

◆ visibility()

QString NodeListObject::visibility ( ) const

◆ visibilityChanged

void NodeListObject::visibilityChanged ( )
signal

◆ writeable()

bool NodeListObject::writeable ( ) const

◆ writeableChanged

void NodeListObject::writeableChanged ( )
signal

Member Data Documentation

◆ accessMutex

QMutex NodeListObject::accessMutex
mutableprivate

◆ m_accessStatus

QString NodeListObject::m_accessStatus = "NotAvailable"
private

◆ m_available

bool NodeListObject::m_available = false
private

◆ m_category

QString NodeListObject::m_category = ""
private

◆ m_description

QString NodeListObject::m_description = ""
private

◆ m_displayName

QString NodeListObject::m_displayName = ""
private

◆ m_entryListModel

std::shared_ptr<EntryListModel> NodeListObject::m_entryListModel = nullptr
private

◆ m_inc

QVariant NodeListObject::m_inc = 0
private

◆ m_max

QVariant NodeListObject::m_max = 0
private

◆ m_min

QVariant NodeListObject::m_min = 0
private

◆ m_name

QString NodeListObject::m_name = ""
private

◆ m_node

std::shared_ptr<peak::core::nodes::Node> NodeListObject::m_node
private

◆ m_readable

bool NodeListObject::m_readable = false
private

◆ m_tooltip

QString NodeListObject::m_tooltip = ""
private

◆ m_type

QString NodeListObject::m_type = ""
private

◆ m_unit

QString NodeListObject::m_unit = ""
private

◆ m_value

QVariant NodeListObject::m_value = 0
private

◆ m_visibility

QString NodeListObject::m_visibility = ""
private

◆ m_writeable

bool NodeListObject::m_writeable = false
private

◆ mutex

QMutex NodeListObject::mutex
mutableprivate

◆ valueMutex

QMutex NodeListObject::valueMutex
mutableprivate

Property Documentation

◆ accessStatus

QString NodeListObject::accessStatus
read

◆ available

bool NodeListObject::available
read

◆ category

QString NodeListObject::category
read

◆ description

QString NodeListObject::description
read

◆ displayName

QString NodeListObject::displayName
read

◆ entryListModel

EntryListModel* NodeListObject::entryListModel
read

◆ inc

QVariant NodeListObject::inc
read

◆ max

QVariant NodeListObject::max
read

◆ min

QVariant NodeListObject::min
read

◆ name

QString NodeListObject::name
read

◆ readable

bool NodeListObject::readable
read

◆ tooltip

QString NodeListObject::tooltip
read

◆ type

QString NodeListObject::type
read

◆ unit

QString NodeListObject::unit
read

◆ value

QVariant NodeListObject::value
readwrite

◆ visibility

QString NodeListObject::visibility
read

◆ writeable

bool NodeListObject::writeable
read

The documentation for this class was generated from the following files: