mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-11-19 08:35:16 +00:00
Adding documentation and improving code formatting.
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@103 64b25241-fba3-4117-9849-534c7e92360d
This commit is contained in:
@@ -1,11 +1,10 @@
|
||||
/*!
|
||||
* \file file_signal_source.cc
|
||||
* \brief Brief description of the file here
|
||||
* \brief Implementation of a class that reads signals samples from a file
|
||||
* and adapts it to a SignalSourceInterface
|
||||
* \author Carlos Aviles, 2010. carlos.avilesr(at)googlemail.com
|
||||
* Javier Arribas, 2011 jarribas(at)cttc.es
|
||||
*
|
||||
* Detailed description of the file here if needed.
|
||||
*
|
||||
* -------------------------------------------------------------------------
|
||||
*
|
||||
* Copyright (C) 2010-2011 (see AUTHORS file for a list of contributors)
|
||||
@@ -32,10 +31,8 @@
|
||||
*/
|
||||
|
||||
#include "file_signal_source.h"
|
||||
|
||||
#include "gnss_sdr_valve.h"
|
||||
#include "configuration_interface.h"
|
||||
|
||||
#include <string>
|
||||
#include <iostream>
|
||||
#include <fstream>
|
||||
@@ -43,7 +40,6 @@
|
||||
#include <gflags/gflags.h>
|
||||
#include <glog/log_severity.h>
|
||||
#include <glog/logging.h>
|
||||
|
||||
#include <gnuradio/gr_io_signature.h>
|
||||
|
||||
using google::LogMessage;
|
||||
@@ -106,7 +102,7 @@ FileSignalSource::FileSignalSource(ConfigurationInterface* configuration,
|
||||
{
|
||||
/*!
|
||||
* BUG workaround: The GNURadio file source does not stop the receiver after reaching the End of File.
|
||||
* A possible solution is to compute the file lenght in samples using file size, excluding the last 100 milliseconds, and enable always the
|
||||
* A possible solution is to compute the file length in samples using file size, excluding the last 100 milliseconds, and enable always the
|
||||
* valve block
|
||||
*/
|
||||
std::ifstream file (filename_.c_str(), std::ios::in|std::ios::binary|std::ios::ate);
|
||||
|
||||
@@ -1,10 +1,11 @@
|
||||
/*!
|
||||
* \file file_signal_source.h
|
||||
* \brief This class reads signals samples from a file
|
||||
* \brief Interface of a class that reads signals samples from a file
|
||||
* and adapts it to a SignalSourceInterface
|
||||
* \author Carlos Aviles, 2010. carlos.avilesr(at)googlemail.com
|
||||
*
|
||||
* This class represents a file signal source. Internally it uses a GNU Radio's gr_file_source
|
||||
* a a connector to the data.
|
||||
* This class represents a file signal source. Internally it uses a GNU Radio's
|
||||
* gr_file_source as a connector to the data.
|
||||
*
|
||||
* -------------------------------------------------------------------------
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user