Defines | Typedefs | Variables
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:

Go to the source code of this file.

Defines

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

Typedefs

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

Variables

NAMESPACE_SDH_START typedef int8_t Int8
 signed integer, size 1 Byte (8 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


Definition in file basisdef.h.


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

Definition at line 73 of file basisdef.h.


Typedef Documentation

typedef int16_t Int16

signed integer, size 2 Byte (16 Bit)

Definition at line 62 of file basisdef.h.

typedef int32_t Int32

signed integer, size 4 Byte (32 Bit)

Definition at line 64 of file basisdef.h.

typedef uint16_t UInt16

unsigned integer, size 2 Byte (16 Bit)

Definition at line 63 of file basisdef.h.

typedef uint32_t UInt32

unsigned integer, size 4 Byte (32 Bit)

Definition at line 65 of file basisdef.h.

typedef uint8_t UInt8

unsigned integer, size 1 Byte (8 Bit)

Definition at line 61 of file basisdef.h.


Variable Documentation

NAMESPACE_SDH_START typedef int8_t Int8

signed integer, size 1 Byte (8 Bit)

Definition at line 60 of file basisdef.h.



schunk_sdh
Author(s): Florian Weisshardt
autogenerated on Mon Oct 6 2014 07:29:15