NSCL DDAS
1.0
Support for XIA DDAS at the NSCL
|
#include <SetFileWriter.h>
Public Member Functions | |
SetFileWriter (SetFileEditor &editor, unsigned short slot, unsigned short Mhz) | |
virtual void | write (const ModuleSettings &dspSettings) |
Given a slot number and a set file editor, writes the settings from our internal format into the set file's chunk for that module.
DDAS::SetFileWriter::SetFileWriter | ( | SetFileEditor & | editor, |
unsigned short | slot, | ||
unsigned short | Mhz | ||
) |
constructor
m_editor | - references a set file m_editor. |
slot | - Slot we are writing. |
Mhz | - Speed of the module in MHz. Needed to convert from internal -> module parameters. |
|
virtual |
write Writes the settings described by the parameter to the slot of the set file we've been given.
dspSettings | - Settings information. |
Implements DDAS::SettingsWriter.