05robot 2.0

- Main Page
- Modules
- Classes
- Files

- File List
- File Members

Macros | Functions
UR3Message.cpp File Reference
`#include "UR3Message.h"`
`#include <QtGlobal>`
`#include <QtCore>`
`#include <QtEndian>`
`#include <stdlib.h>`

## Macros
#define | parseDouble(src_class, setter_suffix, type, data, offset) {type tmp;memcpy(&tmp,&data[offset], sizeof(tmp));src_class.set ## setter_suffix(type ## Swap(tmp));offset+=sizeof(tmp);}

## Functions
double | doubleSwap (const double inDouble)
float | floatSwap (const float inFloat)

## Macro Definition Documentation

#define parseDouble | ( |  | src_class,
|  |  | setter_suffix,
|  |  | type,
|  |  | data,
|  |  | offset
| ) |  | {type tmp;memcpy(&tmp,&data[offset], sizeof(tmp));src_class.set ## setter_suffix(type ## Swap(tmp));offset+=sizeof(tmp);}

## Function Documentation

double doubleSwap | ( | const double | inDouble | ) |

float floatSwap | ( | const float | inFloat | ) |