| helics 3.6.1

Public Member Functions | Public Attributes | List of all members
helics::CoreFederateInfo Class Reference

`#include <CoreFederateInfo.hpp>`

Inheritance diagram for helics::CoreFederateInfo:

## 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

## Detailed Description

class defining some required information about the federate and any optional properties

## Member Function Documentation

## ◆ setFlagOption()

void helics::CoreFederateInfo::setFlagOption | ( | int | flagId,
|  | bool | propVal = `true`
| ) |  |
| inline

set a flag property for a federate

References flagProps.

## ◆ setProperty()

void helics::CoreFederateInfo::setProperty | ( | int | propId,
|  | double | propVal
| ) |  |
| 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().

The documentation for this class was generated from the following file:

- CoreFederateInfo.hpp