EduArt Sensor Ring Library 3.0.0
Loading...
Searching...
No Matches
eduart::com::ComEndpoint Class Reference

Uniquely identifies a communication endpoint by its string ID. More...

#include <ComEndpoint.hpp>

Public Member Functions

 ComEndpoint (const std::string &id)
 Construct from endpoint ID string.
 ComEndpoint (const ComEndpoint &endpoint)
 Copy constructor.
const std::string getId () const
 Get the endpoint ID.
bool operator== (const ComEndpoint &other) const

Detailed Description

Uniquely identifies a communication endpoint by its string ID.

Constructor & Destructor Documentation

◆ ComEndpoint()

eduart::com::ComEndpoint::ComEndpoint ( const std::string & id)

Construct from endpoint ID string.

Parameters
[in]idThe unique identifier for this endpoint.

Member Function Documentation

◆ getId()

const std::string eduart::com::ComEndpoint::getId ( ) const

Get the endpoint ID.

Returns
The endpoint's unique identifier string.

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