![]() |
helics
3.0.1
|
#include <InterfaceInfo.hpp>
Public Member Functions | |
const PublicationInfo * | getPublication (const std::string &pubName) const |
const PublicationInfo * | getPublication (InterfaceHandle handle) const |
PublicationInfo * | getPublication (const std::string &pubName) |
PublicationInfo * | getPublication (InterfaceHandle handle) |
const InputInfo * | getInput (const std::string &inputName) const |
const InputInfo * | getInput (InterfaceHandle handle) const |
InputInfo * | getInput (const std::string &inputName) |
InputInfo * | getInput (InterfaceHandle handle) |
const EndpointInfo * | getEndpoint (const std::string &endpointName) const |
const EndpointInfo * | getEndpoint (InterfaceHandle handle) const |
EndpointInfo * | getEndpoint (const std::string &endpointName) |
EndpointInfo * | getEndpoint (InterfaceHandle handle) |
void | createPublication (InterfaceHandle handle, const std::string &key, const std::string &type, const std::string &units) |
void | createInput (InterfaceHandle handle, const std::string &key, const std::string &type, const std::string &units) |
void | createEndpoint (InterfaceHandle handle, const std::string &endpointName, const std::string &type) |
auto | getEndpoints () |
auto | getPublications () |
auto | getInputs () |
auto | getEndpoints () const |
auto | getPublications () const |
auto | getInputs () const |
auto | cgetEndpoints () const |
auto | cgetPublications () const |
auto | cgetInputs () const |
void | setGlobalId (GlobalFederateId newglobalId) |
void | setChangeUpdateFlag (bool updateFlag) |
bool | getChangeUpdateFlag () const |
bool | setInputProperty (InterfaceHandle id, int32_t option, int32_t value) |
bool | setPublicationProperty (InterfaceHandle id, int32_t option, int32_t value) |
bool | setEndpointProperty (InterfaceHandle id, int32_t option, int32_t value) |
int32_t | getInputProperty (InterfaceHandle id, int32_t option) const |
int32_t | getPublicationProperty (InterfaceHandle id, int32_t option) const |
int32_t | getEndpointProperty (InterfaceHandle id, int32_t option) const |
std::vector< std::pair< int, std::string > > | checkInterfacesForIssues () |
void | generateInferfaceConfig (Json::Value &base) const |
void | GenerateDataFlowGraph (Json::Value &base) const |
generic class for holding information about interfaces for a core federate structure
std::vector< std::pair< int, std::string > > helics::InterfaceInfo::checkInterfacesForIssues | ( | ) |
check the interfaces for specific issues
void helics::InterfaceInfo::GenerateDataFlowGraph | ( | Json::Value & | base | ) | const |
load a dependency graph for the interfaces
void helics::InterfaceInfo::generateInferfaceConfig | ( | Json::Value & | base | ) | const |
generate a configuration script for the interfaces
|
inline |
get the current value of the change update flag
int32_t helics::InterfaceInfo::getInputProperty | ( | InterfaceHandle | id, |
int32_t | option | ||
) | const |
get properties for an interface
void helics::InterfaceInfo::setChangeUpdateFlag | ( | bool | updateFlag | ) |
set the change update flag which controls when a subscription is updated
|
inline |
set the global id of the federate for use in the interfaces
Referenced by helics::FederateState::reset().
bool helics::InterfaceInfo::setInputProperty | ( | InterfaceHandle | id, |
int32_t | option, | ||
int32_t | value | ||
) |
set a property on a specific interface