Nix (Dev) 3.5.10
dev - 3.5.10 - 1af9301
|
#include <CLogicsComponent.hpp>
Public Types | |
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 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 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 | |
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 |
An object of CLogicsComponent will hold ownership of its CLogicsConnectionPoint inputs and outputs.
|
inherited |
|
inherited |
|
inherited |
std::map<AbstractCanvasItem::TId, std::shared_ptr<CLogicsConnectionPoint> > CLogicsComponent::TMapIdConnPoint |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
stronginherited |
|
stronginherited |
|
stronginherited |
|
explicit |
CLogicsComponent::CLogicsComponent | ( | AbstractCanvasItem::TId | id, |
const iv::types::logic::ComponentType & | componentTypeTuple, | ||
const std::string & | name ) |
|
delete |
|
overridedefault |
|
delete |
|
delete |
void CLogicsComponent::addConnectionPointInput | ( | const std::shared_ptr< CLogicsConnectionPoint > & | connectionPoint | ) |
void CLogicsComponent::addConnectionPointOutput | ( | const std::shared_ptr< CLogicsConnectionPoint > & | connectionPoint | ) |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
static |
|
staticinherited |
|
inherited |
|
nodiscardinherited |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscardinherited |
|
virtualinherited |
Reimplemented in iv::logic::component::LogicRectangle.
|
nodiscardvirtualinherited |
|
nodiscardinherited |
|
nodiscardinherited |
|
nodiscard |
|
nodiscard |
|
nodiscardinherited |
|
nodiscardinherited |
|
protectedvirtual |
Reimplemented in CLogicsComponentExec.
|
nodiscard |
CLogicsComponent::TMapIdConnPoint CLogicsComponent::getInputRefs | ( | ) |
|
nodiscard |
|
overridevirtual |
Reimplemented from AbstractLogicsElement.
|
nodiscardvirtualinherited |
Reimplemented in CLogicsComponentChannel, and iv::logic::component::LogicText.
|
nodiscard |
CLogicsComponent::TMapIdConnPoint CLogicsComponent::getOutputRefs | ( | ) |
|
nodiscard |
|
nodiscardinherited |
|
static |
|
nodiscard |
|
static |
|
static |
|
nodiscardvirtualinherited |
|
nodiscard |
|
nodiscard |
|
delete |
|
delete |
|
overridevirtual |
Reimplemented from AbstractLogicsElement.
Reimplemented in CLogicsComponentChannel, CLogicsComponentConstant, CLogicsComponentExec, CLogicsComponentLabel, CLogicsComponentLibrary, CLogicsComponentLibraryInOutBlock, CLogicsComponentOthers, and LogicComponentBroadCastChannel.
|
static |
|
staticinherited |
|
overridevirtual |
Reimplemented from AbstractLogicsElement.
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
overridevirtual |
Reimplemented from AbstractLogicsElement.
Reimplemented in CLogicsComponentChannel, CLogicsComponentConstant, CLogicsComponentExec, CLogicsComponentLabel, CLogicsComponentLibrary, CLogicsComponentLibraryInOutBlock, CLogicsComponentOthers, and LogicComponentBroadCastChannel.
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
static |
|
staticinherited |
|
overridevirtual |
Reimplemented from AbstractLogicsElement.
|
inlinestaticinherited |
|
inlinestaticconstexprinherited |
|
inlinestaticinherited |
|
inlinestaticinherited |
|
privateinherited |
|
private |
|
privateinherited |
|
privateinherited |
|
privateinherited |
|
private |
|
privateinherited |
|
privateinherited |
|
privateinherited |
|
privateinherited |
|
privateinherited |
|
privateinherited |
|
private |
|
privateinherited |