Nix (Dev) 3.5.10
dev - 3.5.10 - 1af9301
Loading...
Searching...
No Matches
CPanelLogicsEditor Class Reference

#include <CPanelLogicsEditor.hpp>

Inheritance diagram for CPanelLogicsEditor:
[legend]
Collaboration diagram for CPanelLogicsEditor:
[legend]

Classes

struct  SPrvDrawingArea
 
struct  SPrvLogicsFunctionalBar
 

Public Member Functions

 CPanelLogicsEditor (bool isLibrary)
 
 ~CPanelLogicsEditor () override
 
 CPanelLogicsEditor ()=delete
 
 CPanelLogicsEditor (const CPanelLogicsEditor &other)=delete
 
 CPanelLogicsEditor (CPanelLogicsEditor &&other)=delete
 
CPanelLogicsEditoroperator= (const CPanelLogicsEditor &other)=delete
 
CPanelLogicsEditoroperator= (CPanelLogicsEditor &&other)=delete
 
bool loadLibrary (const std::string &libraryFile, std::string &libraryName, std::string &resultMsg)
 
bool addLibrary (iv::types::logic::customBlockId idLibrary, const std::string &name, const std::string &file)
 
bool addLibrary (const std::string &name)
 
void changeToolBox ()
 
void rebuildToolBox ()
 
bool cloneLibrary (const std::string &name)
 
bool renameLibrary (const std::string &name)
 
CLogicsAllowed::TMapDBBlockParamNStr getLibraryParametersDesc (iv::types::logic::customBlockId libraryId) const
 
CLogicsAllowed::TMapDBBlockParamNStr getLibraryExternalParametersValues (iv::types::logic::customBlockId libraryId) const
 
LogicLibraryInfo getLibraryInfo (iv::types::logic::customBlockId libraryId, const CLogicsAllowed::TMapDBBlockParamNStr &mapBlockParamsDesc) const
 
std::optional< iv::units::eUnitTypegetActiveLomType () const
 
iv::types::logic::customBlockId getFirstFreeIdLibrary ()
 
std::string getLibraryName (std::optional< iv::types::logic::customBlockId > libraryId=std::nullopt) const
 
std::string getLibraryFileName (std::optional< iv::types::logic::customBlockId > libraryId=std::nullopt) const
 
iv::types::logic::customBlockId getLibraryId (const std::string &libraryName) const
 
AbstractComponentGUIbuildPanel (CDialog *dialogFather) override
 
void logicProcessLibLoad ()
 
void update () override
 
bool isLibrary () const
 
void setActiveLibraryById (std::optional< iv::types::unitId > idLibrary)
 
void setActiveLogicId (std::optional< iv::types::unitId > logicId)
 
void setActiveUnitId (std::optional< iv::types::unitId > logicId)
 
void setActiveLOMType (std::optional< iv::units::eUnitType > lomType)
 
void setFunctionalBarSelectedLogicId (std::optional< iv::types::unitId > logicId) const
 
void setFunctionalBarSelectedLOM (std::optional< iv::types::unitId > lomId) const
 
void setSearchTagsAndLabelsRepeatFlag (bool changed)
 
bool getSearchTagsAndLabelsRepeatFlag () const
 
void resetToolBoxSelection ()
 
CPanelLogicsDrawingAreagetActiveDrawingArea ()
 
std::shared_ptr< CLogicsDrawingAreaModelgetActiveDrawingAreaModel () const
 
void grabFocusCanvas (std::optional< iv::types::unitId > logicId)
 
void runContextMenuAction (CLogicsDrawingAreaModel::EActionOnLogicsComponent action)
 
void runDoubleClickAction (const CDrawLogicsElements::TTupleElementType &elementType)
 
void setElementIdForCurrentContextMenu (AbstractCanvasItem::TId id)
 
void setPointClickedForCurrentContextMenu (iv::math::geometry::Point2d pointClicked)
 
void showContextMenu (EContextMenu contextMenuType)
 
std::optional< iv::types::unitIdgetActiveLogicId () const
 
const iv::types::logic::ComponentTypegetSelectedComponentType () const
 
