Class PubSubRegistry

Inheritance Relationships

Derived Type

Class Documentation

class PubSubRegistry

Subclassed by performance_test::PubSubFactory

Public Types

typedef std::string Communicator
typedef std::string Message
typedef std::function<std::unique_ptr<Publisher>(const ExperimentConfiguration&)> PublisherProducer
typedef std::function<std::unique_ptr<Subscriber>(const ExperimentConfiguration&)> SubscriberProducer

Public Functions

virtual ~PubSubRegistry() = default
virtual void register_pub_sub(const Communicator &communicator, const Message &message, PublisherProducer publisher_producer, SubscriberProducer subscriber_producer) = 0