ldas-tools-frameAPI
2.5.1
|
#include <rdsresample.hh>
Public Types | |
typedef INT_2U | resample_type |
typedef RDSFrame::frame_file_container_type | frame_file_container_type |
typedef RDSFrame::channel_container_type | channel_container_type |
typedef std::vector< resample_type > | resample_arg_container_type |
typedef LDASTools::AL::unordered_map< std::string, std::pair< INT_2U, LDASTools::AL::SharedPtr< Filters::ResampleBase > > > | resample_container_type |
Public Member Functions | |
ResampleRawFrame (const char *frame_files, const char *channels, const char *Resampling, const RDSFrame::Options &UserOptions) | |
Constructor. More... | |
ResampleRawFrame (const frame_file_container_type &frame_files, const channel_container_type &channels, const resample_container_type &Resampling, const RDSFrame::Options &UserOptions) | |
Constructor. More... | |
virtual | ~ResampleRawFrame () |
Static Public Member Functions | |
static resample_container_type | Resample (const channel_container_type &Channels, const std::vector< INT_2U > &Resampling) |
Protected Member Functions | |
virtual void | processChannel (fr_adc_data_type Adc) |
virtual void | processChannel (fr_proc_data_type Proc) |
virtual stop_request_type | stopRequest () const |
Private Types | |
enum | stop_request_type { STOP_DATA, STOP_USER } |
typedef ::FrameAPI::RDS::Options | Options |
typedef LDASTools::AL::SharedPtr< RDSStream > | stream_type |
typedef LDASTools::AL::GPSTime | time_type |
typedef LDASTools::AL::SharedPtr< FrameCPP::FrameH > | frame_h_type |
typedef LDASTools::AL::SharedPtr< FrameCPP::FrAdcData > | fr_adc_data_type |
typedef LDASTools::AL::SharedPtr< FrameCPP::FrProcData > | fr_proc_data_type |
typedef std::vector< std::string >::const_iterator | stringv_const_iterator |
Private Member Functions | |
INT_4U | GetNumberOfChannels () const |
INT_4U | GetNumberOfFrameGroups () const |
INT_4U | GetNumberOfFrameFiles () const |
void | ProcessRequest (stream_type Output) |
template<typename Functor > | |
void | foreachChannel (Functor &Func) const |
FrameCPP::FrameH::procData_type * | getResultProcData () |
const std::string & | getChannelName (INT_4U Offset) const |
Static Private Member Functions | |
static FrameCPP::FrProcData * | getProcChannel (const std::string &name, FrameCPP::FrameH::procData_type *const proc) |
return: FrameCPP::FrProcData* - A pointer to the channel object. More... | |
static const std::string & | getHistoryName () |
Private Attributes | |
Options | m_options |
frame_h_type | mResultFrame |
LDASTools::AL::SharedPtr< RDSStream > | m_stream |
typedef std::vector< resample_type > ResampleRawFrame::resample_arg_container_type |
typedef LDASTools::AL::unordered_map< std::string, std::pair< INT_2U, LDASTools::AL::SharedPtr< Filters::ResampleBase > > > ResampleRawFrame::resample_container_type |
typedef INT_2U ResampleRawFrame::resample_type |
ResampleRawFrame::ResampleRawFrame | ( | const char * | frame_files, |
const char * | channels, | ||
const char * | Resampling, | ||
const RDSFrame::Options & | UserOptions | ||
) |
Constructor.
[in] | frame_files | A list of frame file names. |
[in] | channels | A list of channels to extract from original frames (only channel names are allowed). |
[in] | Resampling | A list of resampling values which corrisponds to the channels. |
[in] | UserOptions | User specified options. |
ResampleRawFrame::ResampleRawFrame | ( | const frame_file_container_type & | frame_files, |
const channel_container_type & | channels, | ||
const resample_container_type & | Resampling, | ||
const RDSFrame::Options & | UserOptions | ||
) |
Constructor.
[in] | frame_files | A list of frame file names. |
[in] | channels | A list of channels to extract from original frames (only channel names are allowed). |
[in] | Resampling | A list of resampling values which corrisponds to the channels. |
[in] | UserOptions | User specified options. |
|
virtual |
|
protectedvirtual |
Implements RDSFrame.
|
protectedvirtual |
Implements RDSFrame.
|
static |
|
protectedvirtual |
Implements RDSFrame.