Logo Search packages:      
Sourcecode: libgdf version File versions  Download package

Public Member Functions | Private Attributes | Friends

gdf::GDFHeaderAccess Class Reference

Collaboration diagram for gdf::GDFHeaderAccess:
Collaboration graph

List of all members.

Public Member Functions

void clear ()
 Reset header to initial state.
bool createSignal (size_t index, bool throwexc=false)
void enableAutoRecordDuration ()
 enable automatic record duration
 GDFHeaderAccess ()
EventHeadergetEventHeader ()
size_t getFirstFreeSignalIndex ()
MainHeadergetMainHeader ()
const MainHeadergetMainHeader_readonly () const
size_t getNumberOfSamplesInSignal (size_t signal_index) const
size_t getNumSignals () const
SignalHeadergetSignalHeader (size_t idx)
const SignalHeadergetSignalHeader_readonly (size_t idx) const
void relocateSignal (size_t src, size_t dst)
void sanitize ()
 perform sanity check on header and normalize header information.
void setLock (bool b)
 Lock write access to headers.
void setRecordDuration (uint32 num, uint32 den)
 set record duration
void swapSignals (size_t a, size_t b)
virtual ~GDFHeaderAccess ()

Private Attributes

uint32 drd_den
uint32 drd_num
EventHeader m_events
bool m_lock
MainHeader m_mainhdr
std::map< uint16, SignalHeaderm_sighdr
TagHeader m_taghdr


std::ostream & operator<< (std::ostream &out, const GDFHeaderAccess &hdr)
 Header Serializer.
std::istream & operator>> (std::istream &in, GDFHeaderAccess &hdr)
 Header Deserializer.

Detailed Description

Definition at line 31 of file GDFHeaderAccess.h.

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index