INTRODUCTION
Overview
Download and Install
Documentation
Publications

REPOSITORY
Libraries

DEVELOPER
Dev Guide
Dashboard

PEOPLE
Contributors
Users

SourceForge.net Logo
Project
Download
Mailing lists

 

         
gbxnovatelacfr::Driver Class Reference

the idea is to create one of these guys (with a valid Config), and then treat it as a data-source, i.e. call read() on it in some kind of loop More...

#include <driver.h>

Public Member Functions

std::auto_ptr< GenericDataread ()
 Blocking read, returns one message.
 
Ctor:

Tries to establish serial communication to the GPS receiver, then configures it

 Driver (const Config &cfg)
 dumps tracing messages to the console
 
 Driver (const Config &cfg, gbxutilacfr::Tracer &tracer)
 full control over tracing (e.g. to syslog)
 

Detailed Description

the idea is to create one of these guys (with a valid Config), and then treat it as a data-source, i.e. call read() on it in some kind of loop

The actual Driver

Constructor & Destructor Documentation

◆ Driver() [1/2]

gbxnovatelacfr::Driver::Driver ( const Config & cfg)

dumps tracing messages to the console

implements tracing internally as a gbxutilacfr::TrivialTracer

◆ Driver() [2/2]

gbxnovatelacfr::Driver::Driver ( const Config & cfg,
gbxutilacfr::Tracer & tracer )

full control over tracing (e.g. to syslog)

Parameters
traceryou need to provide this guy (via new), do NOT delete it, it will be deleted when your Driver object goes out of scope

Member Function Documentation

◆ read()

std::auto_ptr< GenericData > gbxnovatelacfr::Driver::read ( )

Blocking read, returns one message.

Throws gbxutilacfr::Exception when a problem is encountered (derives from std::exception). Throws gbxutilacfr::HardwareException when a (fatal) problem with the hardware is encountered


The documentation for this class was generated from the following files:
 

Generated for GearBox by  doxygen 1.4.5