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

template<typename T >
void gdf::Writer::addSampleRaw ( const size_t  channel_idx,
const T  value 
) [inline]

Add a raw sample to channel.

The sample value is cast to the correct data type, but no range checking is performed

Parameters:
[in]channel_idxindex of the channel written to
[in]valueraw sample value in physical units

Definition at line 140 of file Writer.h.

References gdf::RecordBuffer::addSampleRaw().

        {
            m_recbuf.addSampleRaw<T>( channel_idx, value );
        }

Here is the call graph for this function:


Generated by  Doxygen 1.6.0   Back to index