| helics 3.6.1

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

## Public Member Functions
| TranslatorFederate (GlobalFederateId fedID, std::string name, GlobalBrokerId coreID, Core *core)
TranslatorInfo * | createTranslator (GlobalBrokerId dest, InterfaceHandle handle, std::string_view key, std::string_view endpointType, std::string_view units)
void | setCallbacks (std::function< void(const ActionMessage &)> queueMessage, std::function< void(ActionMessage &&)> queueMessageMove, std::function< void(const ActionMessage &)> sendMessage, std::function< void(ActionMessage &&)> sendMessageMove)
void | setLogger (std::function< void(int, std::string_view, std::string_view)> logger)
void | setDeliver (std::function< void(ActionMessage &)> deliverMessage)
void | setAirLockFunction (std::function< gmlc::containers::AirLock< std::any > &(int)> getAirLock)
void | handleMessage (ActionMessage &command)
void | setHandleManager (HandleManager *handles)
std::string | query (std::string_view queryStr) const
bool | hasActiveTimeDependencies () const
void | useGlobalTimeCoordinator (bool value)

## Member Function Documentation

## ◆ createTranslator()

TranslatorInfo * helics::TranslatorFederate::createTranslator | ( | GlobalBrokerId | dest,
|  | InterfaceHandle | handle,
|  | std::string_view | key,
|  | std::string_view | endpointType,
|  | std::string_view | units
| ) |  |

create a translator

References helics::TranslatorInfo::id, and helics::parent_broker_id.

## ◆ hasActiveTimeDependencies()

bool helics::TranslatorFederate::hasActiveTimeDependencies | ( |  | ) | const

check if the filter federate has active time dependencies other than parent

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

- TranslatorFederate.hpp
- TranslatorFederate.cpp