    

 ## On this page

  

 

 # sysc::ParticipantInfo Struct Reference

 Last update: 17.07.2025 

provide a structure for the participant information needed to connect to a System Coupling object [More...](structsysc_1_1ParticipantInfo.xhtml#details)

`#include <<a class="el" href="CommonTypes_8hpp_source.xhtml">CommonTypes.hpp</a>>`

## <a id="pub-methods" name="pub-methods"></a>Public Member Functions

<a id="a62ca76d7ec19c59606870814aaec771e" name="a62ca76d7ec19c59606870814aaec771e"></a> **ParticipantInfo** ()=default Provide a default constructor.   
 <a id="afcc2de675aa909571507b6e388c84592" name="afcc2de675aa909571507b6e388c84592"></a> **ParticipantInfo** (const [ParticipantInfo](structsysc_1_1ParticipantInfo.xhtml) &amp;)=default Provide a copy-constructor.   
 <a id="aede3e04a870f7ed298e7df71042c452e" name="aede3e04a870f7ed298e7df71042c452e"></a> **ParticipantInfo** ([ParticipantInfo](structsysc_1_1ParticipantInfo.xhtml) &amp;&amp;)=default Provide a move-constructor.   
 <a id="aee8b24b8a6bb40e1b49d52849ffd7381" name="aee8b24b8a6bb40e1b49d52849ffd7381"></a>[ParticipantInfo](structsysc_1_1ParticipantInfo.xhtml) &amp; **operator=** (const [ParticipantInfo](structsysc_1_1ParticipantInfo.xhtml) &amp;)=default Provide a copy-assign operator.   
 <a id="a3edb39cc4d7965fc44f613e5d9c5eb50" name="a3edb39cc4d7965fc44f613e5d9c5eb50"></a>[ParticipantInfo](structsysc_1_1ParticipantInfo.xhtml) &amp; **operator=** ([ParticipantInfo](structsysc_1_1ParticipantInfo.xhtml) &amp;&amp;)=default Provide a move-assign operator.   
  [ParticipantInfo](structsysc_1_1ParticipantInfo.xhtml#aaa27d3d6711d46253b08d5a9faa89932) (const std::string &amp;scHost, unsigned short scPort, const std::string &amp;participantName) Provide a non-default constructor. [More...](structsysc_1_1ParticipantInfo.xhtml#aaa27d3d6711d46253b08d5a9faa89932)  
  [ParticipantInfo](structsysc_1_1ParticipantInfo.xhtml#a2e86803e776980c1ca6a2695c02989f0) (const std::string &amp;scHost, unsigned short scPort, const std::string &amp;participantName, const std::string &amp;buildInformation) Provide a non-default constructor. [More...](structsysc_1_1ParticipantInfo.xhtml#a2e86803e776980c1ca6a2695c02989f0)  
  [ParticipantInfo](structsysc_1_1ParticipantInfo.xhtml#a2ad671f9752d8c33476a91a423bf5964) (const std::string &amp;scHost, unsigned short scPort, const std::string &amp;participantName, const std::string &amp;buildInformation, const std::string &amp;transcriptFilename) Provide a non-default constructor. [More...](structsysc_1_1ParticipantInfo.xhtml#a2ad671f9752d8c33476a91a423bf5964)  
 ## <a id="pub-attribs" name="pub-attribs"></a>Public Attributes

std::string [scHost](structsysc_1_1ParticipantInfo.xhtml#a94cf61151b1961e603d2f2e5f9bba836) unsigned short [scPort](structsysc_1_1ParticipantInfo.xhtml#a4e702f37611565ae8dd606d0617a9b1e) {0} std::string [participantName](structsysc_1_1ParticipantInfo.xhtml#ab9f7db7947123effd7b51a7c5be378e0) bool [isCosimulation](structsysc_1_1ParticipantInfo.xhtml#a0cca75649fe3b7c48ae59d115dfdd4f9) {false} std::string [buildInformation](structsysc_1_1ParticipantInfo.xhtml#a04aa25721fcee48f00326f1a48bdf2d4) std::string [transcriptFilename](structsysc_1_1ParticipantInfo.xhtml#afd0f30e3ffc99ebd394966f72869dfbf) <a id="details" name="details"></a>## Detailed Description

provide a structure for the participant information needed to connect to a System Coupling object

Parameters scHosthost name to connect to System CouplingscPortport number to connect to System CouplingparticipantNamename of the participantisCosimulationflag if the simulation is a cosimulationbuildInformationinformation for the current buildtranscriptFilenamethe name of the transcript to be written to Definition at line [249](CommonTypes_8hpp_source.xhtml#l00249) of file [CommonTypes.hpp](CommonTypes_8hpp_source.xhtml).



## Constructor &amp; Destructor Documentation

<a id="aaa27d3d6711d46253b08d5a9faa89932" name="aaa27d3d6711d46253b08d5a9faa89932"></a>## [◆ ](#aaa27d3d6711d46253b08d5a9faa89932)ParticipantInfo() \[1/3\]

 sysc::ParticipantInfo::ParticipantInfo  ( const std::string &amp;  *scHost*,    unsigned short  *scPort*,    const std::string &amp;  *participantName*   )   inline 

Provide a non-default constructor.

Definition at line [273](CommonTypes_8hpp_source.xhtml#l00273) of file [CommonTypes.hpp](CommonTypes_8hpp_source.xhtml).

<a id="l00276" name="l00276"></a> 276 :

<a id="l00277" name="l00277"></a> 277 scHost(scHost),

<a id="l00278" name="l00278"></a> 278 scPort(scPort),

<a id="l00279" name="l00279"></a> 279 participantName(participantName),

<a id="l00280" name="l00280"></a> 280 isCosimulation(true)

<a id="l00281" name="l00281"></a> 281 {

<a id="l00282" name="l00282"></a> 282 }







<a id="a2e86803e776980c1ca6a2695c02989f0" name="a2e86803e776980c1ca6a2695c02989f0"></a>## [◆ ](#a2e86803e776980c1ca6a2695c02989f0)ParticipantInfo() \[2/3\]

 sysc::ParticipantInfo::ParticipantInfo  ( const std::string &amp;  *scHost*,    unsigned short  *scPort*,    const std::string &amp;  *participantName*,    const std::string &amp;  *buildInformation*   )   inline 

Provide a non-default constructor.

Definition at line [285](CommonTypes_8hpp_source.xhtml#l00285) of file [CommonTypes.hpp](CommonTypes_8hpp_source.xhtml).

<a id="l00289" name="l00289"></a> 289 :

<a id="l00290" name="l00290"></a> 290 scHost(scHost),

<a id="l00291" name="l00291"></a> 291 scPort(scPort),

<a id="l00292" name="l00292"></a> 292 participantName(participantName),

<a id="l00293" name="l00293"></a> 293 isCosimulation(true),

<a id="l00294" name="l00294"></a> 294 buildInformation(buildInformation)

<a id="l00295" name="l00295"></a> 295 {

<a id="l00296" name="l00296"></a> 296 }







<a id="a2ad671f9752d8c33476a91a423bf5964" name="a2ad671f9752d8c33476a91a423bf5964"></a>## [◆ ](#a2ad671f9752d8c33476a91a423bf5964)ParticipantInfo() \[3/3\]

 sysc::ParticipantInfo::ParticipantInfo  ( const std::string &amp;  *scHost*,    unsigned short  *scPort*,    const std::string &amp;  *participantName*,    const std::string &amp;  *buildInformation*,    const std::string &amp;  *transcriptFilename*   )   inline 

Provide a non-default constructor.

Definition at line [299](CommonTypes_8hpp_source.xhtml#l00299) of file [CommonTypes.hpp](CommonTypes_8hpp_source.xhtml).

<a id="l00304" name="l00304"></a> 304 :

<a id="l00305" name="l00305"></a> 305 scHost(scHost),

<a id="l00306" name="l00306"></a> 306 scPort(scPort),

<a id="l00307" name="l00307"></a> 307 participantName(participantName),

<a id="l00308" name="l00308"></a> 308 isCosimulation(true),

<a id="l00309" name="l00309"></a> 309 buildInformation(buildInformation),

<a id="l00310" name="l00310"></a> 310 transcriptFilename(transcriptFilename)

<a id="l00311" name="l00311"></a> 311 {

<a id="l00312" name="l00312"></a> 312 }







## Member Data Documentation

<a id="a04aa25721fcee48f00326f1a48bdf2d4" name="a04aa25721fcee48f00326f1a48bdf2d4"></a>## [◆ ](#a04aa25721fcee48f00326f1a48bdf2d4)buildInformation

 std::string sysc::ParticipantInfo::buildInformation

Definition at line [254](CommonTypes_8hpp_source.xhtml#l00254) of file [CommonTypes.hpp](CommonTypes_8hpp_source.xhtml).





<a id="a0cca75649fe3b7c48ae59d115dfdd4f9" name="a0cca75649fe3b7c48ae59d115dfdd4f9"></a>## [◆ ](#a0cca75649fe3b7c48ae59d115dfdd4f9)isCosimulation

 bool sysc::ParticipantInfo::isCosimulation {false}

Definition at line [253](CommonTypes_8hpp_source.xhtml#l00253) of file [CommonTypes.hpp](CommonTypes_8hpp_source.xhtml).





<a id="ab9f7db7947123effd7b51a7c5be378e0" name="ab9f7db7947123effd7b51a7c5be378e0"></a>## [◆ ](#ab9f7db7947123effd7b51a7c5be378e0)participantName

 std::string sysc::ParticipantInfo::participantName

Definition at line [252](CommonTypes_8hpp_source.xhtml#l00252) of file [CommonTypes.hpp](CommonTypes_8hpp_source.xhtml).





<a id="a94cf61151b1961e603d2f2e5f9bba836" name="a94cf61151b1961e603d2f2e5f9bba836"></a>## [◆ ](#a94cf61151b1961e603d2f2e5f9bba836)scHost

 std::string sysc::ParticipantInfo::scHost

Definition at line [250](CommonTypes_8hpp_source.xhtml#l00250) of file [CommonTypes.hpp](CommonTypes_8hpp_source.xhtml).





<a id="a4e702f37611565ae8dd606d0617a9b1e" name="a4e702f37611565ae8dd606d0617a9b1e"></a>## [◆ ](#a4e702f37611565ae8dd606d0617a9b1e)scPort

 unsigned short sysc::ParticipantInfo::scPort {0}

Definition at line [251](CommonTypes_8hpp_source.xhtml#l00251) of file [CommonTypes.hpp](CommonTypes_8hpp_source.xhtml).





<a id="afd0f30e3ffc99ebd394966f72869dfbf" name="afd0f30e3ffc99ebd394966f72869dfbf"></a>## [◆ ](#afd0f30e3ffc99ebd394966f72869dfbf)transcriptFilename

 std::string sysc::ParticipantInfo::transcriptFilename

Definition at line [255](CommonTypes_8hpp_source.xhtml#l00255) of file [CommonTypes.hpp](CommonTypes_8hpp_source.xhtml).