| helics 3.6.1

Public Member Functions | Public Attributes | List of all members
helics::InputData Struct Reference

`#include <ValueFederateManager.hpp>`

## Public Member Functions
| InputData (std::string_view n_name, std::string_view n_type, std::string_view n_units)

## Public Attributes
InterfaceHandle | coreID
| Handle from the core.
InputId | id
| the id used as the identifier
data_view | lastData
| the last published data from a target
Time | lastUpdate {0.0}
| the time the subscription was last updated
Time | lastQuery {0.0}
| the time the query was made
int | sourceIndex {0}
| the index of the data source for multi-source inputs
std::string | name
| input name
std::string | type
| input type
std::string | units
| input units
std::string | pubtype
| the listed type of the corresponding publication
std::function< void(Input &, Time)> | callback
| callback to trigger on update
bool | hasUpdate = false
| indicator that there was an update

## Detailed Description

structure used to contain information about a subscription

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

- ValueFederateManager.hpp