Macros
rs232-vcc.cpp File Reference

Implementation of class #SDH::cRS232, a class to access serial RS232 port with VCC compiler on Windows. More...

#include "iostream"
#include <windows.h>
#include "rs232-vcc.h"
#include "simpletime.h"
#include "sdhlibrary_settings.h"
#include "util.h"
#include "dbg.h"
Include dependency graph for rs232-vcc.cpp:

Go to the source code of this file.

Macros

#define _CRT_SECURE_NO_WARNINGS   1
 
#define DBG(...)
 
#define SDH_RS232_VCC_DEBUG   1
 

Detailed Description

Implementation of class #SDH::cRS232, a class to access serial RS232 port with VCC compiler on Windows.

General file information

Author
Martin
Date
2008-05-23

Copyright

Code kindly provided by Martin from the RoboCluster project Denmark.


Definition in file rs232-vcc.cpp.

Macro Definition Documentation

#define _CRT_SECURE_NO_WARNINGS   1

Definition at line 40 of file rs232-vcc.cpp.

#define DBG (   ...)
Value:
do { \
__VA_ARGS__; \
} while (0)

Definition at line 66 of file rs232-vcc.cpp.

#define SDH_RS232_VCC_DEBUG   1

Flag, if true then code for debug messages is included.

The debug messages must still be enabled at run time by setting the some_cRS232_object.dbg.SetFlag(1).

This 2 level scheme is used since this is the lowlevel communication, so debug outputs might really steal some performance.

Definition at line 63 of file rs232-vcc.cpp.



sdhlibrary_cpp
Author(s): Dirk Osswald
autogenerated on Sun Aug 18 2019 03:42:20