ET System  16.4
 All Data Structures Files Functions Variables Typedefs Macros Groups Pages
et_mem_t Struct Reference

Structure containing info stored at front of shared or mapped memory. More...

#include <et_private.h>

Data Fields

uint32_t byteOrder
 Should be 0x01020304, if not, byte order is reversed from local order. More...
 
uint32_t systemType
 Type of local system using the shared memory: ET_SYSTEM_TYPE_C is an ET system written in C, and ET_SYSTEM_TYPE_JAVA is an ET system written in Java with a different layout of the shared memory. More...
 
uint32_t majorVersion
 Major version number of this ET software release. More...
 
uint32_t minorVersion
 Minor version number of this ET software release. More...
 
uint32_t numSelectInts
 Number of station selection integers per event. More...
 
uint32_t headerByteSize
 Total size of a single event's "header" or metadata structure in bytes. More...
 
uint64_t eventByteSize
 Total size of a single event's data memory in bytes. More...
 
uint64_t headerPosition
 Number of bytes past beginning of shared memory that the headers are stored. More...
 
uint64_t dataPosition
 Number of bytes past beginning of shared memory that the data are stored. More...
 
uint64_t totalSize
 Total size of shared (mapped) memory (must be allocated in pages). More...
 
uint64_t usedSize
 Desired size of shared memory given as arg to et_mem_create . More...
 

Detailed Description

Structure containing info stored at front of shared or mapped memory.

Field Documentation

uint32_t et_mem_t::byteOrder

Should be 0x01020304, if not, byte order is reversed from local order.

uint64_t et_mem_t::dataPosition

Number of bytes past beginning of shared memory that the data are stored.

uint64_t et_mem_t::eventByteSize

Total size of a single event's data memory in bytes.

uint32_t et_mem_t::headerByteSize

Total size of a single event's "header" or metadata structure in bytes.

uint64_t et_mem_t::headerPosition

Number of bytes past beginning of shared memory that the headers are stored.

uint32_t et_mem_t::majorVersion

Major version number of this ET software release.

uint32_t et_mem_t::minorVersion

Minor version number of this ET software release.

uint32_t et_mem_t::numSelectInts

Number of station selection integers per event.

uint32_t et_mem_t::systemType

Type of local system using the shared memory: ET_SYSTEM_TYPE_C is an ET system written in C, and ET_SYSTEM_TYPE_JAVA is an ET system written in Java with a different layout of the shared memory.

uint64_t et_mem_t::totalSize

Total size of shared (mapped) memory (must be allocated in pages).

Referenced by et_system_start().

uint64_t et_mem_t::usedSize

Desired size of shared memory given as arg to et_mem_create .


The documentation for this struct was generated from the following file: