1#ifndef LIBS_LOGIC_CLOGICSCOMPONENTCHANNEL_HPP_
2#define LIBS_LOGIC_CLOGICSCOMPONENTCHANNEL_HPP_
22 const std::string &name);
33 [[nodiscard]] std::string
maxText()
const override;
35 [[nodiscard]] std::string
toString()
const;
37 void setChannel(
const std::weak_ptr<iv::channels::AbstractChannel> &channel);
39 [[nodiscard]] std::string
getTag()
const;
40 [[nodiscard]] std::string
getType()
const;
42 [[nodiscard]]
const std::weak_ptr<iv::channels::AbstractChannel> &
getChannel()
const;
uint32_t TId
Definition AbstractCanvasItem.hpp:47
Definition CLogicsComponentChannel.hpp:16
CLogicsComponentChannel()=delete
void setChannel(const std::weak_ptr< iv::channels::AbstractChannel > &channel)
Definition CLogicsComponentChannel.cpp:109
static const std::string kUnsetChannel
Definition CLogicsComponentChannel.hpp:18
std::string getDescriptiveText() const override
Definition CLogicsComponentChannel.cpp:154
CLogicsComponentChannel & operator=(const CLogicsComponentChannel &other)=delete
CLogicsComponentChannel & operator=(CLogicsComponentChannel &&other)=delete
std::string maxText() const override
Definition CLogicsComponentChannel.cpp:80
CLogicsComponentChannel(CLogicsComponentChannel &&other)=delete
CLogicsComponentChannel(const CLogicsComponentChannel &other)=delete
std::string getTag() const
Definition CLogicsComponentChannel.cpp:114
std::weak_ptr< iv::channels::AbstractChannel > m_channelRef
Definition CLogicsComponentChannel.hpp:49
iv::file::xml::node save(iv::file::xml::node &node) const override
Definition CLogicsComponentChannel.cpp:56
iv::file::xml::node read(const iv::file::xml::node &node) override
Definition CLogicsComponentChannel.cpp:31
const std::weak_ptr< iv::channels::AbstractChannel > & getChannel() const
Definition CLogicsComponentChannel.cpp:134
std::string getType() const
Definition CLogicsComponentChannel.cpp:124
uint32_t getFirmwareGlobalId() const
Definition CLogicsComponentChannel.cpp:139
std::string toString() const
Definition CLogicsComponentChannel.cpp:99
std::string getMainText() const override
Definition CLogicsComponentChannel.cpp:149
~CLogicsComponentChannel() override=default
Definition CLogicsComponentOthers.hpp:12
Definition xmlFile.hpp:15
Tuple containing the type of logic component (logic blocks, library blocks & others blocks).
Definition types.hpp:22