libs/sick/reader/readsick.C File Reference

#include "readsick.H"
#include <libgen.h>
#include <cstdio>
#include <cstring>
#include <iomanip>
#include <iostream>
#include <unistd.h>
#include "print_field.H"

Classes

struct  field_spec_t

Defines

#define DF_NEWLINE   -6
 DANGER -- Code from here is extracted out to print_field.C.

Functions

int main (int argc, char **argv)

Variables

char const * progname
bool realtime
bool print_name
bool print_id
bool print_size
field_spec_t field_specs []

Define Documentation

#define DF_NEWLINE   -6

DANGER -- Code from here is extracted out to print_field.C.


Function Documentation

int main ( int  argc,
char **  argv 
)

Variable Documentation

Initial value:
{
        {
                "switch_mode",                  0x20,
                msg_0x20_printer,               msg_0x20_field_names,
        },
        {
                "configure",                    0x77,
                msg_0x77_printer,               msg_0x77_field_names,
        },
        {
                "power_on",                     0x90,
                msg_0x90_printer,               msg_0x90_field_names,
        },
        {
                "measured_values",              0xB0,
                msg_0xB0_printer,               msg_0xB0_field_names,
        },
        {
                "lms_status",                   0xB1,
                msg_0xB1_printer,               msg_0xB1_field_names,
        },
        {
                NULL,
        },
}
bool print_id
bool print_name
bool print_size

Referenced by main().

char const* progname
bool realtime

Generated on Fri Apr 9 10:45:12 2010 for drivers by  doxygen 1.6.1