nidas  v1.2-1520
Classes | Enumerations | Functions
sensor_sim.cc File Reference
#include <fcntl.h>
#include <iostream>
#include <fstream>
#include <cstring>
#include <nidas/core/Looper.h>
#include <nidas/core/CharacterSensor.h>
#include <nidas/util/SerialPort.h>
#include <nidas/util/SerialOptions.h>
#include <nidas/util/auto_ptr.h>

Classes

class  SensorSimulator
 Base class for sensor simulators. More...
 
class  FixedSim
 Send a fixed message at a given rate or after a prompt. More...
 
class  FileSim
 Read serial records from a file and send them at a given rate or after a prompt. More...
 
class  Csat3Sim
 Simulate a CSAT3 sonic. More...
 
class  SensorSimApp
 

Enumerations

enum  sens_type {
  CSAT3, FROM_FILE, FROM_BINARY_FILE, FIXED,
  ISS_CAMPBELL, UNKNOWN
}
 
enum  sep_type { EOM_SEPARATOR, BOM_SEPARATOR, UNK_SEPARATOR }
 

Functions

int main (int argc, char **argv)
 

Enumeration Type Documentation

enum sens_type
Enumerator
CSAT3 
FROM_FILE 
FROM_BINARY_FILE 
FIXED 
ISS_CAMPBELL 
UNKNOWN 
enum sep_type
Enumerator
EOM_SEPARATOR 
BOM_SEPARATOR 
UNK_SEPARATOR 

Function Documentation

int main ( int  argc,
char **  argv 
)