1 #ifndef MONARCHHEADER_HH_ 2 #define MONARCHHEADER_HH_ 32 bool MarshalToArray(
void* anArray,
int aSize )
const;
33 bool MarshalToStream( std::ostream* aStream )
const;
36 bool DemarshalFromArray(
void* anArray,
int aSize )
const;
37 bool DemarshalFromStream( std::istream* aStream )
const;
43 void SetFilename(
const std::string& aFilename );
44 const std::string& GetFilename()
const;
51 void SetAcquisitionRate(
double aRate );
52 double GetAcquisitionRate()
const;
55 void SetRunDuration(
unsigned int aDuration );
56 unsigned int GetRunDuration()
const;
59 void SetRecordSize(
unsigned int aSize );
60 unsigned int GetRecordSize()
const;
65 void SetTimestamp(
const std::string& aTimestamp );
66 const std::string& GetTimestamp()
const;
68 void SetDescription(
const std::string& aDescription );
69 const std::string& GetDescription()
const;
71 void SetRunType(
RunType aRunType );
80 void SetDataTypeSize(
unsigned aSize );
81 unsigned GetDataTypeSize()
const;
83 void SetBitDepth(
unsigned aBitDepth );
84 unsigned GetBitDepth()
const;
86 void SetVoltageMin(
double aVoltage );
87 double GetVoltageMin()
const;
89 void SetVoltageRange(
double aVoltage );
90 double GetVoltageRange()
const;
uint32_t AcquisitionModeType