COVISE Core
Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes | Friends | List of all members
covise::coShmArray Class Reference

#include <covise_shm.h>

Inheritance diagram for covise::coShmArray:
Inheritance graph
[legend]
Collaboration diagram for covise::coShmArray:
Collaboration graph
[legend]

Public Member Functions

 coShmArray ()
 
 coShmArray (int no, shmSizeType o)
 
 coShmArray (Message *msg)
 
void set_length (ArrayLengthType l)
 
ArrayLengthType get_length () const
 
void setPtr (int no, shmSizeType o)
 
voidgetDataPtr () const
 
- Public Member Functions inherited from covise::coShmItem
 coShmItem ()
 
int get_shm_seq_no ()
 
shmSizeType get_offset ()
 
int get_type ()
 
voidgetPtr ()
 
void print ()
 

Protected Member Functions

void recalc ()
 

Protected Attributes

ArrayLengthType length
 
- Protected Attributes inherited from covise::coShmItem
int shm_seq_no
 
shmSizeType offset
 
int type
 
voidptr
 

Static Protected Attributes

static SharedMemoryshmptr = 0L
 

Friends

class Message
 
class ShmMessage
 
class coShmAlloc
 
class coDistributedObject
 

Constructor & Destructor Documentation

◆ coShmArray() [1/3]

covise::coShmArray::coShmArray ( )
inline

◆ coShmArray() [2/3]

covise::coShmArray::coShmArray ( int  no,
shmSizeType  o 
)
inline

◆ coShmArray() [3/3]

covise::coShmArray::coShmArray ( Message msg)
inline

Member Function Documentation

◆ get_length()

ArrayLengthType covise::coShmArray::get_length ( ) const
inline

◆ getDataPtr()

void * covise::coShmArray::getDataPtr ( ) const
inline

◆ recalc()

void covise::coShmArray::recalc ( )
inlineprotected

◆ set_length()

void covise::coShmArray::set_length ( ArrayLengthType  l)
inline

◆ setPtr()

void covise::coShmArray::setPtr ( int  no,
shmSizeType  o 
)
inline

Friends And Related Function Documentation

◆ coDistributedObject

friend class coDistributedObject
friend

◆ coShmAlloc

friend class coShmAlloc
friend

◆ Message

friend class Message
friend

◆ ShmMessage

friend class ShmMessage
friend

Member Data Documentation

◆ length

ArrayLengthType covise::coShmArray::length
protected

◆ shmptr

SharedMemory * coShmArray::shmptr = 0L
staticprotected

The documentation for this class was generated from the following files: