Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

example1.cc File Reference

#include <playerclient.h>
#include <stdlib.h>
#include <stdio.h>
#include <unistd.h>
#include <time.h>

Defines

#define USAGE

Functions

void parse_args (int argc, char **argv)
void Sleep (double seconds)
void PrintTime ()
int main (int argc, char *argv[])

Variables

char host [256] = "localhost"
int port = PLAYER_PORTNUM
bool debug = false

Define Documentation

#define USAGE
 

Value:

"USAGE: ./a.out [-h <host>] [-p <port>] [-d]\n" \
  "       -h <host>: connect to Player on this host\n" \
  "       -p <port>: connect to Player on this TCP port\n" \
  "       -d enable debug mode\n"

Function Documentation

void parse_args int    argc,
char **    argv
 

void Sleep double    seconds
 

void PrintTime  
 

int main int    argc,
char *    argv[]
 


Variable Documentation

char host[256] = "localhost"
 

int port = PLAYER_PORTNUM
 

bool debug = false
 


Generated on Tue Jan 10 17:29:19 2006 for Stanford AI Robot (STAIR) by doxygen1.2.17