/home/hal/workspace/HD Radio Controller/src/hdcmd.h File Reference

#include <cstdlib>
#include <iostream>
#include <map>
#include <string>
#include <vector>
#include "halcyon.h"
#include "hdcontrol.h"
#include "hdcommands.h"
#include "hdlisten.h"

Include dependency graph for hdcmd.h:

This graph shows which files directly or indirectly include this file:

Functions

void printval (string)
void parsecmd (string)
void getcommands ()

Function Documentation

void getcommands (  ) 

Get commands from the keyboard and process them. We handle "exit" and "show" and everything else is passed on to the HD Radio Controller for processing. Exit will leave the program (and shut the radio off). Show will display variable values. If no arguments are given, all variables currently stored are displayed. If "def" is given a set of default variables is displayed instead of all. If the name of a variable is given, that variable's value is displayed.

void parsecmd ( string  cmdline  ) 

Parse a command typed in or given on the command line.

Parameters:
cmdline a command with arguments separated by spaces to be parsed.

void printval ( string  valkey  ) 

Display the name of a variable and its value.

Parameters:
valkey the key of the variable we're going to display


Generated on Sun Apr 6 01:13:22 2008 for HDRadioController by  doxygen 1.5.3