ldas-tools-frameAPI  2.5.1
Public Member Functions | Protected Member Functions | Private Types | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
ReduceRawFrame Class Reference

#include <rdsreduce.hh>

Inheritance diagram for ReduceRawFrame:
RDSFrame

Public Member Functions

 ReduceRawFrame (const char *frame_files, const char *channels, const RDSFrame::Options &UserOptions)
 Constructor. More...
 
 ReduceRawFrame (const frame_file_container_type &frame_files, const channel_container_type &channels, const RDSFrame::Options &UserOptions)
 Constructor. More...
 
virtual ~ReduceRawFrame ()
 Destructor. More...
 
virtual void writeFrameToStream ()
 

Protected Member Functions

virtual void processChannel (fr_adc_data_type Adc)
 
virtual void processChannel (fr_proc_data_type Proc)
 
virtual void rangeOptimizer (const time_type &UserStart, const time_type &UserStop, time_type &DataStart, time_type &DataStop) const
 
virtual stop_request_type stopRequest () const
 

Private Types

enum  stop_request_type { STOP_DATA, STOP_USER }
 
typedef std::vector< std::string > frame_file_container_type
 
typedef std::vector< std::string > channel_container_type
 
typedef ::FrameAPI::RDS::Options Options
 
typedef LDASTools::AL::SharedPtr< RDSStreamstream_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 ()
 
virtual void createHistory ()
 
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< RDSStreamm_stream
 

Constructor & Destructor Documentation

◆ ReduceRawFrame() [1/2]

ReduceRawFrame::ReduceRawFrame ( const char *  frame_files,
const char *  channels,
const RDSFrame::Options UserOptions 
)

Constructor.

Parameters
[in]frame_filesA list of frame file names.
[in]channelsA list of channels to extract from original frames (only channel names are allowed).
[in]UserOptionsUser specified options.
Returns
New instance of this object.

◆ ReduceRawFrame() [2/2]

ReduceRawFrame::ReduceRawFrame ( const frame_file_container_type frame_files,
const channel_container_type channels,
const RDSFrame::Options UserOptions 
)

Constructor.

Parameters
[in]frame_filesA list of frame file names.
[in]channelsA list of channels to extract from original frames (only channel names are allowed).
[in]UserOptionsUser specified options.
Returns
New instance of this object.

◆ ~ReduceRawFrame()

ReduceRawFrame::~ReduceRawFrame ( )
virtual

Destructor.

Member Function Documentation

◆ processChannel() [1/2]

void ReduceRawFrame::processChannel ( fr_adc_data_type  Adc)
protectedvirtual

Implements RDSFrame.

◆ processChannel() [2/2]

void ReduceRawFrame::processChannel ( fr_proc_data_type  Proc)
protectedvirtual

Implements RDSFrame.

◆ rangeOptimizer()

void ReduceRawFrame::rangeOptimizer ( const time_type UserStart,
const time_type UserStop,
time_type DataStart,
time_type DataStop 
) const
protectedvirtual

Implements RDSFrame.

◆ stopRequest()

ReduceRawFrame::stop_request_type ReduceRawFrame::stopRequest ( ) const
protectedvirtual

Implements RDSFrame.

◆ writeFrameToStream()

void ReduceRawFrame::writeFrameToStream ( )
virtual

Reimplemented from RDSFrame.


The documentation for this class was generated from the following files: