ldas-tools-frameAPI
2.5.1
|
Base functional to create RDS frames. More...
#include <rdsframe.hh>
Public Types | |
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< RDSStream > | stream_type |
Public Member Functions | |
RDSFrame (const char *frame_files, const char *channels, const Options &CommandOptions) | |
Constructor. More... | |
RDSFrame (const frame_file_container_type &frame_files, const channel_container_type &channels, const Options &CommandOptions) | |
Constructor. More... | |
virtual | ~RDSFrame () |
INT_4U | GetNumberOfChannels () const |
INT_4U | GetNumberOfFrameGroups () const |
INT_4U | GetNumberOfFrameFiles () const |
void | ProcessRequest (stream_type Output) |
Protected Types | |
enum | stop_request_type { STOP_DATA, STOP_USER } |
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 |
Protected Member Functions | |
RDSFrame (const Options &CommandOptions) | |
virtual stop_request_type | stopRequest () const =0 |
virtual void | processChannel (fr_adc_data_type Adc)=0 |
virtual void | processChannel (fr_proc_data_type Proc)=0 |
virtual void | rangeOptimizer (const time_type &UserStart, const time_type &UserStop, time_type &DataStart, time_type &DataStop) const =0 |
virtual void | writeFrameToStream () |
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 Protected 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 () |
Protected Attributes | |
Options | m_options |
frame_h_type | mResultFrame |
LDASTools::AL::SharedPtr< RDSStream > | m_stream |
Base functional to create RDS frames.
typedef std::vector< std::string > RDSFrame::channel_container_type |
|
protected |
|
protected |
typedef std::vector< std::string > RDSFrame::frame_file_container_type |
|
protected |
typedef ::FrameAPI::RDS::Options RDSFrame::Options |
typedef LDASTools::AL::SharedPtr< RDSStream > RDSFrame::stream_type |
|
protected |
|
protected |
|
protected |
RDSFrame::RDSFrame | ( | const char * | frame_files, |
const char * | channels, | ||
const Options & | CommandOptions | ||
) |
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] | CommandOptions | Collection of flags used to direct the construction of the Reduced Data Set results. |
RDSFrame::RDSFrame | ( | const frame_file_container_type & | frame_files, |
const channel_container_type & | channels, | ||
const Options & | CommandOptions | ||
) |
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] | CommandOptions | Collection of flags used to direct the construction of the Reduced Data Set results. |
|
virtual |
|
protected |
|
protectedvirtual |
|
inlineprotected |
|
protected |
|
staticprotected |
INT_4U RDSFrame::GetNumberOfChannels | ( | ) | const |
INT_4U RDSFrame::GetNumberOfFrameFiles | ( | ) | const |
INT_4U RDSFrame::GetNumberOfFrameGroups | ( | ) | const |
|
staticprotected |
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 theexc: Channel not found: name. - Specified channel is not found.
|
inlineprotected |
|
protectedpure virtual |
Implemented in ResampleRawFrame, and ReduceRawFrame.
|
protectedpure virtual |
Implemented in ResampleRawFrame, and ReduceRawFrame.
void RDSFrame::ProcessRequest | ( | stream_type | Output | ) |
|
protectedpure virtual |
Implemented in ReduceRawFrame.
|
protectedpure virtual |
Implemented in ResampleRawFrame, and ReduceRawFrame.
|
protectedvirtual |
Reimplemented in ReduceRawFrame.
|
protected |
|
protected |
|
protected |