EnglishJapanese Reload Front page List of pages Search Recent changes RSS of recent changes

Back to the top page
Back to the upper page

Function members

public

private

  • int fKey
    Shared memory key.
  • int fSize
    Shared memory size.
  • int fID
    Shared memory id.
  • bool fIsValid
    Flag for validity of shared memory.
  • char* fSharedMemory Pointer to shared memory.

Function documents

  • TArtSharedMemory(int shmkey, int size)
    Generate shared memory associated shmkey.
    Assign true to fIsValid.
  • ~TArtSharedMemory()
    Call Delete().
  • int GetSize()
    Return fSize.
  • int Read(char *buf, int size, int offset)
    Copy shared memory associated offset to buf.
  • int Delete()
    Delete shared memory generated by TArtSharedMemory()
  • bool IsValid()
    Return fIsValid.
Last-modified: Mon, 12 Dec 2011 00:53:16 HADT (4511d)