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

void gdf::Writer::setEventMode ( uint8  mode )

Set Event Mode.

mode can be 1 or 3 1: (default) Events are stored as position,type pairs 3: Events are stored with position and type, associated to a channel and have a duration or value.

Parameters:
[in]modeevent mode

Definition at line 334 of file Writer.cpp.

References gdf::EventHeader::setMode().

    {
        if( m_file.is_open() )
            throw exception::file_open( "" );
        m_header.getEventHeader( ).setMode( mode );
    }

Here is the call graph for this function:


Generated by  Doxygen 1.6.0   Back to index