Skip to content

InscoperAPI/API/Base/Description/SubDeviceGroupDescription.h

Namespaces

Name
Inscoper
Inscoper namespace.

Classes

Name
class Inscoper::SubDeviceGroupDescription
SubDeviceGroupDescription class provides sub-device group information.

Source code

#ifndef SUBDEVICEGROUPDESCRIPTION_H
#define SUBDEVICEGROUPDESCRIPTION_H

#include <Base/Description/SubDeviceDescription.h>

#include <NBO/NBO/ENBOType.h>

#include <memory>

namespace Inscoper {

class INSCOPER_EXPORT SubDeviceGroupDescription {
public:
  SubDeviceGroupDescription();

  const std::string &getName() const;

  void setName(const std::string &name);

  unsigned short getTag() const;

  void setTag(unsigned short tag);

  Inscoper::NBO::ENBOType getNBOType() const;

  void setNBOType(Inscoper::NBO::ENBOType nboType);

  void addSubDeviceDescription(const Inscoper::SubDeviceDescriptionPtr &subDeviceDescription);

  const std::vector<Inscoper::SubDeviceDescriptionPtr> &getSubDeviceDescriptionList() const;

  void setSubDeviceDescriptionList(const std::vector<Inscoper::SubDeviceDescriptionPtr> &subDeviceDescriptionList);

  Inscoper::SubDeviceDescriptionPtr getSubDeviceDescription(unsigned short subDeviceTag);

private:
  unsigned short _tag;
  std::string _name;
  Inscoper::NBO::ENBOType _nboType;

  std::vector<Inscoper::SubDeviceDescriptionPtr> _subDeviceDescriptionList;
};

typedef std::shared_ptr<SubDeviceGroupDescription> SubDeviceGroupDescriptionPtr;

} // namespace Inscoper

#endif // SUBDEVICEGROUPDESCRIPTION_H

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