Interface type that can be used to import and export simulation attributes over any node type supported by VILLASnode.
More...
#include <InterfaceVillasQueueless.h>
|
| InterfaceVillasQueueless (const String &nodeConfig, const String &name="", spdlog::level::level_enum logLevel=spdlog::level::level_enum::info) |
| create a new InterfaceVillasQueueless instance More...
|
|
virtual void | open () override |
|
virtual void | close () override |
|
virtual void | syncExports () override |
|
virtual void | syncImports () override |
| Function called by the Simulation to perform interface synchronization.
|
|
virtual CPS::Task::List | getTasks () override |
|
virtual void | printVillasSignals () const |
|
| Interface (const String &name="", spdlog::level::level_enum logLevel=spdlog::level::level_enum::info) |
|
virtual void | setLogger (CPS::Logger::Log log) |
|
virtual String & | getName () |
|
virtual void | addImport (CPS::AttributeBase::Ptr attr, bool blockOnRead=false, bool syncOnSimulationStart=true) |
|
virtual void | addExport (CPS::AttributeBase::Ptr attr) |
|
|
virtual void | writeToVillas () |
|
virtual Int | readFromVillas () |
|
void | createNode () |
|
void | createSignals () |
|
|
const String | mNodeConfig |
|
node::Node * | mNode |
|
node::Pool | mSamplePool |
|
Int | mSequenceToDpsim |
|
Int | mSequenceFromDpsim |
|
CPS::Logger::Log | mLog |
|
String | mName |
|
bool | mSyncOnSimulationStart |
|
UInt | mCurrentSequenceDpsimToInterface = 1 |
|
UInt | mNextSequenceInterfaceToDpsim = 1 |
|
std::atomic< bool > | mOpened |
|
|
static std::shared_ptr< Interface > | make (Args &&...args) |
|
static std::shared_ptr< InterfaceVillasQueueless > | make (Args &&...args) |
|
std::vector< std::tuple< CPS::AttributeBase::Ptr, UInt, bool, bool > > | mImportAttrsDpsim |
|
std::vector< std::tuple< CPS::AttributeBase::Ptr, UInt > > | mExportAttrsDpsim |
|
Interface type that can be used to import and export simulation attributes over any node type supported by VILLASnode.
Definition at line 31 of file InterfaceVillasQueueless.h.
◆ InterfaceVillasQueueless()
DPsim::InterfaceVillasQueueless::InterfaceVillasQueueless |
( |
const String & |
nodeConfig, |
|
|
const String & |
name = "" , |
|
|
spdlog::level::level_enum |
logLevel = spdlog::level::level_enum::info |
|
) |
| |
The documentation for this class was generated from the following files: