Classes | Macros | Functions
data.h File Reference
#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
 

Macros

#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

Note
Copyright (c) 2015
Fraunhofer Institute for Manufacturing Engineering and Automation (IPA)

Copyright (c) 2015
SICK AG

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

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Definition in file data.h.

Macro Definition Documentation

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

Definition at line 52 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 53 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 54 of file driver.h.

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

Definition at line 55 of file driver.h.

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

Function Documentation

uint64_t swapLong ( uint64_t  x)

Definition at line 44 of file data.h.



sick_visionary_t_driver
Author(s): Joshua Hampp
autogenerated on Mon Jun 10 2019 15:09:27