Nix (Dev) 3.5.10
dev - 3.5.10 - 1af9301
Loading...
Searching...
No Matches
CPrvListenerClickAddChannel Class Referencefinal
Inheritance diagram for CPrvListenerClickAddChannel:
[legend]
Collaboration diagram for CPrvListenerClickAddChannel:
[legend]

Public Member Functions

 CPrvListenerClickAddChannel (std::shared_ptr< AbstractSheetModel > sheetModel, CSheet *sheet, CPanelChannelsEditor *panelChannelsEditorRef)
 

Private Member Functions

void click (CEventClick *evt) override
 
bool getSelectedUnit (uint16_t *selectedUnit) const
 

Static Private Member Functions

static void prvConfigureChannel (const std::shared_ptr< iv::units::Unit > &unit, const std::shared_ptr< iv::channels::AbstractChannel > &channel)
 
static void prvConfigureDigitalChannelFromLom (const std::shared_ptr< iv::channels::AbstractChannel > &channel)
 
static void prvConfigureDigitalChannelFromStation (const std::shared_ptr< iv::channels::AbstractChannel > &channel)
 
static void prvConfigureAnalogChannelFromLom (const std::shared_ptr< iv::channels::AbstractChannel > &channel)
 
static void prvConfigureAnalogChannelFromStation (const std::shared_ptr< iv::channels::AbstractChannel > &channel)
 

Private Attributes

std::shared_ptr< AbstractSheetModelm_sheetModelRef
 
CSheetm_sheetRef
 
CPanelChannelsEditorm_panelChannelsEditor
 

Constructor & Destructor Documentation

◆ CPrvListenerClickAddChannel()

CPrvListenerClickAddChannel::CPrvListenerClickAddChannel ( std::shared_ptr< AbstractSheetModel > sheetModel,
CSheet * sheet,
CPanelChannelsEditor * panelChannelsEditorRef )
inline

Member Function Documentation

◆ click()

void CPrvListenerClickAddChannel::click ( CEventClick * evt)
inlineoverrideprivatevirtual

Implements IListenerClick.

◆ getSelectedUnit()

bool CPrvListenerClickAddChannel::getSelectedUnit ( uint16_t * selectedUnit) const
inlineprivate

◆ prvConfigureAnalogChannelFromLom()

static void CPrvListenerClickAddChannel::prvConfigureAnalogChannelFromLom ( const std::shared_ptr< iv::channels::AbstractChannel > & channel)
inlinestaticprivate

◆ prvConfigureAnalogChannelFromStation()

static void CPrvListenerClickAddChannel::prvConfigureAnalogChannelFromStation ( const std::shared_ptr< iv::channels::AbstractChannel > & channel)
inlinestaticprivate

◆ prvConfigureChannel()

static void CPrvListenerClickAddChannel::prvConfigureChannel ( const std::shared_ptr< iv::units::Unit > & unit,
const std::shared_ptr< iv::channels::AbstractChannel > & channel )
inlinestaticprivate

TODO: [RAG] Estas funciones están horribles aquí. Esto habría q sacarlo de la vista y tenerlo en una clase encargada de gestionar los canales.

◆ prvConfigureDigitalChannelFromLom()

static void CPrvListenerClickAddChannel::prvConfigureDigitalChannelFromLom ( const std::shared_ptr< iv::channels::AbstractChannel > & channel)
inlinestaticprivate

◆ prvConfigureDigitalChannelFromStation()

static void CPrvListenerClickAddChannel::prvConfigureDigitalChannelFromStation ( const std::shared_ptr< iv::channels::AbstractChannel > & channel)
inlinestaticprivate

Member Data Documentation

◆ m_panelChannelsEditor

CPanelChannelsEditor* CPrvListenerClickAddChannel::m_panelChannelsEditor
private

◆ m_sheetModelRef

std::shared_ptr<AbstractSheetModel> CPrvListenerClickAddChannel::m_sheetModelRef
private

◆ m_sheetRef

CSheet* CPrvListenerClickAddChannel::m_sheetRef
private

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