Nix (Dev) 3.5.10
dev - 3.5.10 - 1af9301
|
#include <CLogicsComponentExec.hpp>
Classes | |
struct | Constants |
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 std::string | strOrderOfExecution (iv::types::logic::logicExecutionOrder orderOfExecution) |
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 | |
std::optional< uint32_t > | getIndexOfConnectionForParam (iv::logic::eDBBlockParamType type, iv::types::logic::paramNumber number) const override |
void | prvAddEmptyBlockParamsValues () |
void | prvCreateEmptyBlockParamsExternalDesc () |
void | prvCreateEmptyParamsVisible () |
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 CLogicsComponentExec is a CLogicsComponent with an order of execution
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
stronginherited |
|
stronginherited |
|
stronginherited |
|
explicit |
CLogicsComponentExec::CLogicsComponentExec | ( | AbstractCanvasItem::TId | id, |
const iv::types::logic::ComponentType & | componentTypeTuple, | ||
const std::string & | name, | ||
const CLogicsAllowed::TMapDBBlockParamNStr & | mapBlockParamsDesc, | ||
iv::types::logic::logicExecutionOrder | orderOfExecution ) |
|
delete |
|
overridedefault |
|
delete |
|
delete |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
staticinherited |
|
staticinherited |
std::string CLogicsComponentExec::formatParameterValue | ( | iv::logic::ParamId | paramId | ) | const |
std::string CLogicsComponentExec::formatVisibleParameter | ( | std::string_view | separator = "\n" | ) | const |
|
inherited |
|
nodiscardinherited |
|
nodiscardinherited |
|
nodiscardinherited |
|
nodiscardinherited |
|
nodiscardinherited |
|
nodiscardinherited |
|
nodiscardinherited |
|
nodiscardinherited |
CLogicsAllowed::TMapDBBlockParamNStr CLogicsComponentExec::getDefaultParamExternalDesc | ( | ) |
CLogicsAllowed::TMapDBBlockParamNStr CLogicsComponentExec::getDefaultParamValues | ( | ) |
|
virtualinherited |
Reimplemented in iv::logic::component::LogicRectangle.
|
nodiscardvirtualinherited |
|
nodiscardinherited |
|
nodiscardinherited |
|
nodiscardinherited |
|
nodiscardinherited |
|
nodiscardinherited |
|
nodiscardinherited |
|
overrideprotectedvirtual |
Reimplemented from CLogicsComponent.
|
nodiscardinherited |
|
inherited |
|
nodiscardinherited |
|
overridevirtualinherited |
Reimplemented from AbstractLogicsElement.
iv::logic::LogicBlockId CLogicsComponentExec::getLogicBlockId | ( | ) | const |
|
nodiscardvirtualinherited |
Reimplemented in CLogicsComponentChannel, and iv::logic::component::LogicText.
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscardinherited |
|
inherited |
|
nodiscardinherited |
|
nodiscardinherited |
|
staticinherited |
|
nodiscardinherited |
|
staticinherited |
|
staticinherited |
|
nodiscardvirtualinherited |
|
nodiscardinherited |
|
nodiscardinherited |
|
delete |
|
delete |
|
protected |
|
protected |
|
protected |
|
overridevirtual |
Reimplemented from CLogicsComponent.
Reimplemented in CLogicsComponentLibrary.
|
staticinherited |
|
staticinherited |
|
overridevirtualinherited |
Reimplemented from AbstractLogicsElement.
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
overridevirtual |
Reimplemented from CLogicsComponent.
Reimplemented in CLogicsComponentLibrary.
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
void CLogicsComponentExec::setMapBlockParamsDesc | ( | const CLogicsAllowed::TMapDBBlockParamNStr & | mapBlockParamsDesc | ) |
void CLogicsComponentExec::setMapBlockParamsExternalDesc | ( | const CLogicsAllowed::TMapDBBlockParamNStr & | mapBlockParamsExternalDesc | ) |
void CLogicsComponentExec::setMapBlockParamsValues | ( | const CLogicsAllowed::TMapDBBlockParamNStr & | mapBlockParamsValues | ) |
void CLogicsComponentExec::setOrderOfExecution | ( | iv::types::logic::logicExecutionOrder | orderOfExecution | ) |
|
inherited |
|
staticinherited |
|
staticinherited |
|
static |
|
overridevirtualinherited |
Reimplemented from AbstractLogicsElement.
|
inlinestaticinherited |
|
inlinestaticconstexprinherited |
|
inlinestaticinherited |
|
inlinestaticinherited |
|
privateinherited |
|
privateinherited |
|
privateinherited |
|
privateinherited |
|
privateinherited |
|
privateinherited |
|
privateinherited |
|
privateinherited |
|
privateinherited |
|
privateinherited |
|
privateinherited |
|
protected |
|
protected |
|
protected |
|
protected |
|
privateinherited |
|
protected |
|
privateinherited |
|
privateinherited |