Nix (Dev) 3.5.10
dev - 3.5.10 - 1af9301
Loading...
Searching...
No Matches
iv::mimics::Channel Class Reference

#include <Channel.hpp>

Collaboration diagram for iv::mimics::Channel:
[legend]

Classes

struct  DefaultValues
 
struct  Keys
 
struct  Sections
 

Public Member Functions

 Channel ()
 
 Channel (const Channel &other)=default
 
 ~Channel ()=default
 
bool load (const iv::file::xml::node &nodeChannel)
 
bool save (iv::file::xml::node &nodeChannel) const
 
std::vector< std::weak_ptr< iv::channels::AbstractChannel > > getChannels () const
 
void mapChannels (const std::function< void(std::weak_ptr< iv::channels::AbstractChannel > &)> &mapFunction)
 
std::shared_ptr< iv::channels::AbstractChannelgetChannelActive () const
 
void getLevelsAnalogValue (double *LEL, double *HEL)
 
std::string getTagChannelMimic () const
 

Public Attributes

bool m_withBackup
 
iv::mimics::ChannelInterface m_main
 
iv::mimics::ChannelInterface m_backup
 

Constructor & Destructor Documentation

◆ Channel() [1/2]

iv::mimics::Channel::Channel ( )

◆ Channel() [2/2]

iv::mimics::Channel::Channel ( const Channel & other)
default

◆ ~Channel()

iv::mimics::Channel::~Channel ( )
default

Member Function Documentation

◆ getChannelActive()

std::shared_ptr< iv::channels::AbstractChannel > iv::mimics::Channel::getChannelActive ( ) const

◆ getChannels()

std::vector< std::weak_ptr< iv::channels::AbstractChannel > > iv::mimics::Channel::getChannels ( ) const
nodiscard

◆ getLevelsAnalogValue()

void iv::mimics::Channel::getLevelsAnalogValue ( double * LEL,
double * HEL )

◆ getTagChannelMimic()

std::string iv::mimics::Channel::getTagChannelMimic ( ) const
nodiscard

◆ load()

bool iv::mimics::Channel::load ( const iv::file::xml::node & nodeChannel)

◆ mapChannels()

void iv::mimics::Channel::mapChannels ( const std::function< void(std::weak_ptr< iv::channels::AbstractChannel > &)> & mapFunction)

◆ save()

bool iv::mimics::Channel::save ( iv::file::xml::node & nodeChannel) const

Member Data Documentation

◆ m_backup

iv::mimics::ChannelInterface iv::mimics::Channel::m_backup

◆ m_main

iv::mimics::ChannelInterface iv::mimics::Channel::m_main

◆ m_withBackup

bool iv::mimics::Channel::m_withBackup

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