OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
BlockEntityHandler Class Reference

#include "BlockEntityHandler.h"

Inheritance diagram for BlockEntityHandler:
BusinessLogicHandler BusinessLogicHandler

Public Member Functions

std::shared_ptr< EntityBlock > CreateBlockEntity (const std::string &editorName, const std::string &blockName, ot::Point2DD &position)
 
void UpdateBlockPosition (const ot::UID &blockID, const ot::Point2DD &position, const ot::Transform transform, ClassFactory *classFactory)
 
void OrderUIToCreateBlockPicker ()
 
std::map< ot::UID, std::shared_ptr< EntityBlock > > findAllBlockEntitiesByBlockID ()
 
std::map< ot::UID, std::shared_ptr< EntityBlockConnection > > findAllEntityBlockConnections ()
 
bool connectorHasTypeOut (std::shared_ptr< EntityBlock > blockEntity, const std::string &connectorName)
 
void AddBlockConnection (const std::list< ot::GraphicsConnectionCfg > &connections, std::string name)
 
void AddConnectionToConnection (const std::list< ot::GraphicsConnectionCfg > &connections, std::string editorName, ot::Point2DD pos)
 
void createResultCurves (std::string solverName, std::string simulationType, std::string circuitName)
 
void setPackageName (std::string name)
 
const std::string getPackageName () const
 
void CreateBlockEntity (const std::string &editorName, const std::string &blockName, ot::Point2DD &position)
 
void AddBlockConnection (const std::list< ot::GraphicsConnectionCfg > &connections, const std::string &editorName)
 
void OrderUIToCreateBlockPicker ()
 
void UpdateBlockPosition (const ot::UID &blockID, const ot::Point2DD &position, ClassFactory *classFactory)
 
std::map< ot::UID, std::shared_ptr< EntityBlock > > findAllBlockEntitiesByBlockID ()
 
- Public Member Functions inherited from BusinessLogicHandler
void setUIComponent (ot::components::UiComponent *ui)
 
void setModelComponent (ot::components::ModelComponent *model)
 
virtual ~BusinessLogicHandler ()
 

Static Public Member Functions

static std::string getQueryForRangeSelection ()
 

Additional Inherited Members

- Protected Member Functions inherited from BusinessLogicHandler
virtual void UIComponentWasSet ()
 
virtual void ModelComponentWasSet ()
 
void CheckEssentials ()
 
std::string CreateNewUniqueTopologyName (const std::string &folderName, const std::string &fileName)
 
std::string CreateNewUniqueTopologyNamePlainPossible (const std::string &folderName, const std::string &fileName, std::list< std::string > &additionallyTakenNames)
 
std::vector< std::string > CreateNewUniqueTopologyName (const std::string &FolderName, const std::string &fileName, uint64_t numberOfFiles)
 
- Protected Attributes inherited from BusinessLogicHandler
ot::components::UiComponent_uiComponent = nullptr
 
ot::components::ModelComponent_modelComponent = nullptr
 

Member Function Documentation

◆ AddBlockConnection() [1/2]

void BlockEntityHandler::AddBlockConnection ( const std::list< ot::GraphicsConnectionCfg > & connections,
const std::string & editorName )

◆ AddBlockConnection() [2/2]

void BlockEntityHandler::AddBlockConnection ( const std::list< ot::GraphicsConnectionCfg > & connections,
std::string name )

◆ AddConnectionToConnection()

void BlockEntityHandler::AddConnectionToConnection ( const std::list< ot::GraphicsConnectionCfg > & connections,
std::string editorName,
ot::Point2DD pos )

◆ connectorHasTypeOut()

bool BlockEntityHandler::connectorHasTypeOut ( std::shared_ptr< EntityBlock > blockEntity,
const std::string & connectorName )

◆ CreateBlockEntity() [1/2]

void BlockEntityHandler::CreateBlockEntity ( const std::string & editorName,
const std::string & blockName,
ot::Point2DD & position )

◆ CreateBlockEntity() [2/2]

void BlockEntityHandler::CreateBlockEntity ( const std::string & editorName,
const std::string & blockName,
ot::Point2DD & position )

◆ createResultCurves()

void BlockEntityHandler::createResultCurves ( std::string solverName,
std::string simulationType,
std::string circuitName )

◆ findAllBlockEntitiesByBlockID() [1/2]

std::map< ot::UID, std::shared_ptr< EntityBlock > > BlockEntityHandler::findAllBlockEntitiesByBlockID ( )

◆ findAllBlockEntitiesByBlockID() [2/2]

std::map< ot::UID, std::shared_ptr< EntityBlock > > BlockEntityHandler::findAllBlockEntitiesByBlockID ( )

◆ findAllEntityBlockConnections()

std::map< ot::UID, std::shared_ptr< EntityBlockConnection > > BlockEntityHandler::findAllEntityBlockConnections ( )

◆ getPackageName()

const std::string BlockEntityHandler::getPackageName ( ) const

◆ getQueryForRangeSelection()

static std::string BlockEntityHandler::getQueryForRangeSelection ( )
inlinestatic

◆ OrderUIToCreateBlockPicker() [1/2]

void BlockEntityHandler::OrderUIToCreateBlockPicker ( )

◆ OrderUIToCreateBlockPicker() [2/2]

void BlockEntityHandler::OrderUIToCreateBlockPicker ( )

◆ setPackageName()

void BlockEntityHandler::setPackageName ( std::string name)

◆ UpdateBlockPosition() [1/2]

void BlockEntityHandler::UpdateBlockPosition ( const ot::UID & blockID,
const ot::Point2DD & position,
ClassFactory * classFactory )

◆ UpdateBlockPosition() [2/2]

void BlockEntityHandler::UpdateBlockPosition ( const ot::UID & blockID,
const ot::Point2DD & position,
const ot::Transform transform,
ClassFactory * classFactory )

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