class mrpt::comms::TopicDirectory

Overview

The central directory of existing topics for pub/sub.

#include <mrpt/comms/nodelets.h>

class TopicDirectory: public std::enable_shared_from_this< TopicDirectory >
{
public:
    // typedefs

    typedef std::shared_ptr<TopicDirectory> Ptr;

    // methods

    template <typename PATH>
    Topic::Ptr getTopic(PATH&& path);

    void cleanupTopic(const std::string& key);
    static Ptr create();
};