WSF
wizard::WsfConnector Class Reference

#include <WsfConnector.hpp>

Inherits QObject.

Signals

void ConnectedToWsf ()
void DisconnectedFromWsf ()
void TimeUpdated ()

Public Member Functions

 WsfConnector ()
 WsfConnector (const WsfConnector &)=delete
 WsfConnector (WsfConnector &&)=default
WsfConnectoroperator= (const WsfConnector &)=delete
WsfConnectoroperator= (WsfConnector &&)=default
 ~WsfConnector () override=default
bool Initialize ()
bool IsConnected ()
void Update ()
void UpdateTimeInfo (double aSimTime, double aEndTime, int32_t aCurrentRunNumber=-1, int32_t aFinalRunNumber=-1)
WsfXIO_InterfaceXio ()
WsfXIO_ConnectionConnection ()
ScriptDebuggerDebugger ()
int XioRecvPort ()
void Pause ()
void ResumeRealtime ()
void ResumeConstructive ()
void Stop ()
void DebugSessionActive (ScriptDebugger *aDebugger, bool aIsActive)

Public Attributes

double mSimTime
double mEndTime
int32_t mCurrentRunNumber
int32_t mFinalRunNumber

Constructor & Destructor Documentation

◆ WsfConnector() [1/3]

◆ WsfConnector() [2/3]

wizard::WsfConnector::WsfConnector ( const WsfConnector & )
delete

References WsfConnector().

◆ WsfConnector() [3/3]

wizard::WsfConnector::WsfConnector ( WsfConnector && )
default

References WsfConnector().

◆ ~WsfConnector()

wizard::WsfConnector::~WsfConnector ( )
overridedefault

Member Function Documentation

◆ ConnectedToWsf

void wizard::WsfConnector::ConnectedToWsf ( )
signal

◆ Connection()

WsfXIO_Connection * wizard::WsfConnector::Connection ( )
inline

◆ Debugger()

ScriptDebugger * wizard::WsfConnector::Debugger ( )
inline

◆ DebugSessionActive()

void wizard::WsfConnector::DebugSessionActive ( ScriptDebugger * aDebugger,
bool aIsActive )

◆ DisconnectedFromWsf

void wizard::WsfConnector::DisconnectedFromWsf ( )
signal

◆ Initialize()

bool wizard::WsfConnector::Initialize ( )

◆ IsConnected()

bool wizard::WsfConnector::IsConnected ( )

References UpdateTimeInfo().

◆ operator=() [1/2]

WsfConnector & wizard::WsfConnector::operator= ( const WsfConnector & )
delete

References WsfConnector().

◆ operator=() [2/2]

WsfConnector & wizard::WsfConnector::operator= ( WsfConnector && )
default

References WsfConnector().

◆ Pause()

void wizard::WsfConnector::Pause ( )

◆ ResumeConstructive()

void wizard::WsfConnector::ResumeConstructive ( )

◆ ResumeRealtime()

◆ Stop()

◆ TimeUpdated

void wizard::WsfConnector::TimeUpdated ( )
signal

Referenced by UpdateTimeInfo().

◆ Update()

void wizard::WsfConnector::Update ( )

◆ UpdateTimeInfo()

void wizard::WsfConnector::UpdateTimeInfo ( double aSimTime,
double aEndTime,
int32_t aCurrentRunNumber = -1,
int32_t aFinalRunNumber = -1 )

Updates the information about simulation time

Parameters
aSimTimeis the current simulation time
aEndTimeis the simulation end time
aCurrentRunNumberis the current run number
aFinalRunNumberis the final run number

References mCurrentRunNumber, mEndTime, mFinalRunNumber, mSimTime, and TimeUpdated().

Referenced by IsConnected().

◆ Xio()

WsfXIO_Interface * wizard::WsfConnector::Xio ( )
inline

◆ XioRecvPort()

int wizard::WsfConnector::XioRecvPort ( )
inline

Member Data Documentation

◆ mCurrentRunNumber

int32_t wizard::WsfConnector::mCurrentRunNumber

Referenced by Stop(), and UpdateTimeInfo().

◆ mEndTime

double wizard::WsfConnector::mEndTime

Referenced by UpdateTimeInfo(), and WsfConnector().

◆ mFinalRunNumber

int32_t wizard::WsfConnector::mFinalRunNumber

Referenced by Stop(), and UpdateTimeInfo().

◆ mSimTime

double wizard::WsfConnector::mSimTime

Referenced by UpdateTimeInfo(), and WsfConnector().


The documentation for this class was generated from the following files:
Copyrights Multiple, All Rights Reserved