iv::logic::eGeneralType getSelectedComponentGeneralType () const
 
iv::types::logic::componentType getSelectedComponentTType () const
 
iv::types::logic::componentFinalType getSelectedComponentTFinalType () const
 
bool isSelectedLCALeaf () const
 
void updateCurrentLibraryFilePath (const std::string &file) const
 
bool deleteCurrentLibrary ()
 
bool saveFileActiveLibrary (const std::string &fileName, std::string &resultMsg) const
 
void generateLogicsGenerationParams (const iv::logic::LogicGenerationParams &generationParams)
 Generates the logic generation parameters for the given generationParams.
 

Static Public Member Functions

static uint32_t getIDTypeLOMInDataBase (iv::units::eUnitType unitType)
 
static std::optional< iv::units::eUnitTypegetLomTypeFromIdTypeInDataBase (uint32_t idLomType)
 
static bool hasLogicLibrary (iv::units::eUnitType unitType)
 
static AbstractComponentGUIpanelEditLibraryName (std::string *libraryName, bool requiresChangeName=false)
 
static bool updateVariableOnlineLibraryTagName (std::optional< iv::types::unitId > logicId, const iv::types::logic::libraryTagName &oldTagLibraryBlock, const iv::types::logic::libraryTagName &newTagLibraryBlock)
 
static bool addVariableOnline (std::optional< iv::types::unitId > logicUnitId, const iv::types::logic::libraryTagName &libraryTagName, const iv::types::logic::parameterOnlineTag &tag)
 
static bool updateVariableOnlineTag (std::optional< iv::types::unitId > logicUnitId, const iv::types::logic::libraryTagName &libraryTagName, const iv::types::logic::parameterOnlineTag &oldTag, const iv::types::logic::parameterOnlineTag &newTag)
 
static bool updateLibraryVariablesOnlinesValues (std::optional< iv::types::unitId > logicUnitId, const iv::types::logic::libraryTagName &libraryTagName)
 
static bool removeVariableOnline (std::optional< iv::types::unitId > logicUnitId, const iv::types::logic::libraryTagName &libraryTagName, const iv::types::logic::parameterOnlineTag &tag)
 

Static Public Attributes

static const int32_t kMinimumWidthToolBox = 200
 

Private Member Functions

void setAllowedLogics (const CLogicsAllowed &allowedLogics)
 
CLogicsAllowedgetAllowedLogics ()
 
bool prvAddLibrary (uint16_t idLibrary, const std::string &name, const std::string &file)
 
AbstractComponentGUIprvBuildFunctionalLayout ()
 
AbstractComponentGUIprvPanelInfoLogic ()
 
AbstractComponentGUIprvPanelSortLibraryIOButtons ()
 
AbstractComponentGUIprvPanelLibraryButtons ()
 
AbstractComponentGUIprvPanelChangeLogicOrder ()
 
AbstractComponentGUIprvPanelCopyLogic ()
 
void prvDeleteLogicsOfDeletedUnits ()
 
void prvDeleteLibrariesOfDeletedLibraries ()
 
void prvComboBoxLogicIdAddNoSelected () const
 
void prvPopulateAllLibrariesComboBox ()
 
void prvPopulateAllUnitsComboBox ()
 
void prvPopulateAllModulesComboBox ()
 
void prvUpdateLogicComboBoxModules ()
 
void prvUpdateLogicComboBoxLibraries ()
 
void prvUpdateLogicComboBoxUnits ()
 
void prvUpdateLogicsElements ()
 
AbstractComponentGUIprvBuildToolBox ()
 
AbstractComponentGUIprvBuildToolBox (uint32_t typeLOM)
 
AbstractComponentGUIprvBuildDrawingArea (std::optional< iv::types::unitId > logicId)
 
AbstractComponentGUIprvBuildDrawingAreaLibrary (std::optional< iv::types::unitId > logicId)
 
AbstractComponentGUIprvBuildPanedLayout ()
 
void prvBuildContextMenus ()
 
void prvBuildContextMenuBackground ()
 
void prvBuildContextMenuLogicText ()
 
void prvBuildContextMenuLogicRectangle ()
 
