1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2025-01-18 21:23:02 +00:00

save before checkin

This commit is contained in:
Jim Melton 2021-02-12 11:48:05 -07:00
parent 1854cec106
commit c8ecc907c9

View File

@ -66,9 +66,6 @@ public:
//! the item type //! the item type
std::string item_type() const; std::string item_type() const;
// the size of the file data
// the size of the post-processed data
//! the configured size of each item //! the configured size of each item
size_t item_size() override; size_t item_size() override;
virtual size_t item_size() const; // what the interface **should** have declared virtual size_t item_size() const; // what the interface **should** have declared
@ -90,8 +87,6 @@ protected:
FileSourceBase(ConfigurationInterface const* configuration, std::string role, std::string impl, FileSourceBase(ConfigurationInterface const* configuration, std::string role, std::string impl,
Concurrent_Queue<pmt::pmt_t>* queue); Concurrent_Queue<pmt::pmt_t>* queue);
// item type override. Rather than make a bunch of arguments to the ctor, allow sub-classes to restrict the range of acceptable item types
//! compute the item size, from the item_type(). Subclasses may constrain types that don't make //! compute the item size, from the item_type(). Subclasses may constrain types that don't make
// sense. The return of this method is a tuple of item_size and is_complex // sense. The return of this method is a tuple of item_size and is_complex
virtual std::tuple<size_t, bool> itemTypeToSize() const; virtual std::tuple<size_t, bool> itemTypeToSize() const;