ldas-tools-frameAPI  2.6.4
Classes | Public Types | Public Member Functions | Protected Types | Protected Member Functions | Static Protected Member Functions | Protected Attributes | Private Member Functions | Private Attributes | List of all members
RDSFrame Class Referenceabstract

Base functional to create RDS frames. More...

#include <rdsframe.hh>

Inheritance diagram for RDSFrame:
Inheritance graph
[legend]
Collaboration diagram for RDSFrame:
Collaboration graph
[legend]

Classes

class  private_type
 

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 boost::shared_ptr< RDSStreamstream_type
 
typedef std::vector< std::string > frame_file_container_type
 
typedef std::vector< std::string > channel_container_type
 
typedef ::FrameAPI::RDS::Options Options
 
typedef boost::shared_ptr< RDSStreamstream_type
 
typedef std::vector< std::string > frame_file_container_type
 
typedef std::vector< std::string > channel_container_type
 
typedef ::FrameAPI::RDS::Options Options
 
typedef boost::shared_ptr< RDSStreamstream_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)
 
 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)
 
 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, 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 LDASTools::AL::GPSTime time_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::FrProcData > fr_proc_data_type
 
typedef std::vector< std::string >::const_iterator stringv_const_iterator
 
typedef LDASTools::AL::GPSTime time_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::FrProcData > fr_proc_data_type
 
typedef std::vector< std::string >::const_iterator stringv_const_iterator
 
typedef LDASTools::AL::GPSTime time_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::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
 
 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
 
 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 ()
 
static FrameCPP::FrProcData * getProcChannel (const std::string &name, FrameCPP::FrameH::procData_type *const proc)
 
static const std::string & getHistoryName ()
 
static FrameCPP::FrProcData * getProcChannel (const std::string &name, FrameCPP::FrameH::procData_type *const proc)
 
static const std::string & getHistoryName ()
 

Protected Attributes

Options m_options
 
frame_h_type mResultFrame
 
boost::shared_ptr< RDSStreamm_stream
 

Private Member Functions

 RDSFrame ()
 
 RDSFrame (const RDSFrame &)
 
RDSFrameoperator= (const RDSFrame &)
 
void init (const frame_file_container_type &FrameFiles, const channel_container_type &Channels)
 
 RDSFrame ()
 
 RDSFrame (const RDSFrame &)
 
RDSFrameoperator= (const RDSFrame &)
 
void init (const frame_file_container_type &FrameFiles, const channel_container_type &Channels)
 
 RDSFrame ()
 
 RDSFrame (const RDSFrame &)
 
RDSFrameoperator= (const RDSFrame &)
 
void init (const frame_file_container_type &FrameFiles, const channel_container_type &Channels)
 

Private Attributes

std::string m_ifo_list
 
private_typem_p
 

Detailed Description

Base functional to create RDS frames.

Member Typedef Documentation

◆ channel_container_type [1/3]

typedef std::vector< std::string > RDSFrame::channel_container_type

◆ channel_container_type [2/3]

typedef std::vector< std::string > RDSFrame::channel_container_type

◆ channel_container_type [3/3]

typedef std::vector< std::string > RDSFrame::channel_container_type

◆ fr_adc_data_type [1/3]

typedef boost::shared_ptr< FrameCPP::FrAdcData > RDSFrame::fr_adc_data_type
protected

◆ fr_adc_data_type [2/3]

typedef boost::shared_ptr< FrameCPP::FrAdcData > RDSFrame::fr_adc_data_type
protected

◆ fr_adc_data_type [3/3]

typedef boost::shared_ptr< FrameCPP::FrAdcData > RDSFrame::fr_adc_data_type
protected

◆ fr_proc_data_type [1/3]

typedef boost::shared_ptr< FrameCPP::FrProcData > RDSFrame::fr_proc_data_type
protected

◆ fr_proc_data_type [2/3]

typedef boost::shared_ptr< FrameCPP::FrProcData > RDSFrame::fr_proc_data_type
protected

◆ fr_proc_data_type [3/3]

typedef boost::shared_ptr< FrameCPP::FrProcData > RDSFrame::fr_proc_data_type
protected

◆ frame_file_container_type [1/3]

