21 #ifndef SETFILEEDITOR_H
22 #define SETFILEEDITOR_H
36 std::vector<DDAS::VarMapByName> m_varmaps;
37 std::string m_setfile;
44 void setSlotSpeed(
unsigned short slot,
unsigned short speed);
46 void set(
unsigned short slot,
const char* what, uint32_t value);
48 unsigned short slot,
const char* what,
const uint32_t* values
50 uint32_t
get(
unsigned short slot,
const char* what);
52 unsigned short slot,
const char* what
56 unsigned offset(
unsigned short slot)
const {
return slot - 2;}
58 unsigned short slot,
const char* what
61 uint32_t* pointer(
unsigned short slot,
const char* what);
62 uint32_t* arrayPointer(
unsigned short slot,
const char* what);
63 uint32_t* base(
unsigned short slot);
66 void checkErrno(
int stat,
const char* doing);
67 void checkErrno(
void* p,
const char* doing);
68 void throwErrno(
int e,
const char* doing);
void setChanPar(unsigned short slot, const char *what, const uint32_t *values)
Definition: SetFileEditor.cpp:126
std::vector< uint32_t > getChanPar(unsigned short slot, const char *what)
Definition: SetFileEditor.cpp:164
SetFileEditor(const char *setfile)
Definition: SetFileEditor.cpp:50
virtual ~SetFileEditor()
Definition: SetFileEditor.cpp:69
: Define structures and funcions for setfiles.
Definition: SetFileEditor.h:34
Definition: functions.h:26
void set(unsigned short slot, const char *what, uint32_t value)
Definition: SetFileEditor.cpp:109
void setSlotSpeed(unsigned short slot, unsigned short speed)
Definition: SetFileEditor.cpp:92