Classes | Defines | Functions
data.h File Reference

Data and parameter parsing of stream. More...

#include <endian.h>
Include dependency graph for data.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  CameraParameters
class  Data

Defines

#define __Swap2Bytes(val)   ( (((val) >> 8) & 0x00FF) | (((val) << 8) & 0xFF00) )
#define __Swap2Bytes(val)   ( (((val) >> 8) & 0x00FF) | (((val) << 8) & 0xFF00) )
#define __Swap2BytesD(val)   (val>7490?0:( (((val) >> 8) & 0x00FF) | (((val) << 8) & 0xFF00) ))
#define __Swap2BytesD(val)   (val>7490?0:( (((val) >> 8) & 0x00FF) | (((val) << 8) & 0xFF00) ))
#define __Swap4Bytes(dword)   ( ((dword>>24)&0x000000FF) | ((dword>>8)&0x0000FF00) | ((dword<<8)&0x00FF0000) | ((dword<<24)&0xFF000000) )
#define __Swap4Bytes(dword)   ( ((dword>>24)&0x000000FF) | ((dword>>8)&0x0000FF00) | ((dword<<8)&0x00FF0000) | ((dword<<24)&0xFF000000) )
#define __Swap8Bytes(val)   (swapLong(val))
#define __Swap8Bytes(val)   (swapLong(val))

Functions

uint64_t swapLong (uint64_t x)

Detailed Description

Data and parameter parsing of stream.

Note:
Copyright (c) TODO FILL IN YEAR HERE
Fraunhofer Institute for Manufacturing Engineering and Automation (IPA)

ROS package name: sick_3vistort_driver
Author:
Author: Joshua Hampp
Date:
Date of creation: 05/21/2015

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License LGPL as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License LGPL for more details.

You should have received a copy of the GNU Lesser General Public License LGPL along with this program. If not, see <http://www.gnu.org/licenses/>.

Definition in file data.h.


Define Documentation

#define __Swap2Bytes (   val)    ( (((val) >> 8) & 0x00FF) | (((val) << 8) & 0xFF00) )

Definition at line 65 of file driver.h.

#define __Swap2Bytes (   val)    ( (((val) >> 8) & 0x00FF) | (((val) << 8) & 0xFF00) )
#define __Swap2BytesD (   val)    (val>7490?0:( (((val) >> 8) & 0x00FF) | (((val) << 8) & 0xFF00) ))

Definition at line 66 of file driver.h.

#define __Swap2BytesD (   val)    (val>7490?0:( (((val) >> 8) & 0x00FF) | (((val) << 8) & 0xFF00) ))
#define __Swap4Bytes (   dword)    ( ((dword>>24)&0x000000FF) | ((dword>>8)&0x0000FF00) | ((dword<<8)&0x00FF0000) | ((dword<<24)&0xFF000000) )
#define __Swap4Bytes (   dword)    ( ((dword>>24)&0x000000FF) | ((dword>>8)&0x0000FF00) | ((dword<<8)&0x00FF0000) | ((dword<<24)&0xFF000000) )

Definition at line 67 of file driver.h.

#define __Swap8Bytes (   val)    (swapLong(val))

Definition at line 68 of file driver.h.

#define __Swap8Bytes (   val)    (swapLong(val))

Function Documentation

uint64_t swapLong ( uint64_t  x)

Definition at line 57 of file data.h.



sick_3vistort_driver
Author(s):
autogenerated on Thu Aug 4 2016 04:03:59