fdhwlib  2.0.25
GpsClockCmds Class Reference

#include <gpsclockcmds.h>

Inheritance diagram for GpsClockCmds:
cmds

List of all members.

Public Member Functions

Private Attributes


Detailed Description

Instruction set for control of the gpsclock.

Todo:

Load almanac from file + save to file

Controls for the second adjustment

Definition at line 189 of file gpsclockcmds.h.


Constructor & Destructor Documentation

GpsClockCmds::GpsClockCmds ( GpsClock gps)

Create instruction set for gpsclock.

GpsClockCmds::GpsClockCmds ( GpsServer gpsserver)

Create instruction set for gpsserver.

GpsClockCmds::~GpsClockCmds ( )

Member Function Documentation

void GpsClockCmds::displayStatus ( FILE *  fout,
int  nShow 
)
void GpsClockCmds::displayStatusHeader ( FILE *  fout,
char *  title 
)
void GpsClockCmds::help ( FILE *  fout,
char *  line 
)
int GpsClockCmds::interprete ( FILE *  fin,
FILE *  fout,
char *  line 
) [virtual]

Redefine this function to meet the needs of the task.

Returns:
Status of the command execution: 0 no command found 1 command executed, 2 command quit

Reimplemented from cmds.


Member Data Documentation

Pointer to the gpsclock.

Definition at line 216 of file gpsclockcmds.h.

Definition at line 221 of file gpsclockcmds.h.

Pointer to the gpsserver.

Definition at line 219 of file gpsclockcmds.h.

std::string GpsClockCmds::inifile [private]

Save the name of the inifile.

Definition at line 210 of file gpsclockcmds.h.

shell* GpsClockCmds::sh [private]

Pointer to the shell.

Reimplemented from cmds.

Definition at line 213 of file gpsclockcmds.h.


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