Instrument Neutral Distributed Interface INDI 2.2.5
receiver_simulator.cpp File Reference
#include "receiver_simulator.h"
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <indilogger.h>
#include <memory>

Go to the source code of this file.

Macros

#define SPECTRUM_SIZE   (256)
#define min(a, b)

Functions

std::unique_ptr< RadioSim > receiver (new RadioSim())

Macro Definition Documentation

◆ min

#define min ( a,
b )
Value:
({ __typeof__ (a) _a = (a); \
__typeof__ (b) _b = (b); \
_a < _b ? _a : _b; })

Definition at line 28 of file receiver_simulator.cpp.

◆ SPECTRUM_SIZE

#define SPECTRUM_SIZE   (256)

Definition at line 27 of file receiver_simulator.cpp.

Function Documentation

◆ receiver()

std::unique_ptr< RadioSim > receiver ( new RadioSim())