typedef std::vector< std::string > RDSFrame::frame_file_container_type

◆ frame_file_container_type [2/3]

typedef std::vector< std::string > RDSFrame::frame_file_container_type

◆ frame_file_container_type [3/3]

typedef std::vector< std::string > RDSFrame::frame_file_container_type

◆ frame_h_type [1/3]

typedef boost::shared_ptr< FrameCPP::FrameH > RDSFrame::frame_h_type
protected

◆ frame_h_type [2/3]

typedef boost::shared_ptr< FrameCPP::FrameH > RDSFrame::frame_h_type
protected

◆ frame_h_type [3/3]

typedef boost::shared_ptr< FrameCPP::FrameH > RDSFrame::frame_h_type
protected

◆ Options [1/3]

◆ Options [2/3]

◆ Options [3/3]

◆ stream_type [1/3]

typedef boost::shared_ptr< RDSStream > RDSFrame::stream_type

◆ stream_type [2/3]

typedef boost::shared_ptr< RDSStream > RDSFrame::stream_type

◆ stream_type [3/3]

typedef boost::shared_ptr< RDSStream > RDSFrame::stream_type

◆ stringv_const_iterator [1/3]

typedef std::vector< std::string >::const_iterator RDSFrame::stringv_const_iterator
protected

◆ stringv_const_iterator [2/3]

typedef std::vector< std::string >::const_iterator RDSFrame::stringv_const_iterator
protected

◆ stringv_const_iterator [3/3]

typedef std::vector< std::string >::const_iterator RDSFrame::stringv_const_iterator
protected

◆ time_type [1/3]

typedef LDASTools::AL::GPSTime RDSFrame::time_type
protected

◆ time_type [2/3]

typedef LDASTools::AL::GPSTime RDSFrame::time_type
protected

◆ time_type [3/3]

typedef LDASTools::AL::GPSTime RDSFrame::time_type
protected

Member Enumeration Documentation

◆ stop_request_type [1/3]

Enumerator
STOP_DATA 
STOP_USER 
STOP_DATA 
STOP_USER 
STOP_DATA 
STOP_USER 

◆ stop_request_type [2/3]

Enumerator
STOP_DATA 
STOP_USER 
STOP_DATA 
STOP_USER 
STOP_DATA 
STOP_USER 

◆ stop_request_type [3/3]

Enumerator
STOP_DATA 
STOP_USER 
STOP_DATA 
STOP_USER 
STOP_DATA 
STOP_USER 

Constructor & Destructor Documentation

◆ RDSFrame() [1/15]

RDSFrame::RDSFrame ( const char *  frame_files,
const char *  channels,
const Options CommandOptions 
)

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]CommandOptionsCollection of flags used to direct the construction of the Reduced Data Set results.

◆ RDSFrame() [2/15]

RDSFrame::RDSFrame ( const frame_file_container_type frame_files,
const channel_container_type channels,
const Options CommandOptions 
)

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]CommandOptionsCollection of flags used to direct the construction of the Reduced Data Set results.

◆ ~RDSFrame() [1/3]

RDSFrame::~RDSFrame ( )
virtual

◆ RDSFrame() [3/15]

RDSFrame::RDSFrame ( const Options CommandOptions)
protected

◆ RDSFrame() [4/15]

RDSFrame::RDSFrame ( )
private

◆ RDSFrame() [5/15]

RDSFrame::RDSFrame ( const RDSFrame )
private

◆ RDSFrame() [6/15]

RDSFrame::RDSFrame ( const char *  frame_files,
const char *  channels,
const Options CommandOptions 
)

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]CommandOptionsCollection of flags used to direct the construction of the Reduced Data Set results.

◆ RDSFrame() [7/15]

RDSFrame::RDSFrame ( const frame_file_container_type frame_files,
const channel_container_type channels,
const Options CommandOptions 
)

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]CommandOptionsCollection of flags used to direct the construction of the Reduced Data Set results.

◆ ~RDSFrame() [2/3]

virtual RDSFrame::~RDSFrame ( )
virtual

◆ RDSFrame() [8/15]

RDSFrame::RDSFrame ( const Options CommandOptions)
protected

◆ RDSFrame() [9/15]

RDSFrame::RDSFrame ( )
private

