WSF
WsfXIO_InputData Class Reference

#include <WsfXIO_InputData.hpp>

Inheritance diagram for WsfXIO_InputData:
Collaboration diagram for WsfXIO_InputData:

Classes

struct  UDP_Target
class  InputCallbackList
 An input processing callback list. More...

Public Types

enum  UDP_Type { cBROADCAST , cMULTICAST , cUNICAST }

Public Member Functions

 WsfXIO_InputData ()
bool ProcessInput (UtInput &aInput)
void AddConnectType (int aApplicationType)
 Specifies that applications of a certain type will be automatically connected to.

Public Attributes

InputCallbackList ProcessInputEvent
 XIO extenders can subscribe to this to add additional input into the 'xio_interface' block.
WsfStringId mApplicationName
 The current application's name.
int mTCP_Port
 Socket port used to receive TCP connections.
int mMulticastTimeToLive
 Time to live for multicast connections.
bool mMulticastLoopback
 Determines if sent multicast can be received on the local machine.
double mHeartbeatInterval
ut::optional< double > mFallingBehindThreshold
std::set< int > mApplicationTypeFilter
 Set of application types to connect with automatically.
std::vector< UDP_TargetmUDP_Targets
 Contains user input UDP target information.
std::vector< WsfXIO_EntityIdmRegularApplications
std::vector< WsfXIO_EntityIdmAutoMappedApplications
bool mAutoMappingDefault
int mPublisherDebugLevel
bool mDebugEnabled
bool mShowConnections
bool mShowTransferRate
bool mPauseForConnection
bool mInterfaceRequested
 true if user has requested the XIO interface
bool mAuxDataUpdates = true

Detailed Description

Contains the 'xio_interface' input data. This class is derived from by both the scenario extension (WsfXIO_Extension) and the simulation extension (WsfXIO_Interface). The data is filled by the scenario extension and simply copied to the simulation extension.

Member Enumeration Documentation

◆ UDP_Type

Enumerator
cBROADCAST 
cMULTICAST 
cUNICAST 

Constructor & Destructor Documentation

◆ WsfXIO_InputData()

Member Function Documentation

◆ AddConnectType()

void WsfXIO_InputData::AddConnectType ( int aApplicationType)

Specifies that applications of a certain type will be automatically connected to.

References mApplicationTypeFilter.

Referenced by ProcessInput().

◆ ProcessInput()

Member Data Documentation

◆ mApplicationName

WsfStringId WsfXIO_InputData::mApplicationName

◆ mApplicationTypeFilter

std::set<int> WsfXIO_InputData::mApplicationTypeFilter

Set of application types to connect with automatically.

Referenced by AddConnectType().

◆ mAutoMappedApplications

std::vector<WsfXIO_EntityId> WsfXIO_InputData::mAutoMappedApplications

◆ mAutoMappingDefault

bool WsfXIO_InputData::mAutoMappingDefault

◆ mAuxDataUpdates

bool WsfXIO_InputData::mAuxDataUpdates = true

Referenced by ProcessInput().

◆ mDebugEnabled

◆ mFallingBehindThreshold

ut::optional<double> WsfXIO_InputData::mFallingBehindThreshold

Referenced by ProcessInput().

◆ mHeartbeatInterval

double WsfXIO_InputData::mHeartbeatInterval

◆ mInterfaceRequested

bool WsfXIO_InputData::mInterfaceRequested

◆ mMulticastLoopback

bool WsfXIO_InputData::mMulticastLoopback

Determines if sent multicast can be received on the local machine.

Referenced by ProcessInput(), and WsfXIO_InputData().

◆ mMulticastTimeToLive

int WsfXIO_InputData::mMulticastTimeToLive

Time to live for multicast connections.

Referenced by ProcessInput(), and WsfXIO_InputData().

◆ mPauseForConnection

bool WsfXIO_InputData::mPauseForConnection

Referenced by ProcessInput(), and WsfXIO_InputData().

◆ mPublisherDebugLevel

int WsfXIO_InputData::mPublisherDebugLevel

◆ mRegularApplications

std::vector<WsfXIO_EntityId> WsfXIO_InputData::mRegularApplications

Referenced by ProcessInput().

◆ mShowConnections

◆ mShowTransferRate

bool WsfXIO_InputData::mShowTransferRate

◆ mTCP_Port

int WsfXIO_InputData::mTCP_Port

Socket port used to receive TCP connections.

Referenced by WsfXIO_Interface::Initialize(), and WsfXIO_InputData().

◆ mUDP_Targets

std::vector<UDP_Target> WsfXIO_InputData::mUDP_Targets

◆ ProcessInputEvent

InputCallbackList WsfXIO_InputData::ProcessInputEvent

XIO extenders can subscribe to this to add additional input into the 'xio_interface' block.

Referenced by ProcessInput().


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