![]() |
helics
3.0.1
|
#include <api_objects.h>
Public Member Functions | |
helics::FedObject * | findFed (const std::string &fedName) |
int | addBroker (std::unique_ptr< helics::BrokerObject > broker) |
int | addCore (std::unique_ptr< helics::CoreObject > core) |
int | addFed (std::unique_ptr< helics::FedObject > fed) |
void | clearBroker (int index) |
void | clearCore (int index) |
void | clearFed (int index) |
void | deleteAll () |
void | abortAll (int errorCode, const std::string &error) |
const char * | addErrorString (std::string newError) |
class for containing all the objects associated with a federation
int MasterObjectHolder::addBroker | ( | std::unique_ptr< helics::BrokerObject > | broker | ) |
add a broker to the holder
int MasterObjectHolder::addCore | ( | std::unique_ptr< helics::CoreObject > | core | ) |
add a core to the holder
const char * MasterObjectHolder::addErrorString | ( | std::string | newError | ) |
store an error string to a string buffer
int MasterObjectHolder::addFed | ( | std::unique_ptr< helics::FedObject > | fed | ) |
add a federate to the holder