void prvBuildContextMenuBasicBlock ()
 
void prvBuildContextMenuChannel ()
 
void prvBuildContextMenuConnection ()
 
void prvBuildContextMenuConst ()
 
void prvBuildContextMenuBroadCastChannel ()
 
void prvBuildContextMenuLabel ()
 
void prvBuildContextMenuLibraryIOBlock ()
 
void prvBuildContextMenuLibrary ()
 
void prvBuildDoubleClickAction ()
 
void filterAllowedLogicsByLomType (CLogicsAllowed *allowedLogics, std::optional< iv::units::eUnitType > lomType)
 

Private Attributes

CLogicsAllowedm_logicsAllowed
 
iv::types::logic::customBlockId m_firstFreeIdLibrary
 
std::optional< iv::types::unitIdm_activeLogicId
 
std::optional< iv::units::eUnitTypem_activeLomType
 
SPrvLogicsFunctionalBar m_functionalBar
 
bool m_searchTagsAndLabelsRepeatFlag
 
SLogicsToolBoxm_toolBox
 
bool m_isLibrary
 
std::map< uint16_t, std::unique_ptr< SPrvDrawingArea > > m_drawingAreas
 
std::unique_ptr< SPrvDrawingAream_startingEmptyDrawingArea
 
CPanedm_panedRef
 
std::map< EContextMenu, std::unique_ptr< CMenuContext > > m_contextMenus
 
AbstractCanvasItem::TId m_elementIdForCurrentContextMenu
 
std::optional< iv::math::geometry::Point2dm_pointForCurrentContextMenu
 
std::map< CDrawLogicsElements::TTupleElementType, CLogicsDrawingAreaModel::EActionOnLogicsComponentm_doubleClickActions
 
std::string m_libraryNameToSelectOpt
 

Detailed Description

Class that controls the different parts of the logics view:

  1. Functional bar
    • logic combobox
    • buttons toolbar
  2. PanedWidget
    • toolbox
    • canvas

Constructor & Destructor Documentation

◆ CPanelLogicsEditor() [1/4]

CPanelLogicsEditor::CPanelLogicsEditor ( bool isLibrary)
explicit

◆ ~CPanelLogicsEditor()

CPanelLogicsEditor::~CPanelLogicsEditor ( )
override

◆ CPanelLogicsEditor() [2/4]

CPanelLogicsEditor::CPanelLogicsEditor ( )
delete

◆ CPanelLogicsEditor() [3/4]

CPanelLogicsEditor::CPanelLogicsEditor ( const CPanelLogicsEditor & other)
delete

◆ CPanelLogicsEditor() [4/4]

CPanelLogicsEditor::CPanelLogicsEditor ( CPanelLogicsEditor && other)
delete

Member Function Documentation

◆ addLibrary() [1/2]

bool CPanelLogicsEditor::addLibrary ( const std::string & name)

◆ addLibrary() [2/2]

bool CPanelLogicsEditor::addLibrary ( iv::types::logic::customBlockId idLibrary,
const std::string & name,
const std::string & file )

◆ addVariableOnline()

bool CPanelLogicsEditor::addVariableOnline ( std::optional< iv::types::unitId > logicUnitId,
const iv::types::logic::libraryTagName & libraryTagName,
const iv::types::logic::parameterOnlineTag & tag )
static

◆ buildPanel()

AbstractComponentGUI * CPanelLogicsEditor::buildPanel ( CDialog * dialogFather)
overridevirtual

◆ changeToolBox()

void CPanelLogicsEditor::changeToolBox ( )

◆ cloneLibrary()

bool CPanelLogicsEditor::cloneLibrary ( const std::string & name)

◆ deleteCurrentLibrary()

bool CPanelLogicsEditor::deleteCurrentLibrary ( )

◆ filterAllowedLogicsByLomType()

void CPanelLogicsEditor::filterAllowedLogicsByLomType ( CLogicsAllowed * allowedLogics,
std::optional< iv::units::eUnitType > lomType )
private

◆ generateLogicsGenerationParams()

void CPanelLogicsEditor::generateLogicsGenerationParams ( const iv::logic::LogicGenerationParams & generationParams)

