SNode.C
Loading...
Searching...
No Matches
iot::mqtt_fast::Topic Class Reference

#include <Topic.h>

Collaboration diagram for iot::mqtt_fast::Topic:

Public Member Functions

 Topic (const std::string &name, uint8_t requestedQoS)
 
 Topic (const Topic &)=default
 
Topicoperator= (const Topic &)=default
 
 ~Topic ()
 
const std::string & getName () const
 
uint8_t getRequestedQoS () const
 

Private Attributes

std::string name
 
uint8_t requestedQoS
 

Detailed Description

Definition at line 32 of file Topic.h.

Constructor & Destructor Documentation

◆ Topic() [1/2]

iot::mqtt_fast::Topic::Topic ( const std::string & name,
uint8_t requestedQoS )

Definition at line 28 of file Topic.cpp.

29 : name(name)
31 }
uint8_t requestedQoS
Definition Topic.h:46
std::string name
Definition Topic.h:45

References requestedQoS, and Topic().

Referenced by Topic().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Topic() [2/2]

iot::mqtt_fast::Topic::Topic ( const Topic & )
default

◆ ~Topic()

iot::mqtt_fast::Topic::~Topic ( )

Definition at line 33 of file Topic.cpp.

33 {
34 }

Member Function Documentation

◆ getName()

const std::string & iot::mqtt_fast::Topic::getName ( ) const

Definition at line 36 of file Topic.cpp.

36 {
37 return name;
38 }

◆ getRequestedQoS()

uint8_t iot::mqtt_fast::Topic::getRequestedQoS ( ) const

Definition at line 40 of file Topic.cpp.

40 {
41 return requestedQoS;
42 }

References requestedQoS.

◆ operator=()

Topic & iot::mqtt_fast::Topic::operator= ( const Topic & )
default

Member Data Documentation

◆ name

std::string iot::mqtt_fast::Topic::name
private

Definition at line 45 of file Topic.h.

◆ requestedQoS

uint8_t iot::mqtt_fast::Topic::requestedQoS
private

Definition at line 46 of file Topic.h.

Referenced by getRequestedQoS(), and Topic().


The documentation for this class was generated from the following files: