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

#include <ValueFederateManager.hpp>

Public Member Functions

 input_info (const std::string &n_name, const std::string &n_type, const std::string &n_units)
 

Public Attributes

interface_handle coreID
 Handle from the core.
 
input_id_t 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: