Implementation of class #SDH::cCANSerial_ESD, a class to access an ESD CAN interface on cygwin/linux and Visual Studio. More...
#include "ntcan.h"#include "sdhlibrary_settings.h"#include <fcntl.h>#include <stdio.h>#include <unistd.h>#include <iostream>#include <exception>#include <stdarg.h>#include <assert.h>#include "canserial-esd.h"#include "simpletime.h"#include "util.h"
Go to the source code of this file.
| Classes | |
| class | cCANSerial_ESD_Internal | 
| internal hardware specific implementation details of the lowlevel ESD CAN interface  More... | |
| Macros | |
| #define | DBG(...) | 
| #define | SDH_CANSERIAL_ESD_DEBUG 1 | 
| Functions | |
| char const * | ESD_strerror (NTCAN_RESULT rc) | 
Implementation of class #SDH::cCANSerial_ESD, a class to access an ESD CAN interface on cygwin/linux and Visual Studio.
Copyright (c) 2007 SCHUNK GmbH & Co. KG
Definition in file canserial-esd.cpp.
| #define DBG | ( | ... | ) | 
instead of guarding every debug output with #if SDH_CANSERIAL_ESD_DEBUG / #endif we use this DBG macro that expands to a stream output to a dbg object or to ";" depending on the value of SDH_CANSERIAL_ESD_DEBUG
Definition at line 161 of file canserial-esd.cpp.
| #define SDH_CANSERIAL_ESD_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 154 of file canserial-esd.cpp.
| char const* ESD_strerror | ( | NTCAN_RESULT | rc | ) | 
Definition at line 232 of file canserial-esd.cpp.