TOutputObjectSharedMemory class Reference

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

# クラス TOutputObjectSharedMemory の解説

`#include <TOutputObjectSharedMemory.hh>`

TOutputObjectSharedMemoryに対する継承グラフ

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

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

## Public 型
enum | { tDefaultMaxEvent = 100 }
enum | { tDefaultMemorySize = 1024 * 1024 }
## Public メソッド
| TOutputObjectSharedMemory (Tint memsize=tDefaultMemorySize, Tint maxevt=tDefaultMaxEvent)
| TOutputObjectSharedMemory (TObjectFilter *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)
Tstream_t | GetStreamType () const
Tvoid | SetStreamType (Tstream_t streamtype)
TObjectFilter * | GetObjectFilter () const
Tvoid | SetObjectFilter (TObjectFilter *filter)
Tbool | HasFilter () const
Tint | GetDataSize () const
Tint | GetLastDataSize () const
Tvoid | SetDataSize (Tint datasize)
Tvoid | SetLastDataSize (Tint datasize)
Tint | GetTotalDataSize () const
## Static Public メソッド
TObjectSharedMemory * | GetObjectSharedMemory ()
## Protected 変数
Tint | theSharedMemoryID
Tint | theMemorySize
Tint | theMaxEvent
Tint | theCurrentPositionOfMemorySpace
Tbool * | theReadable
Tvoid * | theBaseAddress
Tvoid * | theAddress
TObjectFilter * | theObjectFilter
Tstream_t | theStreamType
Tint | theDataSize
Tint | theLastDataSize
Tint | theTotalDataSize
## Static Protected 変数
TObjectSharedMemory * | theObjectSharedMemory
## フレンド
Tint | operator<< (TOutputObjectStream &left, TStreamableObject &object)
Tint | operator<< (TOutputObjectStream &left, const TStreamableObject &object)

## Enum の解説

anonymous enum`[inherited]`

  | Enum 値:
  tDefaultMaxEvent |

anonymous enum`[inherited]`

  | Enum 値:
  tDefaultMemorySize |

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

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

TOutputObjectSharedMemory::TOutputObjectSharedMemory | ( | TObjectFilter * | 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]`

TObjectFilter * TObjectStream::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 TObjectStream::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 TObjectStream::SetObjectFilter | ( | TObjectFilter * | 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]`

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]`

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

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

TObjectFilter* TObjectStream::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