|
libGDF
|
Public Member Functions | |
| GDFHeaderAccess () | |
| Constructor. | |
| virtual | ~GDFHeaderAccess () |
| Destructor. | |
| void | clear () |
| Reset header to initial state. | |
| void | sanitize () |
| perform sanity check on header and normalize header information. | |
| void | setRecordDuration (uint32 num, uint32 den) |
| set record duration | |
| void | enableAutoRecordDuration () |
| enable automatic record duration | |
| const MainHeader & | getMainHeader_readonly () const |
| MainHeader & | getMainHeader () |
| const SignalHeader & | getSignalHeader_readonly (size_t idx) const |
| SignalHeader & | getSignalHeader (size_t idx) |
| bool | createSignal (size_t index, bool throwexc=false) |
| size_t | getFirstFreeSignalIndex () |
| size_t | getNumSignals () const |
| void | swapSignals (size_t a, size_t b) |
| void | relocateSignal (size_t src, size_t dst) |
| EventHeader & | getEventHeader () |
| void | setLock (bool b) |
| Lock write access to headers. | |
| size_t | getNumberOfSamplesInSignal (size_t signal_index) const |
Friends | |
| std::ostream & | operator<< (std::ostream &out, const GDFHeaderAccess &hdr) |
| Header Serializer. | |
| std::istream & | operator>> (std::istream &in, GDFHeaderAccess &hdr) |
| Header Deserializer. | |
Definition at line 31 of file GDFHeaderAccess.h.
| void gdf::GDFHeaderAccess::sanitize | ( | ) |
perform sanity check on header and normalize header information.
If there are issues with the configuration an exception with detailed information is thrown.
Definition at line 64 of file GDFHeaderAccess.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| void gdf::GDFHeaderAccess::setRecordDuration | ( | uint32 | num, |
| uint32 | den | ||
| ) |
set record duration
Normally record duration is automatically set to the smallest possible value. This functionality is overriden when manually setting the record duration.
Definition at line 169 of file GDFHeaderAccess.cpp.