ldas-tools-frameAPI  3.0.3
Public Member Functions | Private Attributes | List of all members
FrameAPI::channel_name_file_type< ChannelFunctor_Type > Struct Template Reference

Read channels from an input source. More...

#include <createRDS.hh>

Public Member Functions

 channel_name_file_type (ChannelFunctor_Type &ChannelProcessor)
 
void Read (std::istream &ChannelStream)
 Read channels from a stream. More...
 
void Read (boost::filesystem::path const &Filename)
 Read channels from file. More...
 
void Read (std::string const &Filename)
 
 channel_name_file_type (ChannelFunctor_Type &ChannelProcessor)
 
void Read (std::istream &ChannelStream)
 Read channels from a stream. More...
 
void Read (boost::filesystem::path const &Filename)
 Read channels from file. More...
 
void Read (std::string const &Filename)
 
 channel_name_file_type (ChannelFunctor_Type &ChannelProcessor)
 
void Read (std::istream &ChannelStream)
 Read channels from a stream. More...
 
void Read (boost::filesystem::path const &Filename)
 Read channels from file. More...
 
void Read (std::string const &Filename)
 

Private Attributes

ChannelFunctor_Type & processor
 

Detailed Description

template<typename ChannelFunctor_Type>
struct FrameAPI::channel_name_file_type< ChannelFunctor_Type >

Read channels from an input source.

# Original syntax
# <channel_name>[ <resampling>[ <new_channel_name>]]
H1:CHANNEL_1
H1:CHANNEL_2 4
H1:CHANNEL_3 4 H1:CHANNEL_3_AR
# New syntax
# <channel_name>[!<resampling>[=<new_channel_name>]]
H1:CHANNEL_4!16
H1:CHANNEL_5!4=H1:CHANNEL_5_AR

Constructor & Destructor Documentation

◆ channel_name_file_type() [1/3]

template<typename ChannelFunctor_Type >
FrameAPI::channel_name_file_type< ChannelFunctor_Type >::channel_name_file_type ( ChannelFunctor_Type &  ChannelProcessor)
inline

◆ channel_name_file_type() [2/3]

template<typename ChannelFunctor_Type >
FrameAPI::channel_name_file_type< ChannelFunctor_Type >::channel_name_file_type ( ChannelFunctor_Type &  ChannelProcessor)
inline

◆ channel_name_file_type() [3/3]

template<typename ChannelFunctor_Type >
FrameAPI::channel_name_file_type< ChannelFunctor_Type >::channel_name_file_type ( ChannelFunctor_Type &  ChannelProcessor)
inline

Member Function Documentation

◆ Read() [1/9]

template<typename ChannelFunctor_Type >
void FrameAPI::channel_name_file_type< ChannelFunctor_Type >::Read ( boost::filesystem::path const &  Filename)
inline

Read channels from file.

Parameters
[in]FilenameName of file containing channel names

◆ Read() [2/9]

template<typename ChannelFunctor_Type >
void FrameAPI::channel_name_file_type< ChannelFunctor_Type >::Read ( boost::filesystem::path const &  Filename)
inline

Read channels from file.

Parameters
[in]FilenameName of file containing channel names

◆ Read() [3/9]

template<typename ChannelFunctor_Type >
void FrameAPI::channel_name_file_type< ChannelFunctor_Type >::Read ( boost::filesystem::path const &  Filename)
inline

Read channels from file.

Parameters
[in]FilenameName of file containing channel names

◆ Read() [4/9]

template<typename ChannelFunctor_Type >
void FrameAPI::channel_name_file_type< ChannelFunctor_Type >::Read ( std::istream &  ChannelStream)
inline

Read channels from a stream.

Parameters
[in]ChannelStreamInput stream containing channel namesm

◆ Read() [5/9]

template<typename ChannelFunctor_Type >
void FrameAPI::channel_name_file_type< ChannelFunctor_Type >::Read ( std::istream &  ChannelStream)
inline

Read channels from a stream.

Parameters
[in]ChannelStreamInput stream containing channel namesm

◆ Read() [6/9]

template<typename ChannelFunctor_Type >
void FrameAPI::channel_name_file_type< ChannelFunctor_Type >::Read ( std::istream &  ChannelStream)
inline

Read channels from a stream.

Parameters
[in]ChannelStreamInput stream containing channel namesm

◆ Read() [7/9]

template<typename ChannelFunctor_Type >
void FrameAPI::channel_name_file_type< ChannelFunctor_Type >::Read ( std::string const &  Filename)
inline

◆ Read() [8/9]

template<typename ChannelFunctor_Type >
void FrameAPI::channel_name_file_type< ChannelFunctor_Type >::Read ( std::string const &  Filename)
inline

◆ Read() [9/9]

template<typename ChannelFunctor_Type >
void FrameAPI::channel_name_file_type< ChannelFunctor_Type >::Read ( std::string const &  Filename)
inline

Member Data Documentation

◆ processor

template<typename ChannelFunctor_Type >
ChannelFunctor_Type & FrameAPI::channel_name_file_type< ChannelFunctor_Type >::processor
private

The documentation for this struct was generated from the following file: