TObjectSharedMemory class Reference

メインページ モジュール クラス階層 アルファベット順一覧 構成 ファイル一覧 構成メンバ ファイルメンバ 関連ページ

# クラス TObjectSharedMemory の解説

`#include <TObjectSharedMemory.hh>`

TObjectSharedMemoryに対する継承グラフ

[凡例]
すべてのメンバ一覧

## Public 型
enum | { tDefaultMaxEvent = 100 }
enum | { tDefaultMemorySize = 1024 * 1024 }
## Public メソッド
| TObjectSharedMemory (Tint memsize, Tint maxevt)
Tvoid * | Attach (const Tvoid *shmaddr=0, Tint shmflg=0) const
Tint | Detach ()
Tint | Remove (struct shmid_ds *buf=0)
Tint | GetSharedMemoryID () const
Tint | GetMemorySize () const
Tvoid * | GetBaseAddress () const
Tvoid * | GetAddress () const
Tint | GetMaxEvent () const
Tint | GetCurrentPositionOfMemorySpace () const
Tvoid | SetMaxEvent (Tint maxevt)
Tvoid | SetCurrentPositionOfMemorySpace (Tint pos)
Tvoid | SetSharedMemoryID (Tint memid)
Tvoid | SetMemorySize (Tint memsize)
Tvoid | SetAddress (Tvoid *shmaddr)
Tbool | IsReadable () const
Tvoid | SetReadable (Tbool permission)
## Static Public メソッド
TObjectSharedMemory * | GetObjectSharedMemory ()
## Protected メソッド
virtual | ~TObjectSharedMemory ()
## Protected 変数
Tint | theSharedMemoryID
Tint | theMemorySize
Tint | theMaxEvent
Tint | theCurrentPositionOfMemorySpace
Tbool * | theReadable
Tvoid * | theBaseAddress
Tvoid * | theAddress
## Static Protected 変数
TObjectSharedMemory * | theObjectSharedMemory

## Enum の解説

anonymous enum

  | Enum 値:
  tDefaultMaxEvent |

anonymous enum

  | Enum 値:
  tDefaultMemorySize |

## コンストラクタとデストラクタの解説

TObjectSharedMemory::TObjectSharedMemory | ( | Tint | memsize,
|  | Tint | maxevt
| ) |

virtual TObjectSharedMemory::~TObjectSharedMemory | ( |  | ) | `[protected, virtual]`

## メソッドの解説

Tvoid * TObjectSharedMemory::Attach | ( | const Tvoid * | shmaddr = 0,
|  | Tint | shmflg = 0
| ) | const`[inline]`

Tint TObjectSharedMemory::Detach | ( |  | ) | `[inline]`

Tvoid * TObjectSharedMemory::GetAddress | ( |  | ) | `[inline]`

Tvoid * TObjectSharedMemory::GetBaseAddress | ( |  | ) | `[inline]`

Tint TObjectSharedMemory::GetCurrentPositionOfMemorySpace | ( |  | ) | `[inline]`

Tint TObjectSharedMemory::GetMaxEvent | ( |  | ) | `[inline]`

Tint TObjectSharedMemory::GetMemorySize | ( |  | ) | `[inline]`

TObjectSharedMemory * TObjectSharedMemory::GetObjectSharedMemory | ( |  | ) | `[inline, static]`

Tint TObjectSharedMemory::GetSharedMemoryID | ( |  | ) | `[inline]`

Tbool TObjectSharedMemory::IsReadable | ( |  | ) | `[inline]`

Tint TObjectSharedMemory::Remove | ( | struct shmid_ds * | buf = 0 | ) | `[inline]`

Tvoid TObjectSharedMemory::SetAddress | ( | Tvoid * | shmaddr | ) | `[inline]`

Tvoid TObjectSharedMemory::SetCurrentPositionOfMemorySpace | ( | Tint | pos | ) | `[inline]`

Tvoid TObjectSharedMemory::SetMaxEvent | ( | Tint | maxevt | ) | `[inline]`

Tvoid TObjectSharedMemory::SetMemorySize | ( | Tint | memsize | ) | `[inline]`

Tvoid TObjectSharedMemory::SetReadable | ( | Tbool | permission | ) | `[inline]`

Tvoid TObjectSharedMemory::SetSharedMemoryID | ( | Tint | memid | ) | `[inline]`

## 変数の解説

Tvoid* TObjectSharedMemory::theAddress`[protected]`

Tvoid* TObjectSharedMemory::theBaseAddress`[protected]`

Tint TObjectSharedMemory::theCurrentPositionOfMemorySpace`[protected]`

Tint TObjectSharedMemory::theMaxEvent`[protected]`

Tint TObjectSharedMemory::theMemorySize`[protected]`

TObjectSharedMemory* TObjectSharedMemory::theObjectSharedMemory`[static, protected]`

Tbool* TObjectSharedMemory::theReadable`[protected]`

Tint TObjectSharedMemory::theSharedMemoryID`[protected]`

このクラスの解説は次のファイルから生成されました:

- TObjectSharedMemory.hh