Generates the logic generation parameters for the given generationParams.

Parameters
generationParamsThe parameters for logic generation.

◆ getActiveDrawingArea()

CPanelLogicsDrawingArea * CPanelLogicsEditor::getActiveDrawingArea ( )
nodiscard

◆ getActiveDrawingAreaModel()

std::shared_ptr< CLogicsDrawingAreaModel > CPanelLogicsEditor::getActiveDrawingAreaModel ( ) const
nodiscard

◆ getActiveLogicId()

std::optional< iv::types::unitId > CPanelLogicsEditor::getActiveLogicId ( ) const
nodiscard

◆ getActiveLomType()

std::optional< iv::units::eUnitType > CPanelLogicsEditor::getActiveLomType ( ) const
nodiscard

◆ getAllowedLogics()

CLogicsAllowed * CPanelLogicsEditor::getAllowedLogics ( )
private

◆ getFirstFreeIdLibrary()

iv::types::logic::customBlockId CPanelLogicsEditor::getFirstFreeIdLibrary ( )
nodiscard

◆ getIDTypeLOMInDataBase()

uint32_t CPanelLogicsEditor::getIDTypeLOMInDataBase ( iv::units::eUnitType unitType)
static

◆ getLibraryExternalParametersValues()

CLogicsAllowed::TMapDBBlockParamNStr CPanelLogicsEditor::getLibraryExternalParametersValues ( iv::types::logic::customBlockId libraryId) const
nodiscard

◆ getLibraryFileName()

std::string CPanelLogicsEditor::getLibraryFileName ( std::optional< iv::types::logic::customBlockId > libraryId = std::nullopt) const
nodiscard

◆ getLibraryId()

iv::types::logic::customBlockId CPanelLogicsEditor::getLibraryId ( const std::string & libraryName) const
nodiscard

◆ getLibraryInfo()

LogicLibraryInfo CPanelLogicsEditor::getLibraryInfo ( iv::types::logic::customBlockId libraryId,
const CLogicsAllowed::TMapDBBlockParamNStr & mapBlockParamsDesc ) const
nodiscard

◆ getLibraryName()

std::string CPanelLogicsEditor::getLibraryName ( std::optional< iv::types::logic::customBlockId > libraryId = std::nullopt) const
nodiscard

◆ getLibraryParametersDesc()

CLogicsAllowed::TMapDBBlockParamNStr CPanelLogicsEditor::getLibraryParametersDesc ( iv::types::logic::customBlockId libraryId) const
nodiscard

◆ getLomTypeFromIdTypeInDataBase()

std::optional< iv::units::eUnitType > CPanelLogicsEditor::getLomTypeFromIdTypeInDataBase ( uint32_t idLomType)
static

◆ getSearchTagsAndLabelsRepeatFlag()

bool CPanelLogicsEditor::getSearchTagsAndLabelsRepeatFlag ( ) const
nodiscard

◆ getSelectedComponentGeneralType()

iv::logic::eGeneralType CPanelLogicsEditor::getSelectedComponentGeneralType ( ) const
nodiscard

◆ getSelectedComponentTFinalType()

iv::types::logic::componentFinalType CPanelLogicsEditor::getSelectedComponentTFinalType ( ) const
nodiscard

◆ getSelectedComponentTType()

iv::types::logic::componentType CPanelLogicsEditor::getSelectedComponentTType ( ) const
nodiscard

◆ getSelectedComponentType()

const iv::types::logic::ComponentType & CPanelLogicsEditor::getSelectedComponentType ( ) const
nodiscard

◆ grabFocusCanvas()

void CPanelLogicsEditor::grabFocusCanvas ( std::optional< iv::types::unitId > logicId)

◆ hasLogicLibrary()

bool CPanelLogicsEditor::hasLogicLibrary ( iv::units::eUnitType unitType)
static

◆ isLibrary()

bool CPanelLogicsEditor::isLibrary ( ) const

◆ isSelectedLCALeaf()

bool CPanelLogicsEditor::isSelectedLCALeaf ( ) const
nodiscard

◆ loadLibrary()

