Skip to content

AFNI/NIfTI Server

Sections
Personal tools
You are here: Home » AFNI » Documentation

Doxygen Source Code Documentation


Main Page   Alphabetical List   Data Structures   File List   Data Fields   Globals   Search  

SHMioc Struct Reference

#include <niml.h>


Data Fields

int id
int bad
int whoami
char name [128]
char * shmbuf
int * shmhead
int bufsize1
char * buf1
int * bstart1
int * bend1
int bufsize2
char * buf2
int * bstart2
int * bend2
int goodcheck_time

Detailed Description

The shm segment is split into a 128 byte header and 2 buffers: buf1 is written into by the "w" creator and read by the "r" acceptor; buf2 is written into by the "r" acceptor and read by the "w" creator. Each of these is a circular buffer, as described below. The header currently contains 6 ints. For buf1: size1 = size of buf1 in bytes (fixed by creator) bstart1 = offset into buf1 where good data starts (changed by acceptor) bend1 = offset into buf1 where good data ends (changed by creator) For buf2, a similar triple is set (mutatis mutandum).

Definition at line 295 of file niml.h.


Field Documentation

int SHMioc::bad
 

Definition at line 297 of file niml.h.

Referenced by SHM_close(), SHM_fill_accept(), SHM_goodcheck(), SHM_init(), SHM_readcheck(), SHM_recv(), SHM_send(), and SHM_sendall().

int* SHMioc::bend1
 

Definition at line 308 of file niml.h.

Referenced by SHM_fill_accept(), SHM_init(), SHM_readcheck(), SHM_recv(), SHM_send(), and SHM_writecheck().

int* SHMioc::bend2
 

Definition at line 313 of file niml.h.

Referenced by SHM_fill_accept(), SHM_init(), SHM_readcheck(), SHM_recv(), SHM_send(), and SHM_writecheck().

int* SHMioc::bstart1
 

Definition at line 307 of file niml.h.

Referenced by SHM_fill_accept(), SHM_init(), SHM_readcheck(), SHM_recv(), SHM_send(), and SHM_writecheck().

int* SHMioc::bstart2
 

Definition at line 312 of file niml.h.

Referenced by SHM_fill_accept(), SHM_init(), SHM_readcheck(), SHM_recv(), SHM_send(), and SHM_writecheck().

char* SHMioc::buf1
 

Definition at line 306 of file niml.h.

Referenced by SHM_fill_accept(), SHM_init(), SHM_recv(), and SHM_send().

char* SHMioc::buf2
 

Definition at line 311 of file niml.h.

Referenced by SHM_fill_accept(), SHM_init(), SHM_recv(), and SHM_send().

int SHMioc::bufsize1
 

Definition at line 305 of file niml.h.

Referenced by SHM_fill_accept(), SHM_init(), SHM_readcheck(), SHM_recv(), SHM_send(), and SHM_writecheck().

int SHMioc::bufsize2
 

Definition at line 310 of file niml.h.

Referenced by SHM_fill_accept(), SHM_init(), SHM_readcheck(), SHM_recv(), SHM_send(), and SHM_writecheck().

int SHMioc::goodcheck_time
 

NI_clock_time() of last SHM_goodcheck()

Definition at line 315 of file niml.h.

Referenced by SHM_goodcheck(), SHM_init(), and SHM_readcheck().

int SHMioc::id
 

Definition at line 296 of file niml.h.

Referenced by SHM_close(), SHM_fill_accept(), SHM_goodcheck(), and SHM_init().

char SHMioc::name[128]
 

Definition at line 300 of file niml.h.

Referenced by SHM_goodcheck(), and SHM_init().

char* SHMioc::shmbuf
 

Definition at line 302 of file niml.h.

Referenced by SHM_close(), SHM_fill_accept(), SHM_goodcheck(), and SHM_init().

int* SHMioc::shmhead
 

Definition at line 303 of file niml.h.

Referenced by SHM_fill_accept(), and SHM_init().

int SHMioc::whoami
 

Definition at line 298 of file niml.h.

Referenced by SHM_init(), SHM_readcheck(), SHM_recv(), SHM_send(), and SHM_writecheck().


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

Powered by Plone

This site conforms to the following standards: