std::mutex _threadCreationMutex
void sendExceptions(const std::string &exceptionMessage)
Request the sending of exceptions.
std::atomic_bool _isSendingExceptions
void forEach(const std::function< void(size_t, boost::shared_ptr< Domain > &)> &executeMe)
Iterate all Domains under the container lock.
std::atomic_bool _threadIsRunning
bool isSendingExceptions()
Check whether an exception distribution is started and not completed yet.
boost::shared_ptr< Domain > getDomain(size_t key)
Return the shared pointer to the Domain for a key.
std::map< size_t, boost::weak_ptr< Domain > > _domains
void distributeExceptions()
Endless loop executed in the thread.
cppext::future_queue< std::string > _startExceptionDistribution
The DomainsContainer has a container with Domains and is performing actions on all of them.
boost::shared_ptr< AsyncNDRegisterAccessor< UserDataType > > subscribe(boost::shared_ptr< BackendType > backend, size_t domainId, bool activate, RegisterPath name, size_t numberOfWords, size_t wordOffsetInRegister, AccessModeFlags flags)
Get an accessor from a particular domain.
std::thread _distributorThread