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

Declaration of SCPISDR. More...

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

Go to the source code of this file.

Classes

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

Macros

#define SDR_INITPROC(T)
 
#define AddSDRDriverClass(T)   SCPISDR::DoAddDriverClass(T::GetDriverNameInternal(), T::CreateInstance)
 

Detailed Description

Declaration of SCPISDR.

Author
Andrew D. Zonenberg

Macro Definition Documentation

◆ SDR_INITPROC

#define SDR_INITPROC (   T)
Value:
static std::shared_ptr<SCPISDR> 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