![]() |
GNSS-SDR
0.0.19
An Open Source GNSS Software Defined Receiver
|
Class that reads signals samples from a file and adapts it to a SignalSourceInterface. More...
#include <file_timestamp_signal_source.h>
Public Member Functions | |
| FileTimestampSignalSource (const ConfigurationInterface *configuration, const std::string &role, unsigned int in_streams, unsigned int out_streams, Concurrent_Queue< pmt::pmt_t > *queue) | |
Public Member Functions inherited from FileSourceBase | |
| void | connect (gr::top_block_sptr top_block) override |
| void | disconnect (gr::top_block_sptr top_block) override |
| gr::basic_block_sptr | get_left_block () override |
| gr::basic_block_sptr | get_right_block () override |
| std::string | filename () const |
| The file to read. More... | |
| std::string | item_type () const |
| The item type. More... | |
| size_t | item_size () override |
| The configured size of each item. More... | |
| virtual size_t | item_size () const |
| bool | repeat () const |
| Whether to repeat reading after end-of-file. More... | |
| int64_t | sampling_frequency () const |
| The sampling frequency of the source file. More... | |
| uint64_t | samples () const |
| The number of samples in the file. More... | |
Public Member Functions inherited from SignalSourceBase | |
| std::string | role () final |
| std::string | implementation () final |
| size_t | getRfChannels () const override |
| gr::basic_block_sptr | get_left_block () override |
Public Member Functions inherited from GNSSBlockInterface | |
| virtual gr::basic_block_sptr | get_left_block (int RF_channel) |
| virtual gr::basic_block_sptr | get_right_block (int RF_channel) |
| virtual void | start () |
| Start the flow of samples if needed. More... | |
Protected Member Functions | |
| gnss_shared_ptr< gr::block > | source () const override |
| Abstracted front-end source. Sub-classes may override if they create specialized chains to decode source files into a usable format. More... | |
| void | create_file_source_hook () override |
| void | pre_connect_hook (gr::top_block_sptr top_block) override |
| void | pre_disconnect_hook (gr::top_block_sptr top_block) override |
Protected Member Functions inherited from FileSourceBase | |
| FileSourceBase (ConfigurationInterface const *configuration, std::string const &role, std::string impl, Concurrent_Queue< pmt::pmt_t > *queue, std::string default_item_type="short") | |
| Constructor. More... | |
| void | init () |
| Perform post-construction initialization. More... | |
| virtual std::tuple< size_t, bool > | itemTypeToSize () |
| Compute the item size, from the item_type(). Subclasses may constrain types that don't make. More... | |
| virtual double | packetsPerSample () const |
| The number of (possibly unpacked) samples in a (raw) file sample (default=1) More... | |
| virtual size_t | samplesToSkip () const |
| Compute the number of samples to skip. More... | |
| size_t | computeSamplesInFile () const |
| Compute the number of samples in the file. More... | |
| virtual size_t | source_item_size () const |
| For complex source chains, the size of the file item may not be the same as the size of the. More... | |
| bool | is_complex () const |
| gnss_shared_ptr< gr::block > | file_source () const |
| gnss_shared_ptr< gr::block > | valve () const |
| gnss_shared_ptr< gr::block > | throttle () const |
| gnss_shared_ptr< gr::block > | sink () const |
| gr::blocks::file_source::sptr | create_file_source () |
| gr::blocks::throttle::sptr | create_throttle () |
| gnss_shared_ptr< gr::block > | create_valve () |
| gr::blocks::file_sink::sptr | create_sink () |
| virtual void | create_throttle_hook () |
| virtual void | create_valve_hook () |
| virtual void | create_sink_hook () |
| virtual void | post_connect_hook (gr::top_block_sptr top_block) |
| virtual void | post_disconnect_hook (gr::top_block_sptr top_block) |
Protected Member Functions inherited from SignalSourceBase | |
| SignalSourceBase (ConfigurationInterface const *configuration, std::string role, std::string impl) | |
| Constructor. More... | |
| size_t | decode_item_type (std::string const &item_type, bool *is_interleaved=nullptr, bool throw_on_error=false) |
| utility for decoding passed ".item_type" values More... | |
Class that reads signals samples from a file and adapts it to a SignalSourceInterface.
Definition at line 37 of file file_timestamp_signal_source.h.
|
overrideprotectedvirtual |
Abstracted front-end source. Sub-classes may override if they create specialized chains to decode source files into a usable format.
Reimplemented from FileSourceBase.
1.8.14