![]() |
helics 3.7.0
|
#include <Federate.hpp>
Public Member Functions | |
| FederateInfo () | |
| FederateInfo (const std::string &coretype) | |
| FederateInfo (int coretype) | |
| FederateInfo (const FederateInfo &otherFedInfo) | |
| FederateInfo & | operator= (const FederateInfo &otherFedInfo) |
| ~FederateInfo () | |
| void | loadFromArgs (const std::string &argString) |
| void | setCoreName (const std::string &coreName) |
| void | setSeparator (char sep) |
| Set the separator character. | |
| void | setCoreInit (const std::string &coreInit) |
| void | setBrokerInit (const std::string &brokerInit) |
| Set a string for the broker initialization in command line argument format. | |
| void | setCoreType (const std::string &coretype) |
| void | setCoreType (int coretype) |
| void | setBroker (const std::string &broker) |
| void | setBrokerKey (const std::string &brokerkey) |
| void | setFlagOption (int flag, bool value=true) |
| void | setProperty (int timeProperty, HelicsTime timeValue) |
| void | setProperty (int integerProperty, int propertyValue) |
| HELICS_NODISCARD HelicsFederateInfo | getInfo () |
hold federate information in the C++98 API
|
inline |
constructor
|
inlineexplicit |
construct from a type string
| coretype | the type of core to use for the federate |
|
inlineexplicit |
construct from a type
| coretype | the type of core to use for the federate |
|
inline |
copy constructor for federate info
|
inline |
destructor
|
inline |
get the underlying HelicsFederateInfo object
Referenced by helicscpp::CombinationFederate::CombinationFederate(), helicscpp::MessageFederate::MessageFederate(), and helicscpp::ValueFederate::ValueFederate().
|
inline |
copy assignment for federateInfo
|
inline |
set the broker to connect with
| broker | a string with the broker connection information or name |
|
inline |
set the broker key to use
| brokerkey | a string with the broker key information |
|
inline |
set the core init string to use in the federateInfo
| coreInit | the core name to use |
|
inline |
set the core name to use in the federateInfo
| coreName | the core name to use |
|
inline |
set the core type from a string with the core type
| coretype | the string defining a core type |
|
inline |
set the core type from an integer HelicsCoreTypes
| coretype | an integer code with the federate type |
|
inline |
set a flag
| flag | /ref helics_federate_flags |
| value | the value of the flag usually HELICS_TRUE or HELICS_FALSE |
References HELICS_FALSE, and HELICS_TRUE.
|
inline |
set an integral federate or core property
| integerProperty | /ref helics_federate_properties an integer code with the property |
| propertyValue | the value to set the property to |
|
inline |
set a time federate or core property
| timeProperty | /ref helics_federate_properties an integer code with the property |
| timeValue | the value to set the property to |