![]() |
helics
3.0.1
|
#include <FilterFederateManager.hpp>
Public Member Functions | |
FilterFederateManager (Core *coreObj, Federate *fFed, LocalFederateId id) | |
~FilterFederateManager () | |
Filter & | registerFilter (const std::string &name, const std::string &type_in, const std::string &type_out) |
CloningFilter & | registerCloningFilter (const std::string &name, const std::string &type_in, const std::string &type_out) |
Filter & | registerFilter (FilterTypes type, const std::string &name) |
CloningFilter & | registerCloningFilter (FilterTypes type, const std::string &name) |
Filter & | getFilter (const std::string &name) |
const Filter & | getFilter (const std::string &name) const |
Filter & | getFilter (int index) |
const Filter & | getFilter (int index) const |
int | getFilterCount () const |
void | closeAllFilters () |
void | disconnectAllFilters () |
class handling the implementation details of a value Federate
the functions will parallel those in message Federate and contain the actual implementation details
helics::FilterFederateManager::FilterFederateManager | ( | Core * | coreObj, |
Federate * | fFed, | ||
LocalFederateId | id | ||
) |
construct from a pointer to a core and a specified federate id
|
default |
destructor
void helics::FilterFederateManager::closeAllFilters | ( | ) |
close all filters
References helics::Core::closeHandle().
void helics::FilterFederateManager::disconnectAllFilters | ( | ) |
close all filters
Filter & helics::FilterFederateManager::getFilter | ( | const std::string & | name | ) |
get a registered Filter
name | the publication id |
int helics::FilterFederateManager::getFilterCount | ( | ) | const |
get the number of registered filters in the federate
CloningFilter & helics::FilterFederateManager::registerCloningFilter | ( | const std::string & | name, |
const std::string & | type_in, | ||
const std::string & | type_out | ||
) |
register a cloningFilter
call is only valid in startup mode
name | the name of the endpoint |
type_in | the type the filter is expecting as an input |
type_out | the type the filter generates |
References helics::Core::getHandleName(), and helics::Core::registerCloningFilter().
CloningFilter & helics::FilterFederateManager::registerCloningFilter | ( | FilterTypes | type, |
const std::string & | name | ||
) |
register a cloningFilter
call is only valid in startup mode
name | the name of the endpoint |
type | the defined type of the interface for endpoint checking if requested |
References helics::make_cloning_filter().
Filter & helics::FilterFederateManager::registerFilter | ( | const std::string & | name, |
const std::string & | type_in, | ||
const std::string & | type_out | ||
) |
register a Filter
call is only valid in startup mode
name | the name of the endpoint |
type_in | the type the filter is expecting as an input |
type_out | the type the filter generates |
References helics::Core::getHandleName(), and helics::Core::registerFilter().
Filter & helics::FilterFederateManager::registerFilter | ( | FilterTypes | type, |
const std::string & | name | ||
) |
register a Filter
call is only valid in startup mode
name | the name of the endpoint |
type | the defined type of the interface for endpoint checking if requested |
References helics::make_filter().