ngscopeclient 0.1-dev+51fbda87c
Classes | Macros
SCPISpectrometer.h File Reference

Declaration of Spectrometer. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  SCPISpectrometer
 Generic representation of an optical (UV-VIS-IR) spectrometer. More...
 

Macros

#define SPECTROMETER_INITPROC(T)
 
#define AddSpectrometerDriverClass(T)   SCPISpectrometer::DoAddDriverClass(T::GetDriverNameInternal(), T::CreateInstance)
 

Detailed Description

Declaration of Spectrometer.

Author
Andrew D. Zonenberg

Macro Definition Documentation

◆ SPECTROMETER_INITPROC

#define SPECTROMETER_INITPROC (   T)
Value:
static std::shared_ptr<SCPISpectrometer> CreateInstance(SCPITransport* transport) \
{ return std::make_shared<T>(transport); } \
virtual std::string GetDriverName() const override \
{ return GetDriverNameInternal(); }
Abstraction of a transport layer for moving SCPI data between endpoints.
Definition: SCPITransport.h:47