ldas-tools-framecpp 3.0.4
Loading...
Searching...
No Matches
FrChan.cc File Reference
#include <framecpp_config.h>
#include <cstdlib>
#include <boost/shared_ptr.hpp>
#include "framecpp/Dimension.hh"
#include "framecpp/FrTOC.hh"
#include "framecpp/FrAdcData.hh"
#include "framecpp/FrProcData.hh"
#include "framecpp/FrSerData.hh"
#include "framecpp/FrSimData.hh"
#include "framecpp/FrSimEvent.hh"
#include "framecpp/FrVect.hh"
#include "framecppc/FrChan.h"
#include "framecppc/FrVect.h"
#include "FrameCInternal.hh"
#include "StreamInternal.hh"
#include "FrChanInternal.hh"
Include dependency graph for FrChan.cc:

Namespaces

namespace  anonymous_namespace{FrChan.cc}
namespace  FrameC
 Routines related to implementing the C interface.

Typedefs

typedef FrameC::FrChannel::vector_type vector_type
typedef FrameC::FrChannel::const_vector_type const_vector_type
typedef int promoted_fr_chan_data_valid_t
typedef int promoted_fr_chan_channel_group_t
typedef int promoted_fr_chan_channel_number_t

Functions

template<>
pointer_type FrameC::PointerType (FrChannel *Value)
fr_chan_tFrameCFrChanAlloc (FrameCError **Error, const char *Name, fr_chan_type Type, fr_vect_data_types_t DataType, fr_vect_ndata_t NData)
fr_chan_tFrameCFrProcChanAlloc (FrameCError **Error, const char *Name, fr_proc_type Type, fr_proc_sub_type SubType, fr_vect_data_types_t DataType, fr_vect_ndata_t NData)
fr_chan_tFrameCFrProcMimeChanAlloc (FrameCError **Error, const char *Name, const char *MimeTypeName, fr_vect_ndata_t NData, fr_vect_data_t MimeData)
 Alloc an fr_chan_t.
void FrameCFrChanFree (FrameCError **Error, fr_chan_t *Channel)
 Recyle the fr_chan_t structure.
void FrameCFrChanQuery (FrameCError **Error, const fr_chan_t *Channel, int Option,...)
 Retrieve information related to the Channel.
fr_chan_tFrameCFrChanRead (FrameCError **Error, fr_file_t *restrict Stream, fr_chan_name_t restrict Name, fr_chan_offset_t Pos)
 Read a channel from the stream.
void FrameCFrChanSet (FrameCError **Error, const fr_chan_t *Channel, int Option,...)
 Establish information about the Channel.
void FrameCFrChanVectorAlloc (FrameCError **Error, fr_chan_t *Channel, fr_vect_data_types_t DataType, fr_vect_ndata_t NData)
 Allocate new space for an FrVect.
void FrameCFrChanVectorCompress (FrameCError **Error, fr_chan_t *Channel, fr_vect_compression_schemes Scheme)
void FrameCFrChanVectorExpand (FrameCError **Error, fr_chan_t *Channel)
 Expand the data located in the data vector.
void FrameCFrChanVectorQuery (FrameCError **Error, const fr_chan_t *Channel, int Option,...)
 Retrieve vector information related to the Channel.
void FrameCFrChanVectorSet (FrameCError **Error, fr_chan_t *Channel, int Option,...)
 Set vector information related to the Channel.
void Set (FrameCError **Error)

Typedef Documentation

◆ const_vector_type

◆ promoted_fr_chan_channel_group_t

◆ promoted_fr_chan_channel_number_t

◆ promoted_fr_chan_data_valid_t

◆ vector_type

Function Documentation

◆ FrameCFrChanAlloc()

fr_chan_t * FrameCFrChanAlloc ( FrameCError ** Error,
const char * Name,
fr_chan_type Type,
fr_vect_data_types_t DataType,
fr_vect_ndata_t NData )
Todo
Currently the DataType and NData fields are not being used. Either they need to be eliminated or used to create an appropriate FrVect for data storage.

◆ FrameCFrChanVectorCompress()

void FrameCFrChanVectorCompress ( FrameCError ** Error,
fr_chan_t * Channel,
fr_vect_compression_schemes Scheme )

Expand the data located in the data vector.

◆ FrameCFrProcChanAlloc()

fr_chan_t * FrameCFrProcChanAlloc ( FrameCError ** Error,
const char * Name,
fr_proc_type Type,
fr_proc_sub_type SubType,
fr_vect_data_types_t DataType,
fr_vect_ndata_t NData )
Todo
Currently the DataType and NData fields are not being used. Either they need to be eliminated or used to create an appropriate FrVect for data storage.

◆ Set()

void FrameC::Set ( FrameCError ** Error)
inline