Nix (Dev) 3.5.10
dev - 3.5.10 - 1af9301
|
#include <CLogicsComponentChannel.hpp>
Public Types | |
enum class | ECPPosition { Bottom , Left , Right , Top , Without } |
typedef std::map< AbstractCanvasItem::TId, std::shared_ptr< CLogicsConnectionPoint > > | TMapIdConnPoint |
enum class | EPartType { MainShape , MainText , SubText1 , SubText2 , SubText3 } |
typedef std::pair< TIndex, EPartType > | TPairIndexPartType |
typedef std::map< TIndex, EPartType > | TMapIndexPartType |
typedef std::map< TPairIndexPartType, AbstractCanvasItem::TTupleDrawingMode > | TMapPartTypeDrawingMode |
typedef std::map< AbstractCanvasItem::TTupleDrawingMode, TMapPartTypeDrawingMode > | TMapDrawingModePartsDrawingMode |
enum class | EMarkMode { None , Selected } |
enum class | EStandOutMode { Highlighted , Warning , None } |
typedef uint32_t | TId |
typedef std::pair< double, double > | TPosition2d |
typedef uint32_t | TIndex |
typedef std::tuple< EMarkMode, EStandOutMode > | TTupleDrawingMode |
Static Public Member Functions | |
static std::string | strGuiOthers (iv::logic::eOthers otherBlock, bool shortName=false) |
static iv::logic::eGeneralType | enumGeneralType (const std::string &strType) |
static std::string | strGeneralType (iv::logic::eGeneralType generalType) |
static iv::types::logic::ComponentType | readLogicsComponentTypeTuple (const iv::file::xml::node &node) |
static bool | hasExecutionOrder (const iv::types::logic::ComponentType &componentTypeTuple) |
static bool | isExecBlock (const iv::types::logic::ComponentType &componentTypeTuple) |
static bool | isLibraryBlock (const iv::types::logic::ComponentType &componentTypeTuple) |
static iv::logic::eLogicsElementType | enumLogicsElementType (const std::string &strType) |
static std::string | strLogicsElementType (iv::logic::eLogicsElementType type) |
static iv::logic::eLogicsElementType | readLogicsElementType (const iv::file::xml::node &node) |
Static Public Attributes | |
static const std::string | kUnsetChannel = "???" |
static constexpr std::string_view | kPrvKeySectionLogicsElementData = "LogicsElementData" |
static const TId | kInvalidCanvasItemId = 0 |
static const TId | kStartingCanvasItemId = 1 |
static const TPosition2d | kZeroPosition = {0., 0.} |
Protected Member Functions | |
virtual std::optional< uint32_t > | getIndexOfConnectionForParam (iv::logic::eDBBlockParamType type, iv::types::logic::paramNumber number) const |
Private Attributes | |
std::weak_ptr< iv::channels::AbstractChannel > | m_channelRef |
ECPPosition | m_cPPosition |
iv::types::logic::ComponentType | m_componentTypeTuple |
TMapIdConnPoint | m_inputRefs |
TMapIdConnPoint | m_outputRefs |
iv::logic::eLogicsElementType | m_logicsElementType |
std::string | m_name |
TId | m_id |
TPosition2d | m_globalPosition2d |
TTupleDrawingMode | m_currentDrawingMode |
bool | m_redrawFlag |
ICanvasItem * | m_canvasItem |
std::vector< std::unique_ptr< IListenerCanvasItemClick > > | m_listenersItemClick |
std::vector< std::unique_ptr< IListenerCanvasItemMove > > | m_listenersItemMove |
std::vector< std::unique_ptr< IListenerCanvasItemEnter > > | m_listenersItemEnter |
std::vector< std::unique_ptr< IListenerCanvasItemLeave > > | m_listenersItemLeave |
class CLogicsComponentChannel
A channel component has assigned a unit id and a channel id.
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
stronginherited |
|
stronginherited |
|
stronginherited |
|
stronginherited |
|
explicit |
CLogicsComponentChannel::CLogicsComponentChannel | ( | AbstractCanvasItem::TId | id, |
const iv::types::logic::ComponentType & | componentType, | ||
const std::string & | name ) |
|
delete |
|
overridedefault |
|
delete |
|
delete |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
staticinherited |
|
staticinherited |
|
inherited |
|
nodiscardinherited |
|
nodiscard |
|
nodiscardinherited |
|
nodiscardinherited |
|
nodiscardinherited |
|
nodiscardinherited |
|
nodiscardinherited |
|
nodiscardinherited |
|
nodiscardinherited |
|
nodiscardinherited |
|
virtualinherited |
Reimplemented in iv::logic::component::LogicRectangle.
|
overridevirtual |
Reimplemented from AbstractLogicsElement.
|
nodiscardinherited |
|
nodiscardinherited |
uint32_t CLogicsComponentChannel::getFirmwareGlobalId | ( | ) | const |
|
nodiscardinherited |
|
nodiscardinherited |
|
nodiscardinherited |
|
nodiscardinherited |
|
protectedvirtualinherited |
Reimplemented in CLogicsComponentExec.
|
nodiscardinherited |
|
inherited |
|
nodiscardinherited |
|
overridevirtualinherited |
Reimplemented from AbstractLogicsElement.
|
overridevirtual |
Reimplemented from AbstractLogicsElement.
|
nodiscardinherited |
|
inherited |
|
nodiscardinherited |
|
nodiscardinherited |
|
nodiscard |
|
nodiscard |
|
staticinherited |
|
nodiscardinherited |
|
staticinherited |
|
staticinherited |
|
nodiscardoverridevirtual |
Reimplemented from AbstractLogicsElement.
|
nodiscardinherited |
|
nodiscardinherited |
|
delete |
|
delete |
|
overridevirtual |
Reimplemented from CLogicsComponent.
|
staticinherited |
|
staticinherited |
|
overridevirtualinherited |
Reimplemented from AbstractLogicsElement.
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
overridevirtual |
Reimplemented from CLogicsComponent.
|
inherited |
void CLogicsComponentChannel::setChannel | ( | const std::weak_ptr< iv::channels::AbstractChannel > & | channel | ) |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
staticinherited |
|
staticinherited |
|
staticinherited |
|
nodiscard |
|
overridevirtualinherited |
Reimplemented from AbstractLogicsElement.
|
inlinestaticinherited |
|
inlinestaticconstexprinherited |
|
inlinestaticinherited |
|
inlinestatic |
|
inlinestaticinherited |
|
privateinherited |
|
private |
|
privateinherited |
|
privateinherited |
|
privateinherited |
|
privateinherited |
|
privateinherited |
|
privateinherited |
|
privateinherited |
|
privateinherited |
|
privateinherited |
|
privateinherited |
|
privateinherited |
|
privateinherited |
|
privateinherited |
|
privateinherited |