Class Topic

Inheritance Relationships

Base Type

  • public std::enable_shared_from_this< Topic >

Class Documentation

class Topic : public std::enable_shared_from_this<Topic>

Public Types

using Ptr = std::shared_ptr<Topic>

Public Functions

~Topic()
template<typename ARG, typename Callable>
inline Subscriber::Ptr createSubscriber(Callable &&func)
void publish(const std::any &any)
void cleanupSubscriber(std::list<std::weak_ptr<Subscriber>>::iterator it)

Public Static Functions

template<typename CLEANUP>
static inline Ptr create(CLEANUP &&cleanup)