|
enum | AttributePacketFlags { PACKET_NO_FLAGS = 0
, PACKET_CLOSE_INTERFACE = 1
} |
|
typedef std::shared_ptr< Interface > | Ptr |
|
using | AttributePacket = struct AttributePacket { CPS::AttributeBase::Ptr value |
|
|
| Interface (std::shared_ptr< InterfaceWorker > intf, const String &name="", UInt downsampling=1) |
|
virtual void | open () |
|
virtual void | close () |
|
virtual void | pushDpsimAttrsToQueue () |
|
virtual void | popDpsimAttrsFromQueue (bool isSync=false) |
|
virtual void | syncExports () |
|
virtual void | syncImports () |
| Function called by the Simulation to perform interface synchronization.
|
|
virtual CPS::Task::List | getTasks () |
|
void | setLogger (CPS::Logger::Log log) |
|
|
std::shared_ptr< InterfaceWorker > | mInterfaceWorker |
|
CPS::Logger::Log | mLog |
|
String | mName |
|
bool | mSyncOnSimulationStart |
|
UInt | mCurrentSequenceDpsimToInterface = 1 |
|
UInt | mNextSequenceInterfaceToDpsim = 1 |
|
UInt | mDownsampling |
|
std::atomic< bool > | mOpened |
|
std::thread | mInterfaceWriterThread |
|
std::thread | mInterfaceReaderThread |
|
std::shared_ptr< moodycamel::BlockingReaderWriterQueue< AttributePacket > > | mQueueDpsimToInterface |
|
std::shared_ptr< moodycamel::BlockingReaderWriterQueue< AttributePacket > > | mQueueInterfaceToDpsim |
|
|
static std::shared_ptr< Interface > | make (Args &&...args) |
|
Definition at line 21 of file Interface.h.
The documentation for this class was generated from the following files: