ldas-tools-frameAPI  2.5.1
Namespaces | Macros | Functions
FrAdcData.cc File Reference
#include <frameutils_config.h>
#include <cmath>
#include <sstream>
#include "FrAdcData.hh"
#include "FrVect.hh"
#include "util.hh"

Namespaces

 FrameAPI
 ignore_end:
 

Macros

#define LM_DEBUG   0
 
#define AT()
 
#define ADC_COMPARE(LM_ATTR, LM_EXCEPTION)
 

Functions

bool areAdcsCompatable (const FrAdcData &Adc1, const FrAdcData &Adc2)
 
template<>
REAL_8 FrameAPI::SampleRate< FrameCPP::FrAdcData > (const FrameCPP::FrAdcData &C)
 

Macro Definition Documentation

◆ ADC_COMPARE

#define ADC_COMPARE (   LM_ATTR,
  LM_EXCEPTION 
)
Value:
if ( Adc1.LM_ATTR() != Adc2.LM_ATTR() ) \
{ \
std::ostringstream msg; \
msg << LM_EXCEPTION << " (" << Adc1.LM_ATTR( ) << " != " << Adc2.LM_ATTR( ) << ") - Channel Name: " << Adc1.GetName( ) ; \
throw SWIGEXCEPTION( msg.str( ) ); \
}

◆ AT

#define AT ( )

◆ LM_DEBUG

#define LM_DEBUG   0

Function Documentation

◆ areAdcsCompatable()

bool areAdcsCompatable ( const FrAdcData &  Adc1,
const FrAdcData &  Adc2 
)