SEPIA
Software documentation for the APEX SEPIA receivers
cartridge.h File Reference
#include <QTimerEvent>
#include <QString>
#include <QStringList>
#include <QVector>
#include <QSettings>
#include <QFileSystemWatcher>
#include <QMutex>
#include <QRunnable>
#include <unistd.h>
#include "tuning.h"
#include "network.h"
#include "CANbus/inireader.h"
#include "CANbus/mcunit.h"
#include "Synthesizer/agilent.h"
#include "Synthesizer/anritsu.h"
#include "PowerMeter/powermeter.h"
#include "GUI/mixer.h"
#include "GUI/lownoiseamplifier.h"
#include "constants.h"
Include dependency graph for cartridge.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  PolRunnable
 Virtual class to run a mixer operations in parallel. More...
 
class  SisRunnable
 Virtual class to run mixer operations in parallel. More...
 
class  BiasSetter
 A class for setting the mixer bias. More...
 
class  CoilSetter
 A class for setting the coil current. More...
 
class  IVscanner
 A class for taking an IV curve. More...
 
class  Demagnetizer
 A class for demagnetizing a mixer element. More...
 
class  Defluxer
 A class to perform a deflux operation. More...
 
class  Cartridge
 A virtual class representing a cartridge. More...
 

Functions

QMutex * mutex (Mixer::Polarization pol, Mixer::Element sis)
 Return a pointer to the mutex associated with given mixer element. More...
 

Function Documentation

◆ mutex()

QMutex* mutex ( Mixer::Polarization  pol,
Mixer::Element  sis 
)

Return a pointer to the mutex associated with given mixer element.

This mutex allows operations on several mixer elements to run in parallel. This is implemented via classes PolRunnable and SisRunnable, which in turn are base classes for BiasSetter, CoilSetter, IVscanner, Demagnetizer and Defluxer.

Parameters
polthe Mixer::Polarization of the mixer
sisthe Mixer::Element of the mixer
Returns
pointer to QMutex