Skip to content

InscoperAPI/API/Base/Diag/CameraDiagInfo.h

Namespaces

Name
Inscoper
Inscoper namespace.

Classes

Name
class Inscoper::CameraDiagInfo
CameraDiagInfo class groups camera-specific diagnostic information.

Source code

#ifndef CAMERADIAGINFO_H
#define CAMERADIAGINFO_H

#include <Base/Status/Status.h>
#include <Global.h>

#include <memory>

namespace Inscoper {

class INSCOPER_EXPORT CameraDiagInfo {
public:
  CameraDiagInfo();

  ~CameraDiagInfo();

  void setSoftwareTriggerAvailable(bool available);

  bool isSoftwareTriggerAvailable() const;

  void setLevelTriggerAvailable(bool available);

  bool isLevelTriggerAvailable() const;

  void setEdgeTriggerAvailable(bool available);

  bool isEdgeTriggerAvailable() const;

  void setEdgeTriggerStatus(const Inscoper::Status &status);

  const Inscoper::Status &getEdgeTriggerStatus() const;

  void setLevelTriggerStatus(const Inscoper::Status &status);

  const Inscoper::Status &getLevelTriggerStatus() const;

  void setInternalTriggerStatus(const Inscoper::Status &status);

  const Inscoper::Status &getInternalTriggerStatus() const;

  void setSoftwareTriggerStatus(const Inscoper::Status &status);

  const Inscoper::Status &getSoftwareTriggerStatus() const;

  void setPhysicalPixelSize(double pixelSize);

  double getPhysicalPixelSize() const;

private:
  bool _softwareTriggerAvailable;
  bool _levelTriggerAvailable;
  bool _edgeTriggerAvailable;

  Inscoper::Status _edgeTriggerStatus;
  Inscoper::Status _levelTriggerStatus;
  Inscoper::Status _internalTriggerStatus;
  Inscoper::Status _softwareTriggerStatus;

  double _physicalPixelSize;
};

typedef std::shared_ptr<CameraDiagInfo> CameraDiagInfoPtr;

} // namespace Inscoper

#endif // CAMERADIAGINFO_H

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