/home/hal/workspace/HD Radio Controller/hdcmdd.cpp 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 "settings.h"
#include "ksocket.h"

Include dependency graph for hdcmdd.cpp:


Functions

void printval (string valkey)
string sprintval (string valkey)
void getcommands ()
int main (int argc, char *argv[])

Variables

map< string, string > clArgs
vector< string > defkeys

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.

int main ( int  argc,
char *  argv[] 
)

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

string sprintval ( string  valkey  ) 


Variable Documentation

map<string, string> clArgs

vector<string> defkeys


Generated on Wed Apr 2 06:32:47 2008 for HDRadioController by  doxygen 1.5.3