SDHLibrary-CPP 0.0.2.10SCHUNK GmbH & Co. KG
C++ access library for SCHUNK Dextrous Hand SDH

sdh/basisdef.h File Reference

This file contains some basic definitions (defines, macros, datatypes) More...

#include <assert.h>
#include "sdhlibrary_settings.h"
#include <stdint.h>
Include dependency graph for basisdef.h:
This graph shows which files directly or indirectly include this file:

Namespaces

namespace  SDH

Defines

#define SDH_ASSERT_TYPESIZES()
 macro to assert that the defined typedefs have the expected sizes

Typedefs

typedef int8_t SDH::Int8
 signed integer, size 1 Byte (8 Bit)
typedef uint8_t SDH::UInt8
 unsigned integer, size 1 Byte (8 Bit)
typedef int16_t SDH::Int16
 signed integer, size 2 Byte (16 Bit)
typedef uint16_t SDH::UInt16
 unsigned integer, size 2 Byte (16 Bit)
typedef int32_t SDH::Int32
 signed integer, size 4 Byte (32 Bit)
typedef uint32_t SDH::UInt32
 unsigned integer, size 4 Byte (32 Bit)

Detailed Description

This file contains some basic definitions (defines, macros, datatypes)

General file information

Author:
Jan Grewe, Dirk Osswald
Date:
08.10.2004

Copyright

Copyright (c) 2006 SCHUNK GmbH & Co. KG



Define Documentation

#define SDH_ASSERT_TYPESIZES ( )
Value:
do {                                    \
        assert( sizeof( Int8 )   == 1 );    \
        assert( sizeof( UInt8 )  == 1 );    \
        assert( sizeof( Int16 )  == 2 );    \
        assert( sizeof( UInt16 ) == 2 );    \
        assert( sizeof( Int32 )  == 4 );    \
        assert( sizeof( UInt32 ) == 4 );    \
    } while (0)

macro to assert that the defined typedefs have the expected sizes