Skip to content

InscoperAPI/API/Base/Description/ConnectionDescription.h

Namespaces

Name
Inscoper
Inscoper namespace.

Classes

Name
class Inscoper::ConnectionDescription
ConnectionDescription class provides connection information coming from the device controller.

Source code

#ifndef CONNECTIONDESCRIPTION_H
#define CONNECTIONDESCRIPTION_H

#include <Base/Description/EConnectionTypeDesc.h>
#include <Global.h>

#include <memory>
#include <string>

namespace Inscoper {

class INSCOPER_EXPORT ConnectionDescription {
public:
  ConnectionDescription();

  unsigned short getTag() const;

  void setTag(unsigned short tag);

  Inscoper::EConnectionTypeDesc getType() const;

  void setType(Inscoper::EConnectionTypeDesc type);

  const std::string &getDescription() const;

  void setDescription(const std::string &description);

private:
  unsigned short _tag;
  Inscoper::EConnectionTypeDesc _type;
  std::string _description;
};

typedef std::shared_ptr<ConnectionDescription> ConnectionDescriptionPtr;

} // namespace Inscoper

#endif // CONNECTIONDESCRIPTION_H

Updated on 2026-09-03 at 12:14:17 +0200