[ C++ RCOS Home | RCOS.java Home | RCOS Home | David's Home ]

RCOS C++ CRC for class sh_tag

Name:

sh_tag

Comment:

Class encapsulates operations required to support shared memory, based on a FIFO list (and hides details of the double link list we don't need).

Collaborators:

DblList

Responsibilities:

  typedef struct sh_tag {
    UINT16 nID;                 // ID allocated to this block
    UINT16 nCnt;                // Usage count, delete when zero
    UINT16 nLen;                // Allocated length of block
    INT16 *pData;               // data (16 bit PLL/2 integers)
    Str   *pstName;             // Unique shared block name
  } MSHARE, *PMS;