ldas-tools-framecpp  2.6.5
Namespaces | Functions
FrDetector.cc File Reference
#include <framecpp_config.h>
#include <cstdlib>
#include <memory>
#include <boost/pointer_cast.hpp>
#include "framecpp/Common/FrameSpec.hh"
#include "framecpp/Common/IOStream.hh"
#include "framecpp/Detectors.hh"
#include "framecpp/GPSTime.hh"
#include "framecpp/FrDetector.hh"
#include "framecpp/FrTOC.hh"
#include "framecppc/FrDetector.h"
#include "framecppc/Stream.h"
#include "FrameCInternal.hh"
#include "FrDetectorInternal.hh"
#include "StreamInternal.hh"

Namespaces

 FrameC
 Routines related to implementing the C interface.
 

Functions

fr_detector_tFrameCFrDetectorAlloc (FrameCError **Error, const char *restrict name, const char *restrict prefix, fr_detector_latitude_t latitude, fr_detector_longitude_t longitude, fr_detector_elevation_t elevation, fr_detector_arm_x_azimuth_t azimuth_x, fr_detector_arm_y_azimuth_t azimuth_y, fr_detector_arm_x_altitude_t altitude_x, fr_detector_arm_y_altitude_t altitude_y, fr_detector_arm_x_midpoint_t midpoint_x, fr_detector_arm_y_midpoint_t midpoint_y, fr_detector_localtime_t localtime)
 Allocate a new Detector structure. More...
 
void FrameCFrDetectorFree (FrameCError **Error, fr_detector_t *detector)
 Recyle the detector structure. More...
 
fr_detector_tFrameCFrDetectorRead (FrameCError **Error, fr_file_t *restrict Stream, const char *restrict Name)
 Read a new Detector structure. More...
 
int FrDetectorWrite (FrameCError **Error, fr_file_t *restrict Stream, const fr_detector_t *restrict Detector)
 
void FrameCFrDetectorQuery (FrameCError **Error, const fr_detector_t *Detector, int Option,...)
 Retrieve vector information related to the Table of Contents. More...
 
fr_detector_tFrameCGetDetector (FrameCError **Error, std_detectors Type, const gpstime_t *restrict Time)
 Retrieve information about some standard detectors. More...
 

Function Documentation

◆ FrDetectorWrite()

int FrDetectorWrite ( FrameCError **  Error,
fr_file_t *restrict  Stream,
const fr_detector_t *restrict  Detector 
)