ldas-tools-frameAPI
3.0.3
|
#include <rdsresample.hh>
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 () |
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 () |
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 () |
void | ProcessRequest (stream_type Output) |
void | ProcessRequest (stream_type Output) |
void | ProcessRequest (stream_type Output) |
void | ProcessRequest (stream_type Output) |
void | ProcessRequest (stream_type Output) |
void | ProcessRequest (stream_type Output) |
void | ProcessRequest (stream_type Output) |
void | ProcessRequest (stream_type Output) |
void | ProcessRequest (stream_type Output) |
Static Public Member Functions | |
static resample_container_type | Resample (const channel_container_type &Channels, const std::vector< INT_2U > &Resampling) |
static resample_container_type | Resample (const channel_container_type &Channels, const std::vector< INT_2U > &Resampling) |
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 |
virtual void | processChannel (fr_adc_data_type Adc) |
virtual void | processChannel (fr_proc_data_type Proc) |
virtual stop_request_type | stopRequest () const |
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 , STOP_DATA , STOP_USER , STOP_DATA , STOP_USER } |
enum | stop_request_type { STOP_DATA , STOP_USER , STOP_DATA , STOP_USER , STOP_DATA , STOP_USER } |
enum | stop_request_type { STOP_DATA , STOP_USER , STOP_DATA , STOP_USER , STOP_DATA , STOP_USER } |
typedef ::FrameAPI::RDS::Options | Options |
typedef ::FrameAPI::RDS::Options | Options |
typedef ::FrameAPI::RDS::Options | Options |
typedef boost::shared_ptr< RDSStream > | stream_type |
typedef boost::shared_ptr< RDSStream > | stream_type |
typedef boost::shared_ptr< RDSStream > | stream_type |
typedef LDASTools::AL::GPSTime | time_type |
typedef LDASTools::AL::GPSTime | time_type |
typedef LDASTools::AL::GPSTime | time_type |
typedef boost::shared_ptr< FrameCPP::FrameH > | frame_h_type |
typedef boost::shared_ptr< FrameCPP::FrameH > | frame_h_type |
typedef boost::shared_ptr< FrameCPP::FrameH > | frame_h_type |
typedef boost::shared_ptr< FrameCPP::FrAdcData > | fr_adc_data_type |
typedef boost::shared_ptr< FrameCPP::FrAdcData > | fr_adc_data_type |
typedef boost::shared_ptr< FrameCPP::FrAdcData > | fr_adc_data_type |
typedef boost::shared_ptr< FrameCPP::FrProcData > | fr_proc_data_type |
typedef boost::shared_ptr< FrameCPP::FrProcData > | fr_proc_data_type |
typedef boost::shared_ptr< FrameCPP::FrProcData > | fr_proc_data_type |
typedef std::vector< std::string >::const_iterator | stringv_const_iterator |
typedef std::vector< std::string >::const_iterator | stringv_const_iterator |
typedef std::vector< std::string >::const_iterator | stringv_const_iterator |
Private Member Functions | |
virtual void | createHistory () |
void | initResampleFactor () |
return: const char* resample - A list of resample factors. More... | |
void | adjustChannelData () |
void | adjustResultChannel (const std::string &name, const Filters::ResampleBase *state) |
virtual void | rangeOptimizer (const time_type &UserStart, const time_type &UserStop, time_type &DataStart, time_type &DataStop) const |
virtual void | writeFrameToStream () |
virtual void | createHistory () |
void | initResampleFactor () |
void | adjustChannelData () |
void | adjustResultChannel (const std::string &name, const Filters::ResampleBase *state) |
virtual void | rangeOptimizer (const time_type &UserStart, const time_type &UserStop, time_type &DataStart, time_type &DataStop) const |
virtual void | writeFrameToStream () |
virtual void | createHistory () |
void | initResampleFactor () |
void | adjustChannelData () |
void | adjustResultChannel (const std::string &name, const Filters::ResampleBase *state) |
virtual void | rangeOptimizer (const time_type &UserStart, const time_type &UserStop, time_type &DataStart, time_type &DataStop) const |
virtual void | writeFrameToStream () |
INT_4U | GetNumberOfChannels () const |
INT_4U | GetNumberOfChannels () const |
INT_4U | GetNumberOfChannels () const |
INT_4U | GetNumberOfFrameGroups () const |
INT_4U | GetNumberOfFrameGroups () const |
INT_4U | GetNumberOfFrameGroups () const |
INT_4U | GetNumberOfFrameFiles () const |
INT_4U | GetNumberOfFrameFiles () const |
INT_4U | GetNumberOfFrameFiles () const |
void | ProcessRequest (stream_type Output) |
void | postProcessFrame (LDASTools::AL::GPSTime const &DataStart, REAL_8 DataDt) |
void | postProcessFrame (LDASTools::AL::GPSTime const &DataStart, REAL_8 DataDt) |
void | postProcessFrame (LDASTools::AL::GPSTime const &DataStart, REAL_8 DataDt) |
void | processAnalysisReady (stream_type Output) |
void | processAnalysisReady (stream_type Output) |
void | processAnalysisReady (stream_type Output) |
void | processSimple (stream_type Output) |
void | processSimple (stream_type Output) |
void | processSimple (stream_type Output) |
template<typename Functor > | |
void | foreachChannel (Functor &Func) const |
template<typename Functor > | |
void | foreachChannel (Functor &Func) const |
template<typename Functor > | |
void | foreachChannel (Functor &Func) const |
FrameCPP::FrameH::procData_type * | getResultProcData () |
FrameCPP::FrameH::procData_type * | getResultProcData () |
FrameCPP::FrameH::procData_type * | getResultProcData () |
const channel_name_type & | getChannelName (INT_4U Offset) const |
const channel_name_type & | getChannelName (INT_4U Offset) const |
const channel_name_type & | getChannelName (INT_4U Offset) const |
const std::string & | getInputChannelName (INT_4U Offset) const |
const std::string & | getInputChannelName (INT_4U Offset) const |
const std::string & | getInputChannelName (INT_4U Offset) const |
const std::string & | getOutputChannelName (INT_4U Offset) const |
const std::string & | getOutputChannelName (INT_4U Offset) const |
const std::string & | getOutputChannelName (INT_4U Offset) const |
void | init (const frame_file_container_type &FrameFiles, const channel_container_type &Channels) |
void | init (const frame_file_container_type &FrameFiles, const channel_container_type &Channels) |
void | init (const frame_file_container_type &FrameFiles, const channel_container_type &Channels) |
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 FrameCPP::FrProcData * | getProcChannel (const std::string &name, FrameCPP::FrameH::procData_type *const proc) |
static FrameCPP::FrProcData * | getProcChannel (const std::string &name, FrameCPP::FrameH::procData_type *const proc) |
static const std::string & | getHistoryName () |
static const std::string & | getHistoryName () |
static const std::string & | getHistoryName () |
Private Attributes | |
std::string | mResampleRecord |
resample_container_type | resampling |
Information regarding resampling for each channel. More... | |
REAL_8 | mCurrentDt |
frame_h_type | mCurrentFrame |
bool | m_should_write |
INT_4U | m_remaining_to_write_to_file |
Number of files that remain to be written to the file. More... | |
Options | m_options |
frame_h_type | mResultFrame |
boost::shared_ptr< RDSStream > | m_stream |
std::string | m_ifo_list |
private_type * | m_p |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
inherited |
|
inherited |
|
inherited |
typedef std::vector< resample_type > ResampleRawFrame::resample_arg_container_type |
typedef std::vector< resample_type > ResampleRawFrame::resample_arg_container_type |
typedef std::vector< resample_type > ResampleRawFrame::resample_arg_container_type |
typedef LDASTools::AL::unordered_map< std::string, std::pair< INT_2U, boost::shared_ptr< Filters::ResampleBase > > > ResampleRawFrame::resample_container_type |
typedef LDASTools::AL::unordered_map< std::string, std::pair< INT_2U, boost::shared_ptr< Filters::ResampleBase > > > ResampleRawFrame::resample_container_type |
typedef LDASTools::AL::unordered_map< std::string, std::pair< INT_2U, boost::shared_ptr< Filters::ResampleBase > > > ResampleRawFrame::resample_container_type |
typedef INT_2U ResampleRawFrame::resample_type |
typedef INT_2U ResampleRawFrame::resample_type |
typedef INT_2U ResampleRawFrame::resample_type |
|
inherited |
|
inherited |
|
inherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
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 |
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 |
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 |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
privatevirtual |
Reimplemented from RDSFrame.
|
privatevirtual |
Reimplemented from RDSFrame.
|
privatevirtual |
Reimplemented from RDSFrame.
|
inlineprotectedinherited |
|
inlineprotectedinherited |
|
inlineprotectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
staticprotectedinherited |
|
staticprotectedinherited |
|
staticprotectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
staticprotectedinherited |
return: FrameCPP::FrProcData* - A pointer to the channel object.
param: const std::string& name - Channel name. param: const FrameCPP::FrameH::procData_type* proc - A pointer to the exc: Channel not found: name. - Specified channel is not found.
|
staticprotectedinherited |
|
staticprotectedinherited |
|
inlineprotectedinherited |
|
protectedinherited |
|
protectedinherited |
|
privateinherited |
|
privateinherited |
|
privateinherited |
|
private |
return: const char* resample - A list of resample factors.
|
private |
|
private |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedvirtual |
Implements RDSFrame.
|
protectedvirtual |
Implements RDSFrame.
|
protectedvirtual |
Implements RDSFrame.
|
protectedvirtual |
Implements RDSFrame.
|
protectedvirtual |
Implements RDSFrame.
|
protectedvirtual |
Implements RDSFrame.
|
inherited |
void RDSFrame::ProcessRequest |
void RDSFrame::ProcessRequest |
void RDSFrame::ProcessRequest |
void RDSFrame::ProcessRequest |
void RDSFrame::ProcessRequest |
void RDSFrame::ProcessRequest |
void RDSFrame::ProcessRequest |
void RDSFrame::ProcessRequest |
void RDSFrame::ProcessRequest |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
privatevirtual |
Implements RDSFrame.
|
privatevirtual |
Implements RDSFrame.
|
privatevirtual |
Implements RDSFrame.
|
static |
|
static |
|
static |
|
protectedvirtual |
Implements RDSFrame.
|
protectedvirtual |
Implements RDSFrame.
|
protectedvirtual |
Implements RDSFrame.
|
privatevirtual |
Reimplemented from RDSFrame.
|
privatevirtual |
Reimplemented from RDSFrame.
|
privatevirtual |
Reimplemented from RDSFrame.
|
privateinherited |
|
protectedinherited |
|
privateinherited |
|
private |
Number of files that remain to be written to the file.
|
private |
|
protectedinherited |
|
private |
|
private |
|
private |
|
protectedinherited |
|
private |
Information regarding resampling for each channel.