bool CPanelLogicsEditor::loadLibrary ( const std::string & libraryFile,
std::string & libraryName,
std::string & resultMsg )

◆ logicProcessLibLoad()

void CPanelLogicsEditor::logicProcessLibLoad ( )

◆ operator=() [1/2]

CPanelLogicsEditor & CPanelLogicsEditor::operator= ( const CPanelLogicsEditor & other)
delete

◆ operator=() [2/2]

CPanelLogicsEditor & CPanelLogicsEditor::operator= ( CPanelLogicsEditor && other)
delete

◆ panelEditLibraryName()

AbstractComponentGUI * CPanelLogicsEditor::panelEditLibraryName ( std::string * libraryName,
bool requiresChangeName = false )
static

◆ prvAddLibrary()

bool CPanelLogicsEditor::prvAddLibrary ( uint16_t idLibrary,
const std::string & name,
const std::string & file )
private

◆ prvBuildContextMenuBackground()

void CPanelLogicsEditor::prvBuildContextMenuBackground ( )
private

◆ prvBuildContextMenuBasicBlock()

void CPanelLogicsEditor::prvBuildContextMenuBasicBlock ( )
private

◆ prvBuildContextMenuBroadCastChannel()

void CPanelLogicsEditor::prvBuildContextMenuBroadCastChannel ( )
private

◆ prvBuildContextMenuChannel()

void CPanelLogicsEditor::prvBuildContextMenuChannel ( )
private

◆ prvBuildContextMenuConnection()

void CPanelLogicsEditor::prvBuildContextMenuConnection ( )
private

◆ prvBuildContextMenuConst()

void CPanelLogicsEditor::prvBuildContextMenuConst ( )
private

◆ prvBuildContextMenuLabel()

void CPanelLogicsEditor::prvBuildContextMenuLabel ( )
private

◆ prvBuildContextMenuLibrary()

void CPanelLogicsEditor::prvBuildContextMenuLibrary ( )
private

◆ prvBuildContextMenuLibraryIOBlock()

void CPanelLogicsEditor::prvBuildContextMenuLibraryIOBlock ( )
private

◆ prvBuildContextMenuLogicRectangle()

void CPanelLogicsEditor::prvBuildContextMenuLogicRectangle ( )
private

◆ prvBuildContextMenuLogicText()

void CPanelLogicsEditor::prvBuildContextMenuLogicText ( )
private

◆ prvBuildContextMenus()

void CPanelLogicsEditor::prvBuildContextMenus ( )
private

CPanelLogicsEditor::prvBuildContextMenus

Context menus are built in CPanelLogicsEditor, and not in CPanelLogicsDrawingArea where they are used, in order to prevent building as many context menus as logics (units) the project has, since the context menus will be the same for all the logics.

◆ prvBuildDoubleClickAction()

void CPanelLogicsEditor::prvBuildDoubleClickAction ( )
private

◆ prvBuildDrawingArea()

AbstractComponentGUI * CPanelLogicsEditor::prvBuildDrawingArea ( std::optional< iv::types::unitId > logicId)
private

◆ prvBuildDrawingAreaLibrary()

AbstractComponentGUI * CPanelLogicsEditor::prvBuildDrawingAreaLibrary ( std::optional< iv::types::unitId > logicId)
private

◆ prvBuildFunctionalLayout()

AbstractComponentGUI * CPanelLogicsEditor::prvBuildFunctionalLayout ( )
private

◆ prvBuildPanedLayout()

AbstractComponentGUI * CPanelLogicsEditor::prvBuildPanedLayout ( )
private

◆ prvBuildToolBox() [1/2]

AbstractComponentGUI * CPanelLogicsEditor::prvBuildToolBox ( )
private

◆ prvBuildToolBox() [2/2]

AbstractComponentGUI * CPanelLogicsEditor::prvBuildToolBox ( uint32_t typeLOM)
private

◆ prvComboBoxLogicIdAddNoSelected()

void CPanelLogicsEditor::prvComboBoxLogicIdAddNoSelected ( ) const
private

◆ prvDeleteLibrariesOfDeletedLibraries()

void CPanelLogicsEditor::prvDeleteLibrariesOfDeletedLibraries ( )
private

