Skip to main content
Definition: CommonTypes.hpp (line 303) provide a structure for the participant information needed to connect to a System Coupling object Parameters:
  • scHost: host name to connect to System Coupling
  • scPort: port number to connect to System Coupling
  • participantName: name of the participant
  • isCosimulation: flag if the simulation is a cosimulation
  • buildInformation: information for the current build
  • transcriptFilename: the name of the transcript to be written to
  • numApps: number of applications connected by SCP library
  • myHostName: (optional) host name to use for remote server(s)

Members

Public attributes

Variable scHost

Definition: CommonTypes.hpp (line 304)
Type: Host

Variable scPort

Definition: CommonTypes.hpp (line 305)
Type: Port

Variable participantName

Definition: CommonTypes.hpp (line 306)
Type: std::string

Variable isCosimulation

Definition: CommonTypes.hpp (line 307)
Type: bool

Variable buildInformation

Definition: CommonTypes.hpp (line 308)
Type: std::string

Variable transcriptFilename

Definition: CommonTypes.hpp (line 309)
Type: std::string

Variable numApps

Definition: CommonTypes.hpp (line 311)
Type: std::size_t

Variable myHostName

Definition: CommonTypes.hpp (line 312)
Type: Host

Public functions

Function ParticipantInfo

Provide a default constructor. Return type:

Function ParticipantInfo

Provide a non-default constructor. Parameters:
  • Host scHost
  • Port scPort
  • std::string participantName
  • bool isCosimulation
  • std::string buildInformation
  • std::string transcriptFilename
  • std::size_t numApps
  • Host myHostName
Return type:

Function ParticipantInfo

Provide a non-default constructor. Parameters:
  • Host scHost
  • Port scPort
  • std::string participantName
Return type:

Function ParticipantInfo

Provide a non-default constructor. Parameters:
  • Host scHost
  • Port scPort
  • std::string participantName
  • std::string buildInformation
Return type:

Function ParticipantInfo

Provide a non-default constructor. Parameters:
  • Host scHost
  • Port scPort
  • std::string participantName
  • std::string buildInformation
  • std::string transcriptFilename
Return type: