Robotsystem from Robot Group Leipzig: printInternals.h Source File

- Main Page
- Modules
- Namespaces
- Classes
- Files
- Directories
- Examples

- File List
- File Members

# printInternals.h

Go to the documentation of this file.

    00001 #ifndef _PRINT_INTERNALS_H
    00002 #define _PRINT_INTERNALS_H
    00003
    00004 #include "inspectable.h"
    00005 #include "types.h"
    00006
    00007 /** prints the names of the sensor and motor channels
    00008     and the names of the internal parameters of all inspectable object to the given file (stream)
    00009     (Headline)
    00010 */
    00011 void printInternalParameterNames(FILE* f,
    00012                                 int sensornumber, int motornumber,
    00013                                 Inspectable** inspectables, int len);
    00014
    00015 /** prints the values of the motors and sensors
    00016     and the internal parameters of the inspectable objects to a file or stream
    00017 */
    00018 void printInternalParameters(FILE* f,
    00019                              const sensor* x, int sensornumber,
    00020                              const motor* y,  int motornumber,
    00021                              Inspectable** inspectables, int len);
    00022
    00023 /** prints a network description of the structure given by the inspectable object.
    00024     The network description syntax is as follow
    00025     \code
    00026     #N network NETWORKNAME
    00027     #N layer LAYERNAME1 RANK?
    00028     #N neuron N0
    00029     #N neuron N1
    00030     #N layer LAYERNAME2 RANK?
    00031     #N neuron K0
    00032     #N neuron K1
    00033     ...
    00034     #N connection C00 N0 K0
    00035     #N connection C10 N0 K1
    00036     #N connection C01 N1 K0
    00037     #N connection C11 N1 K1
    00038     ...
    00039     \endcode
    00040     All identifiers are alphanumeric without spaces.
    00041 */
    00042 void printNetworkDescription(FILE* f, const string& name, const Inspectable* inspectable);
    00043
    00044
    00045 #endif