◆ RDSFrame() [10/15]

RDSFrame::RDSFrame ( const RDSFrame )
private

◆ RDSFrame() [11/15]

RDSFrame::RDSFrame ( const char *  frame_files,
const char *  channels,
const Options CommandOptions 
)

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]CommandOptionsCollection of flags used to direct the construction of the Reduced Data Set results.

◆ RDSFrame() [12/15]

RDSFrame::RDSFrame ( const frame_file_container_type frame_files,
const channel_container_type channels,
const Options CommandOptions 
)

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]CommandOptionsCollection of flags used to direct the construction of the Reduced Data Set results.

◆ ~RDSFrame() [3/3]

virtual RDSFrame::~RDSFrame ( )
virtual

◆ RDSFrame() [13/15]

RDSFrame::RDSFrame ( const Options CommandOptions)
protected

◆ RDSFrame() [14/15]

RDSFrame::RDSFrame ( )
private

◆ RDSFrame() [15/15]

RDSFrame::RDSFrame ( const RDSFrame )
private

Member Function Documentation

◆ createHistory() [1/3]

void RDSFrame::createHistory ( )
protectedvirtual

◆ createHistory() [2/3]

virtual void RDSFrame::createHistory ( )
protectedvirtual

◆ createHistory() [3/3]

virtual void RDSFrame::createHistory ( )
protectedvirtual

◆ foreachChannel() [1/3]

template<typename Functor >
void RDSFrame::foreachChannel ( Functor &  Func) const
inlineprotected

◆ foreachChannel() [2/3]

template<typename Functor >
void RDSFrame::foreachChannel ( Functor &  Func) const
inlineprotected

◆ foreachChannel() [3/3]

template<typename Functor >
void RDSFrame::foreachChannel ( Functor &  Func) const
inlineprotected

◆ getChannelName() [1/3]

const std::string& RDSFrame::getChannelName ( INT_4U  Offset) const
protected

◆ getChannelName() [2/3]

const std::string& RDSFrame::getChannelName ( INT_4U  Offset) const
protected

◆ getChannelName() [3/3]

const std::string & RDSFrame::getChannelName ( INT_4U  Offset) const
protected

◆ getHistoryName() [1/3]

static const std::string& RDSFrame::getHistoryName ( )
staticprotected

◆ getHistoryName() [2/3]

static const std::string& RDSFrame::getHistoryName ( )
staticprotected

◆ getHistoryName() [3/3]

const std::string & RDSFrame::getHistoryName ( )
staticprotected

◆ GetNumberOfChannels() [1/3]

INT_4U RDSFrame::GetNumberOfChannels ( ) const

◆ GetNumberOfChannels() [2/3]

INT_4U RDSFrame::GetNumberOfChannels ( ) const

◆ GetNumberOfChannels() [3/3]

INT_4U RDSFrame::GetNumberOfChannels ( ) const

◆ GetNumberOfFrameFiles() [1/3]

INT_4U RDSFrame::GetNumberOfFrameFiles ( ) const

◆ GetNumberOfFrameFiles() [2/3]

INT_4U RDSFrame::GetNumberOfFrameFiles ( ) const

◆ GetNumberOfFrameFiles() [3/3]

INT_4U RDSFrame::GetNumberOfFrameFiles ( ) const

◆ GetNumberOfFrameGroups() [1/3]

INT_4U RDSFrame::GetNumberOfFrameGroups ( ) const

◆ GetNumberOfFrameGroups() [2/3]

INT_4U RDSFrame::GetNumberOfFrameGroups ( ) const

◆ GetNumberOfFrameGroups() [3/3]

INT_4U RDSFrame::GetNumberOfFrameGroups ( ) const

◆ getProcChannel() [1/3]

FrameCPP::FrProcData * RDSFrame::getProcChannel ( const std::string &  name,
FrameCPP::FrameH::procData_type *const  proc 
)
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.

◆ getProcChannel() [2/3]

static FrameCPP::FrProcData* RDSFrame::getProcChannel ( const std::string &  name,
FrameCPP::FrameH::procData_type *const  proc 
)
staticprotected

◆ getProcChannel() [3/3]

static FrameCPP::FrProcData* RDSFrame::getProcChannel ( const std::string &  name,
FrameCPP::FrameH::procData_type *const  proc 
)
staticprotected

