global-types.h File Reference

Global data types. More...

Go to the source code of this file.

Defines

#define FALSE   (0)
 Boolean false.
#define TRUE   (1)
 Boolean true.
#define VMEALIGN_1
 Empty, no special alignment.
#define VMEALIGN_2
 Empty, no special alignment.
#define VMEALIGN_4
 Empty, no special alignment.
#define VMEALIGN_8
 Empty, no special alignment.

Typedefs

typedef signed char SByte VMEALIGN_1
 signed 8 bit integer
typedef signed short SWord VMEALIGN_2
 signed 16 bit integer
typedef signed long SLong VMEALIGN_4
 signed 32 bit integer
typedef signed long long SOcta VMEALIGN_8
 signed 64 bit integer; CAUTION: may only be 32 bit aligned

Detailed Description

Global data types.

Only the types

    SByte    -  8 bit signed integer,		
    UByte    -  8 bit unsigned integer,			
    SWord    - 16 bit signed integer,		 
    UWord    - 16 bit unsigned integer,			 
    SLong    - 32 bit signed integer,		 
    ULong    - 32 bit unsigned integer,			 
    SOcta    - 64 bit signed integer,		 
    Float32  - 32 bit floating point value,
    Float64  - 64 bit floating point value and				
    char[2n] - character strings of even length

are allowed for the exchange of data between components, for example between EC and GuP via dualported RAM or between client and server.

Note:
Do not differentiate 32 bit and 64 bit platforms for SOcta type definitions. To define this type, use the long long definition for both platforms instead! Different definitions (may) lead to CORBA type mapping problems with omniORB includes. See CORBA_sysdep_auto.h and CORBA_sysdep_trad.h on acc5 in /common/usr/include/omniORB4 on acc6 in /usr/include/omniORB4 for different definitions of 64 bit types. It is not yet clear which header is actually used.
Author:
Klaus Hoeppner
Date:
5. Jan. 2009
Version:
2.00
Updates:
23.Mar.09, LH, Incode docu completed.
Updates:
2.Nov.10, LH, UOcta removed.

Define Documentation

#define FALSE   (0)

Boolean false.

#define TRUE   (1)

Boolean true.

typedef unsigned char UByte VMEALIGN_1

Empty, no special alignment.

unsigned 8 bit integer

typedef unsigned short UWord VMEALIGN_2

Empty, no special alignment.

unsigned 16 bit integer

typedef int Boolean VMEALIGN_4

Empty, no special alignment.

base type is int

32 bit floating point

unsigned 32 bit integer

typedef double Float64 VMEALIGN_8

Empty, no special alignment.

64 bit floating point; CAUTION: may only be 32 bit aligned


Typedef Documentation

typedef unsigned char UByte VMEALIGN_1

signed 8 bit integer

unsigned 8 bit integer

typedef unsigned short UWord VMEALIGN_2

signed 16 bit integer

unsigned 16 bit integer

typedef int Boolean VMEALIGN_4

signed 32 bit integer

base type is int

32 bit floating point

unsigned 32 bit integer

typedef double Float64 VMEALIGN_8

signed 64 bit integer; CAUTION: may only be 32 bit aligned

64 bit floating point; CAUTION: may only be 32 bit aligned


Generated on 15 Aug 2018 for MXS-USRs by  doxygen 1.6.1