helics
3.5.3
|
#include <CoreFederateInfo.hpp>
Public Member Functions | |
void | setProperty (int propId, double propVal) |
void | setProperty (int propId, int propVal) |
void | setProperty (int propId, Time propVal) |
void | setFlagOption (int flagId, bool propVal=true) |
Public Attributes | |
std::vector< std::pair< int, Time > > | timeProps |
container for the timeProperties | |
std::vector< std::pair< int, int > > | intProps |
container for the integer properties | |
std::vector< std::pair< int, bool > > | flagProps |
container for the binary flag options | |
class defining some required information about the federate and any optional properties
|
inline |
set a flag property for a federate
References flagProps.
|
inline |
double overload for timeprops needs to be there since a literal double will convert to int more easily than to Time
References timeProps.
Referenced by helics::FederateInfo::loadInfoFromToml().