Main Page | Modules | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members

example1.cpp File Reference

Simple example of LTKCPP that talks to an actual reader. More...

#include <stdio.h>
#include "ltkcpp.h"

Go to the source code of this file.

Functions

int main (int ac, char *av[])
 Command main routine.
void usage (char *pProgName)
 Print usage message and exit.


Detailed Description

Simple example of LTKCPP that talks to an actual reader.

This is sometimes called the "LLRP Hello World" program

The steps:

This program can be run with zero, one, or two verbose options (-v). no -v -- Only prints the tag report and errors -v -- Also prints one line progress messages -vv -- Also prints all LLRP messages as XML text

Definition in file example1.cpp.


Function Documentation

int main int  ac,
char *  av[]
 

Command main routine.

Command synopsis:

dx101 INPUTFILE

0 Everything *seemed* to work. 1 Bad usage 2 Could not open input file

Definition at line 171 of file example1.cpp.

References usage().

void usage char *  pProgName  ) 
 

Print usage message and exit.

Parameters:
[in] nProgName Program name string
Returns:
none, exits

Definition at line 253 of file example1.cpp.


Generated on Wed Nov 26 12:27:45 2008 for LTKCPP-- LLRP Toolkit C Plus Plus Library by  doxygen 1.3.9.1