hmbdc
simplify-high-performance-messaging-programming
Public Member Functions | List of all members
hmbdc::comm::Topic Struct Reference

topic as in the publish / subscribe communication paradigm More...

#include <Topic.hpp>

Inheritance diagram for hmbdc::comm::Topic:
hmbdc::text::TypedString< TOPIC, 64u >

Public Member Functions

 Topic ()
 construct an empty topic
 
 Topic (char const *t)
 ctor from a char* string More...
 
 Topic (std::string t)
 ctor from a std string More...
 

Detailed Description

topic as in the publish / subscribe communication paradigm

recommended allowed letters are [a-z] [A-Z] [0-9] and / it has a length limit of 64 char

Examples:
chat.cpp, client-server-netmap.cpp, rmcast-cp.cpp, and server-cluster.cpp.

Constructor & Destructor Documentation

◆ Topic() [1/2]

hmbdc::comm::Topic::Topic ( char const *  t)
inline

ctor from a char* string

truncated to be 64 char

Parameters
ttopic string limited to 64 char

◆ Topic() [2/2]

hmbdc::comm::Topic::Topic ( std::string  t)
inline

ctor from a std string

truncated to be 64 char

Parameters
ttopic string limited to 64 char

The documentation for this struct was generated from the following file: