TOutputObjectSharedMemory class Reference

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

# クラス TOutputObjectSharedMemory の解説
[Persistency Category]

This is the TOutputObjectSharedMemory class. [詳細]

`#include <TOutputObjectSharedMemory.hh>`

TOutputObjectSharedMemoryに対する継承グラフ

[凡例]
TOutputObjectSharedMemoryのコラボレーション図

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

## Public 型
enum | { tDefaultMaxEvent = 100 }
enum | { tDefaultMemorySize = 1024 * 1024 }
## Public メソッド
| TOutputObjectSharedMemory (Tint memsize=tDefaultMemorySize, Tint maxevt=tDefaultMaxEvent)
| TOutputObjectSharedMemory (TOutputObjectFilter *filter, Tint memsize=tDefaultMemorySize, Tint maxevt=tDefaultMaxEvent)
| ~TOutputObjectSharedMemory ()
Tint | Write (TStreamableObject &object)
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)
TOutputObjectFilter * | GetObjectFilter () const
Tvoid | SetObjectFilter (TOutputObjectFilter *filter)
Tbool | HasFilter () const
Tstream_t | GetStreamType () const
Tint | GetDataSize () const
Tint | GetLastDataSize () const
Tint | GetTotalDataSize () const
Tvoid | SetStreamType (Tstream_t streamtype)
Tvoid | SetDataSize (Tint datasize)
Tvoid | SetLastDataSize (Tint datasize)
Tvoid | SetTotalDataSize (Tint datasize)
## Static Public メソッド
TObjectSharedMemory * | GetObjectSharedMemory ()
## Protected 変数
Tint | theSharedMemoryID
Tint | theMemorySize
Tint | theMaxEvent
Tint | theCurrentPositionOfMemorySpace
Tbool * | theReadable
Tvoid * | theBaseAddress
Tvoid * | theAddress
TOutputObjectFilter * | theObjectFilter
Tstream_t | theStreamType
| ストリームタイプ(そのまんま)
Tint | theDataSize
| 対象のデータサイズ(レコードサイズとは似て非なるものです)
Tint | theLastDataSize
| 直前の処理(Read/Write)のよる処理サイズ
Tint | theTotalDataSize
| ここまで処理したデータの合計サイズ
## Static Protected 変数
TObjectSharedMemory * | theObjectSharedMemory
## フレンド
Tint | operator<< (TOutputObjectStream &left, TStreamableObject &object)
Tint | operator<< (TOutputObjectStream &left, const TStreamableObject &object)

## 解説

This is the TOutputObjectSharedMemory class.

作者:
  Go IWAI <goiwai@users.sourceforge.jp>

The TOutputObjectSharedMemory class detail description. Write it down ASAP!

TODO:
  None?

バグ:
  None?

## Enum の解説

anonymous enum`[inherited]`

  | Enum 値:
  tDefaultMaxEvent |

anonymous enum`[inherited]`

  | Enum 値:
  tDefaultMemorySize |

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

TOutputObjectSharedMemory::TOutputObjectSharedMemory | ( | Tint | memsize = tDefaultMemorySize,
|  | Tint | maxevt = tDefaultMaxEvent
| ) |

TOutputObjectSharedMemory::TOutputObjectSharedMemory | ( | TOutputObjectFilter * | filter,
|  | Tint | memsize = tDefaultMemorySize,
|  | Tint | maxevt = tDefaultMaxEvent
| ) |

TOutputObjectSharedMemory::~TOutputObjectSharedMemory | ( |  | ) |

## メソッドの解説

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

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

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

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

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

Tint TObjectStream::GetDataSize | ( |  | ) | `[inline, inherited]`

Tint TObjectStream::GetLastDataSize | ( |  | ) | `[inline, inherited]`

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

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

TOutputObjectFilter * TOutputObjectStream::GetObjectFilter | ( |  | ) | `[inline, inherited]`

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

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

Tstream_t TObjectStream::GetStreamType | ( |  | ) | `[inline, inherited]`

Tint TObjectStream::GetTotalDataSize | ( |  | ) | `[inline, inherited]`

Tbool TOutputObjectStream::HasFilter | ( |  | ) | `[inline, inherited]`

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

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

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

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

Tvoid TObjectStream::SetDataSize | ( | Tint | datasize | ) | `[inline, inherited]`

Tvoid TObjectStream::SetLastDataSize | ( | Tint | datasize | ) | `[inline, inherited]`

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

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

Tvoid TOutputObjectStream::SetObjectFilter | ( | TOutputObjectFilter * | filter | ) | `[inline, inherited]`

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

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

Tvoid TObjectStream::SetStreamType | ( | Tstream_t | streamtype | ) | `[inline, inherited]`

Tvoid TObjectStream::SetTotalDataSize | ( | Tint | datasize | ) | `[inline, inherited]`

Tint TOutputObjectSharedMemory::Write | ( | TStreamableObject & | object | ) | `[virtual]`

| TOutputObjectStreamに実装されています.

## フレンドと関連する関数の解説

Tint operator<< | ( | TOutputObjectStream & | left,
|  | const TStreamableObject & | object
| ) | `[friend, inherited]`

Tint operator<< | ( | TOutputObjectStream & | left,
|  | TStreamableObject & | object
| ) | `[friend, inherited]`

## 変数の解説

Tvoid* TObjectSharedMemory::theAddress`[protected, inherited]`

Tvoid* TObjectSharedMemory::theBaseAddress`[protected, inherited]`

Tint TObjectSharedMemory::theCurrentPositionOfMemorySpace`[protected, inherited]`

Tint TObjectStream::theDataSize`[protected, inherited]`

| 対象のデータサイズ(レコードサイズとは似て非なるものです)

Tint TObjectStream::theLastDataSize`[protected, inherited]`

| 直前の処理(Read/Write)のよる処理サイズ

Tint TObjectSharedMemory::theMaxEvent`[protected, inherited]`

Tint TObjectSharedMemory::theMemorySize`[protected, inherited]`

TOutputObjectFilter* TOutputObjectStream::theObjectFilter`[protected, inherited]`

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

Tbool* TObjectSharedMemory::theReadable`[protected, inherited]`

Tint TObjectSharedMemory::theSharedMemoryID`[protected, inherited]`

Tstream_t TObjectStream::theStreamType`[protected, inherited]`

| ストリームタイプ(そのまんま)

Tint TObjectStream::theTotalDataSize`[protected, inherited]`

| ここまで処理したデータの合計サイズ

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

- TOutputObjectSharedMemory.hh