◆ getResultProcData() [1/3]

FrameCPP::FrameH::procData_type* RDSFrame::getResultProcData ( )
protected

◆ getResultProcData() [2/3]

FrameCPP::FrameH::procData_type * RDSFrame::getResultProcData ( )
inlineprotected

◆ getResultProcData() [3/3]

FrameCPP::FrameH::procData_type* RDSFrame::getResultProcData ( )
protected

◆ init() [1/3]

void RDSFrame::init ( const frame_file_container_type FrameFiles,
const channel_container_type Channels 
)
private

◆ init() [2/3]

void RDSFrame::init ( const frame_file_container_type FrameFiles,
const channel_container_type Channels 
)
private

◆ init() [3/3]

void RDSFrame::init ( const frame_file_container_type FrameFiles,
const channel_container_type Channels 
)
private

◆ operator=() [1/3]

RDSFrame& RDSFrame::operator= ( const RDSFrame )
private

◆ operator=() [2/3]

RDSFrame& RDSFrame::operator= ( const RDSFrame )
private

◆ operator=() [3/3]

RDSFrame& RDSFrame::operator= ( const RDSFrame )
private

◆ processChannel() [1/6]

virtual void RDSFrame::processChannel ( fr_adc_data_type  Adc)
protectedpure virtual

◆ processChannel() [2/6]

virtual void RDSFrame::processChannel ( fr_adc_data_type  Adc)
protectedpure virtual

◆ processChannel() [3/6]

virtual void RDSFrame::processChannel ( fr_adc_data_type  Adc)
protectedpure virtual

◆ processChannel() [4/6]

virtual void RDSFrame::processChannel ( fr_proc_data_type  Proc)
protectedpure virtual

◆ processChannel() [5/6]

virtual void RDSFrame::processChannel ( fr_proc_data_type  Proc)
protectedpure virtual

◆ processChannel() [6/6]

virtual void RDSFrame::processChannel ( fr_proc_data_type  Proc)
protectedpure virtual

◆ ProcessRequest() [1/3]

void RDSFrame::ProcessRequest ( stream_type  Output)

◆ ProcessRequest() [2/3]

void RDSFrame::ProcessRequest ( stream_type  Output)

◆ ProcessRequest() [3/3]

void RDSFrame::ProcessRequest ( stream_type  Output)

◆ rangeOptimizer() [1/3]

virtual void RDSFrame::rangeOptimizer ( const time_type UserStart,
const time_type UserStop,
time_type DataStart,
time_type DataStop 
) const
protectedpure virtual

◆ rangeOptimizer() [2/3]

virtual void RDSFrame::rangeOptimizer ( const time_type UserStart,
const time_type UserStop,
time_type DataStart,
time_type DataStop 
) const
protectedpure virtual

◆ rangeOptimizer() [3/3]

virtual void RDSFrame::rangeOptimizer ( const time_type UserStart,
const time_type UserStop,
time_type DataStart,
time_type DataStop 
) const
protectedpure virtual

◆ stopRequest() [1/3]

virtual stop_request_type RDSFrame::stopRequest ( ) const
protectedpure virtual

◆ stopRequest() [2/3]

virtual stop_request_type RDSFrame::stopRequest ( ) const
protectedpure virtual

◆ stopRequest() [3/3]

virtual stop_request_type RDSFrame::stopRequest ( ) const
protectedpure virtual

◆ writeFrameToStream() [1/3]

virtual void RDSFrame::writeFrameToStream ( )
protectedvirtual

◆ writeFrameToStream() [2/3]

void RDSFrame::writeFrameToStream ( )
protectedvirtual

◆ writeFrameToStream() [3/3]

virtual void RDSFrame::writeFrameToStream ( )
protectedvirtual

Member Data Documentation

◆ m_ifo_list

std::string RDSFrame::m_ifo_list
private

◆ m_options

Options RDSFrame::m_options
protected

◆ m_p

private_type * RDSFrame::m_p
private

◆ m_stream

boost::shared_ptr< RDSStream > RDSFrame::m_stream
protected

◆ mResultFrame

frame_h_type RDSFrame::mResultFrame
protected

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