Home Libraries Author Links

sharedmemorytest.c File Reference


Detailed Description

Usage sample and test of the Abstract Data Type StmSharedMemory<ItemType>.

Version:
1.11-r319
Date:
2007-11-15 17:35:02 (Tom)
Author:
Tom Michaelis
SysToMath
Wittelsbacherstr. 7
D-80469 Munich
Contact:
http://www.SysToMath.com
mailto:Tom.Michaelis@SysToMath.com
This C program file contains the implementation of data types and functions demonstrating the usage and testing the implementation of StmSharedMemorySampleItemType.

Definition in file sharedmemorytest.c.

Go to the source code of this file.

Data Structures

struct  SampleItemTypeImpl_
 Implementation structure of the abstract data type SampleItemType. More...

Functions

static int stmSampleItemTypeInit (SampleItemType item, void *data)
 SampleItemType initialization function required by the StmSharedMemoryItemDefine macro.
static int stmSampleItemTypeDeinit (SampleItemType item)
 SampleItemType deinitialization function required by the StmSharedMemoryItemDefine macro.
int main (int argc, char **argv)
 Main function implementing the command sharedmemorytest.

Variables

static
StmSharedMemorySampleItemType 
shm
 Definition of the shared memory type and its method functions.


© Copyright Tom Michaelis 2002-2007

Distributed under the SysToMath Software License (See the accompanying file license.txt or a copy at www.SysToMath.com).