◆ prvDeleteLogicsOfDeletedUnits()

void CPanelLogicsEditor::prvDeleteLogicsOfDeletedUnits ( )
private

◆ prvPanelChangeLogicOrder()

AbstractComponentGUI * CPanelLogicsEditor::prvPanelChangeLogicOrder ( )
private

◆ prvPanelCopyLogic()

AbstractComponentGUI * CPanelLogicsEditor::prvPanelCopyLogic ( )
private

◆ prvPanelInfoLogic()

AbstractComponentGUI * CPanelLogicsEditor::prvPanelInfoLogic ( )
private

◆ prvPanelLibraryButtons()

AbstractComponentGUI * CPanelLogicsEditor::prvPanelLibraryButtons ( )
private

◆ prvPanelSortLibraryIOButtons()

AbstractComponentGUI * CPanelLogicsEditor::prvPanelSortLibraryIOButtons ( )
private

◆ prvPopulateAllLibrariesComboBox()

void CPanelLogicsEditor::prvPopulateAllLibrariesComboBox ( )
private

◆ prvPopulateAllModulesComboBox()

void CPanelLogicsEditor::prvPopulateAllModulesComboBox ( )
private

◆ prvPopulateAllUnitsComboBox()

void CPanelLogicsEditor::prvPopulateAllUnitsComboBox ( )
private

◆ prvUpdateLogicComboBoxLibraries()

void CPanelLogicsEditor::prvUpdateLogicComboBoxLibraries ( )
private

◆ prvUpdateLogicComboBoxModules()

void CPanelLogicsEditor::prvUpdateLogicComboBoxModules ( )
private

◆ prvUpdateLogicComboBoxUnits()

void CPanelLogicsEditor::prvUpdateLogicComboBoxUnits ( )
private

◆ prvUpdateLogicsElements()

void CPanelLogicsEditor::prvUpdateLogicsElements ( )
private

◆ rebuildToolBox()

void CPanelLogicsEditor::rebuildToolBox ( )

◆ removeVariableOnline()

bool CPanelLogicsEditor::removeVariableOnline ( std::optional< iv::types::unitId > logicUnitId,
const iv::types::logic::libraryTagName & libraryTagName,
const iv::types::logic::parameterOnlineTag & tag )
static

◆ renameLibrary()

bool CPanelLogicsEditor::renameLibrary ( const std::string & name)

◆ resetToolBoxSelection()

void CPanelLogicsEditor::resetToolBoxSelection ( )

◆ runContextMenuAction()

void CPanelLogicsEditor::runContextMenuAction ( CLogicsDrawingAreaModel::EActionOnLogicsComponent action)

◆ runDoubleClickAction()

void CPanelLogicsEditor::runDoubleClickAction ( const CDrawLogicsElements::TTupleElementType & elementType)

◆ saveFileActiveLibrary()

bool CPanelLogicsEditor::saveFileActiveLibrary ( const std::string & fileName,
std::string & resultMsg ) const

◆ setActiveLibraryById()

void CPanelLogicsEditor::setActiveLibraryById ( std::optional< iv::types::unitId > idLibrary)

◆ setActiveLogicId()

void CPanelLogicsEditor::setActiveLogicId ( std::optional< iv::types::unitId > logicId)

◆ setActiveLOMType()

void CPanelLogicsEditor::setActiveLOMType ( std::optional< iv::units::eUnitType > lomType)

◆ setActiveUnitId()

void CPanelLogicsEditor::setActiveUnitId ( std::optional< iv::types::unitId > logicId)

◆ setAllowedLogics()

void CPanelLogicsEditor::setAllowedLogics ( const CLogicsAllowed & allowedLogics)
private

◆ setElementIdForCurrentContextMenu()

void CPanelLogicsEditor::setElementIdForCurrentContextMenu ( AbstractCanvasItem::TId id)

◆ setFunctionalBarSelectedLogicId()

void CPanelLogicsEditor::setFunctionalBarSelectedLogicId ( std::optional< iv::types::unitId > logicId) const

◆ setFunctionalBarSelectedLOM()

