Nix (Dev) 3.5.10
dev - 3.5.10 - 1af9301
Loading...
Searching...
No Matches
CPanelChannelsAddChannel Class Reference

#include <CPanelChannelsAddChannel.hpp>

Collaboration diagram for CPanelChannelsAddChannel:
[legend]

Public Types

typedef std::tuple< iv::types::unitId, iv::types::channelOrder, iv::channels::eChannelSpecificTypeTTupleUIdChanIdChanType
 

Public Member Functions

 CPanelChannelsAddChannel (bool selectionExists, uint16_t selectedUnit)
 
 ~CPanelChannelsAddChannel ()=default
 
 CPanelChannelsAddChannel (const CPanelChannelsAddChannel &other)=delete
 
 CPanelChannelsAddChannel (CPanelChannelsAddChannel &&other)=delete
 
CPanelChannelsAddChanneloperator= (const CPanelChannelsAddChannel &other)=delete
 
CPanelChannelsAddChanneloperator= (CPanelChannelsAddChannel &&other)=delete
 
AbstractComponentGUIbuildPanel ()
 
TTupleUIdChanIdChanType getChannelToAdd () const
 
uint16_t getQuantityChannelsToAdd () const
 
void updateSelectedUnit ()
 
void updateSelectedChannelType ()
 
void populateSrcUnitComboBox ()
 
void populateChannelTypeComboBox ()
 
void setFirstFreeChannelId ()
 
size_t getCurrentUnitPopulationSize ()
 
size_t getCurrentChannelTypePopulationSize ()
 
iv::types::unitId getCurrentUnit () const
 
iv::channels::eChannelSpecificType getCurrentChannelType ()
 
void setCurrentUnit (iv::types::unitId unit)
 
void setCurrentChannelType (iv::channels::eChannelSpecificType channelType)
 

Private Attributes

bool m_selectionExists
 
uint32_t m_currentUnitId
 
iv::channels::eChannelSpecificType m_currentChannelType {iv::channels::eChannelSpecificType::AnalogOutput}
 
uint16_t m_currentChannelNum
 
CComboBoxm_comboBoxUnit
 
CComboBoxEnum< iv::channels::eChannelSpecificType > * m_comboBoxEnumChannelType
 
CEditNumm_editNumChannelId
 
uint16_t m_quantityChannelsToAdd
 
CEditNumm_editNumChannelsToAdd
 
TTupleUIdChanIdChanType m_channelToAdd
 

Member Typedef Documentation

◆ TTupleUIdChanIdChanType

Constructor & Destructor Documentation

◆ CPanelChannelsAddChannel() [1/3]

CPanelChannelsAddChannel::CPanelChannelsAddChannel ( bool selectionExists,
uint16_t selectedUnit )

◆ ~CPanelChannelsAddChannel()

CPanelChannelsAddChannel::~CPanelChannelsAddChannel ( )
default

◆ CPanelChannelsAddChannel() [2/3]

CPanelChannelsAddChannel::CPanelChannelsAddChannel ( const CPanelChannelsAddChannel & other)
delete

◆ CPanelChannelsAddChannel() [3/3]

CPanelChannelsAddChannel::CPanelChannelsAddChannel ( CPanelChannelsAddChannel && other)
delete

Member Function Documentation

◆ buildPanel()

AbstractComponentGUI * CPanelChannelsAddChannel::buildPanel ( )

◆ getChannelToAdd()

CPanelChannelsAddChannel::TTupleUIdChanIdChanType CPanelChannelsAddChannel::getChannelToAdd ( ) const
nodiscard

◆ getCurrentChannelType()

iv::channels::eChannelSpecificType CPanelChannelsAddChannel::getCurrentChannelType ( )

◆ getCurrentChannelTypePopulationSize()

size_t CPanelChannelsAddChannel::getCurrentChannelTypePopulationSize ( )

◆ getCurrentUnit()

iv::types::unitId CPanelChannelsAddChannel::getCurrentUnit ( ) const
nodiscard

◆ getCurrentUnitPopulationSize()

size_t CPanelChannelsAddChannel::getCurrentUnitPopulationSize ( )

◆ getQuantityChannelsToAdd()

uint16_t CPanelChannelsAddChannel::getQuantityChannelsToAdd ( ) const
nodiscard

◆ operator=() [1/2]

CPanelChannelsAddChannel & CPanelChannelsAddChannel::operator= ( const CPanelChannelsAddChannel & other)
delete

◆ operator=() [2/2]

CPanelChannelsAddChannel & CPanelChannelsAddChannel::operator= ( CPanelChannelsAddChannel && other)
delete

◆ populateChannelTypeComboBox()

void CPanelChannelsAddChannel::populateChannelTypeComboBox ( )

◆ populateSrcUnitComboBox()

void CPanelChannelsAddChannel::populateSrcUnitComboBox ( )

◆ setCurrentChannelType()

void CPanelChannelsAddChannel::setCurrentChannelType ( iv::channels::eChannelSpecificType channelType)

◆ setCurrentUnit()

void CPanelChannelsAddChannel::setCurrentUnit ( iv::types::unitId unit)

◆ setFirstFreeChannelId()

void CPanelChannelsAddChannel::setFirstFreeChannelId ( )

setFirstFreeChannelId helps the user setting the first available m_channelId for the selected unit and channel type.

◆ updateSelectedChannelType()

void CPanelChannelsAddChannel::updateSelectedChannelType ( )

◆ updateSelectedUnit()

void CPanelChannelsAddChannel::updateSelectedUnit ( )

Member Data Documentation

◆ m_channelToAdd

TTupleUIdChanIdChanType CPanelChannelsAddChannel::m_channelToAdd
private

◆ m_comboBoxEnumChannelType

CComboBoxEnum<iv::channels::eChannelSpecificType>* CPanelChannelsAddChannel::m_comboBoxEnumChannelType
private

◆ m_comboBoxUnit

CComboBox* CPanelChannelsAddChannel::m_comboBoxUnit
private

◆ m_currentChannelNum

uint16_t CPanelChannelsAddChannel::m_currentChannelNum
private

◆ m_currentChannelType

iv::channels::eChannelSpecificType CPanelChannelsAddChannel::m_currentChannelType {iv::channels::eChannelSpecificType::AnalogOutput}
private

◆ m_currentUnitId

uint32_t CPanelChannelsAddChannel::m_currentUnitId
private

◆ m_editNumChannelId

CEditNum* CPanelChannelsAddChannel::m_editNumChannelId
private

◆ m_editNumChannelsToAdd

CEditNum* CPanelChannelsAddChannel::m_editNumChannelsToAdd
private

◆ m_quantityChannelsToAdd

uint16_t CPanelChannelsAddChannel::m_quantityChannelsToAdd
private

◆ m_selectionExists

bool CPanelChannelsAddChannel::m_selectionExists
private

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