14 class ServiceRepository;
static ServiceRepository & getInstance()
ServiceContainer _services
std::vector< ServiceEntry > ServiceContainer
tarch::multicore::RecursiveSemaphore _receiveDanglingMessagesSemaphore
static tarch::services::ServiceRepository _singleton
void init()
Maybe the only service that you don't have to init and shutdown.
void removeService(Service *const service)
This routine is thread-safe, i.e.
virtual void receiveDanglingMessages() override
Answer to MPI Messages.
virtual void shutdown() override
std::string getListOfRegisteredServices() const
bool hasService(Service *service) const
This routine is thread-safe.
virtual ~ServiceRepository()
void addService(Service *const service, const std::string &name)
Add a new service.
Have to include this header, as I need access to the SYCL_EXTERNAL keyword.