void CPanelLogicsEditor::setFunctionalBarSelectedLOM ( std::optional< iv::types::unitId > lomId) const

◆ setPointClickedForCurrentContextMenu()

void CPanelLogicsEditor::setPointClickedForCurrentContextMenu ( iv::math::geometry::Point2d pointClicked)

◆ setSearchTagsAndLabelsRepeatFlag()

void CPanelLogicsEditor::setSearchTagsAndLabelsRepeatFlag ( bool changed)

◆ showContextMenu()

void CPanelLogicsEditor::showContextMenu ( EContextMenu contextMenuType)

◆ update()

void CPanelLogicsEditor::update ( )
overridevirtual

◆ updateCurrentLibraryFilePath()

void CPanelLogicsEditor::updateCurrentLibraryFilePath ( const std::string & file) const

◆ updateLibraryVariablesOnlinesValues()

bool CPanelLogicsEditor::updateLibraryVariablesOnlinesValues ( std::optional< iv::types::unitId > logicUnitId,
const iv::types::logic::libraryTagName & libraryTagName )
static

◆ updateVariableOnlineLibraryTagName()

bool CPanelLogicsEditor::updateVariableOnlineLibraryTagName ( std::optional< iv::types::unitId > logicId,
const iv::types::logic::libraryTagName & oldTagLibraryBlock,
const iv::types::logic::libraryTagName & newTagLibraryBlock )
static

◆ updateVariableOnlineTag()

bool CPanelLogicsEditor::updateVariableOnlineTag ( std::optional< iv::types::unitId > logicUnitId,
const iv::types::logic::libraryTagName & libraryTagName,
const iv::types::logic::parameterOnlineTag & oldTag,
const iv::types::logic::parameterOnlineTag & newTag )
static

Member Data Documentation

◆ kMinimumWidthToolBox

const int32_t CPanelLogicsEditor::kMinimumWidthToolBox = 200
inlinestatic

◆ m_activeLogicId

std::optional<iv::types::unitId> CPanelLogicsEditor::m_activeLogicId
private

◆ m_activeLomType

std::optional<iv::units::eUnitType> CPanelLogicsEditor::m_activeLomType
private

◆ m_contextMenus

std::map<EContextMenu, std::unique_ptr<CMenuContext> > CPanelLogicsEditor::m_contextMenus
private

◆ m_doubleClickActions

std::map<CDrawLogicsElements::TTupleElementType, CLogicsDrawingAreaModel::EActionOnLogicsComponent> CPanelLogicsEditor::m_doubleClickActions
private

◆ m_drawingAreas

std::map<uint16_t, std::unique_ptr<SPrvDrawingArea> > CPanelLogicsEditor::m_drawingAreas
private

◆ m_elementIdForCurrentContextMenu

AbstractCanvasItem::TId CPanelLogicsEditor::m_elementIdForCurrentContextMenu
private

◆ m_firstFreeIdLibrary

iv::types::logic::customBlockId CPanelLogicsEditor::m_firstFreeIdLibrary
private

◆ m_functionalBar

SPrvLogicsFunctionalBar CPanelLogicsEditor::m_functionalBar
private

◆ m_isLibrary

bool CPanelLogicsEditor::m_isLibrary
private

◆ m_libraryNameToSelectOpt

std::string CPanelLogicsEditor::m_libraryNameToSelectOpt
private

◆ m_logicsAllowed

CLogicsAllowed& CPanelLogicsEditor::m_logicsAllowed
private

◆ m_panedRef

CPaned* CPanelLogicsEditor::m_panedRef
private

◆ m_pointForCurrentContextMenu

std::optional<iv::math::geometry::Point2d> CPanelLogicsEditor::m_pointForCurrentContextMenu
private

◆ m_searchTagsAndLabelsRepeatFlag

bool CPanelLogicsEditor::m_searchTagsAndLabelsRepeatFlag
private

◆ m_startingEmptyDrawingArea

std::unique_ptr<SPrvDrawingArea> CPanelLogicsEditor::m_startingEmptyDrawingArea
private

◆ m_toolBox

SLogicsToolBox* CPanelLogicsEditor::m_toolBox
private

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