TNB Library
公開メンバ関数 | 全メンバ一覧
ISynchronized 構造体abstract

排他基本インターフェース [詳解]

#include <TnbSync.h>

IConstCollectionT< bool >, IConstCollectionT< BYTE >, IConstCollectionT< TNB::CPairT< T, T > >, IConstCollectionT< TNB::CPairT< KEY, VAL > >, IConstCollectionT< KEY >, IConstCollectionT< VAL >, IConstCollectionT< TYP * >, IConstCollectionT< DWORD >, IConstCollectionT< TNB::CArrayPtrHandleT< TYP > >, IConstCollectionT< WORD >, IConstCollectionT< TNB::CVectorT >, IConstCollectionT< TValue >, IConstCollectionT< CVectorT< BYTE > >, IConstCollectionT< TNB::CPairT< TNB::CStrT, TNB::CSingleSetT< TNB::CStrT > > >, IConstCollectionT< TNB::CPairT >, IConstCollectionT< CStr >, IConstCollectionT< TParam >, IConstCollectionT< TNB::CArrayPtrHandleT< TParam > >, IConstCollectionT< TCHAR >, IConstCollectionT< TNB::CPairT< PROPID, CTagInfo > >, IConstCollectionT< TNB::CGrid::TFieldInfo >, IConstCollectionT< TNB::CPairT< int, HICON > >, IConstCollectionT< HICON >, IConstCollectionT< TNB::CMailAddress >, IConstCollectionT< CAscii >, IConstCollectionT< TNB::CPairT< TNB::CStrT, CVectorT< BYTE > > >, IConstCollectionT< TNB::CPairT< CAscii, CAscii > >, IConstCollectionT< TNB::CMultiFontTextDrawer::TPart >, IConstCollectionT< POINT >, IConstCollectionT< CCursorManager * >, IConstCollectionT< TNB::CPointerHandleT< CCursorManager > >, IConstCollectionT< TNB::CNmea0183::TGpGsv >, IConstCollectionT< TNB::CPacketCommander::CInner::TTask * >, IConstCollectionT< TNB::CPointerHandleT< TYP > >, IConstCollectionT< TNB::CListQueueT< TYP > >, IConstCollectionT< TInfo >, IConstCollectionT< TNB::CStrT< TYP > >, IConstCollectionT< TNB::CShapeFile::IRecordContent * >, IConstCollectionT< TNB::CPointerHandleT< TNB::CShapeFile::IRecordContent > >, IConstCollectionT< SOCKET >, IConstCollectionT< TNB::CPairT< TNB::CStrT, TNB::CMapT > >, IConstCollectionT< TNB::CPairT< DWORD, TYP > >, IConstCollectionT< TBindWork * >, IConstCollectionT< TNB::CPointerHandleT< TBindWork > >, IConstCollectionT< CFileInfoArray >, IConstCollectionT< TNB::CTmlDocuments::TFileInfo::TFunc >, IConstCollectionT< TFuncInfo >, IConstCollectionT< EKind >, IConstCollectionT< TNB::CGrammarAnalyzerT >, IConstCollectionT< INDEX >, IConstCollectionT< CVaVaVector >, IConstCollectionT< CArVaVector >, IConstCollectionT< CTmlValue >, IConstCollectionT< char >, IConstCollectionT< short >, IConstCollectionT< TNB::CPairT< FOURCC, TChunkMap > >, IConstCollectionT< TNB::CPairT< FOURCC, TNB::CStrT > >, IConstCollectionT< EAttr >, IConstCollectionT< TParam * >, IConstCollectionT< TNB::MFC::CColorfulListBox::CColor::TParam >, IConstCollectionT< CPointerHandleT< IDrawable > >, IConstCollectionT< UINT >, IConstCollectionT< CDrawersVector >, IConstCollectionT< IDrawable::Ptr >, IConstCollectionT< TNB::MFC::CDrawingSubMenu * >, IConstCollectionT< TNB::CPointerHandleT< TNB::MFC::CDrawingSubMenu > >, IConstCollectionT< TNB::CPairT< HTREEITEM, CPointerHandleT< IDrawable > > >, IConstCollectionT< CArrayPtrHandleT< TCHAR > >, IConstCollectionT< TNB::CPairT< COLORREF, CPointerHandleT< TPointInfo > > >, CAbstractSyncHandle, CSyncCounter, CSyncDummy, CSyncMetered, CSyncSection, IConstCollectionT< TYP > (計75項目)に継承されています。

公開メンバ関数

virtual bool Lock (DWORD dwTime=INFINITE) const =0
 [排他] ロック [詳解]
 
virtual void Unlock (void) const =0
 [排他] アンロック [詳解]
 
virtual ~ISynchronized (void)
 デストラクタ [詳解]
 

詳解

排他基本インターフェース

Lock と Unlock を持ちます。
日付
06/01/01 新規作成
06/08/23 メンバをconst宣言

TnbSync.h39 行目に定義があります。

構築子と解体子

◆ ~ISynchronized()

virtual ~ISynchronized ( void  )
virtual

デストラクタ

TnbSync.h42 行目に定義があります。

関数詳解

◆ Lock()

virtual bool Lock ( DWORD  dwTime = INFINITE) const
pure virtual

[排他] ロック

引数
dwTimeロックにトライし続けるミリ秒。省略すると無限に待ちます。
戻り値
true成功
false失敗

CBitVector, CBlockLinkVectorT< TYP >, CBlockLinkVectorT< TParam >, CAbstractAdapterT< TYP >, CAbstractAdapterT< BYTE >, CConstAppendAdapterT< TYP >, COffsetAdapterT< TYP >, CConstAdapterT< TYP >, CIndexAdapterT< TYP >, CConstFileMappingT< TYP >, CConstFileMappingT< BYTE >, CConstFileMappingT< short >, CConstResourceData, CDummyCollectionT< TYP >, CDummyCollectionT< BYTE >, CReaderAdapter, CWriterAdapter, CFileMappingT< TYP >, CListT< TYP, ATT >, CListT< TNB::CListQueueT< TYP > >, CMapT< KEY, VAL, INK >::CConstKeysAdapter, CMapT< KEY, VAL, INK >::CConstValuesAdapter, CMapT< KEY, VAL, INK >, CMapT< TNB::CStrT, TNB::CSingleSetT< TNB::CStrT > >, CMapT< PROPID, CTagInfo >, CMapT< int, HICON >, CMapT< TNB::CStrT, CVectorT< BYTE > >, CMapT< CAscii, CAscii, LPCSTR >, CMapT< TNB::CStrT, TNB::CMapT, LPCTSTR >, CMapT< DWORD, TYP >, CMapT< FOURCC, TChunkMap >, CMapT< FOURCC, TNB::CStrT >, CMapT< HTREEITEM, CPointerHandleT< IDrawable > >, CMapT< COLORREF, CPointerHandleT< TPointInfo > >, CPointerVectorT< TYP >, CPointerVectorT< CCursorManager >, CPointerVectorT< TNB::CShapeFile::IRecordContent >, CPointerVectorT< TBindWork >, CPointerVectorT< TNB::MFC::CDrawingSubMenu >, CPriorityQueueT< TYP >, CRingQueueT< TYP, ISI, INV >, CRingQueueT< TYP, false, TYP >, CRingQueueT< CVectorT< BYTE >, false, CVectorT< BYTE > >, CRingQueueT< BYTE >, CRingQueueT< TParam >, CRingQueueT< CArrayPtrHandleT< TCHAR > >, CSingleSetT< TYP >, CSingleSetT< TNB::CPacketCommander::CInner::TTask * >, CSharedQueueT< TYP, SIZ >, CAbstractSyncHandle, CSyncSection, CSyncSectionEx, CSyncCounter, CSyncDummy, CSyncMetered, CVectorT< TYP >, CVectorT< TNB::CPairT< T, T > >, CVectorT< BYTE >, CVectorT< DWORD >, CVectorT< TNB::CArrayPtrHandleT< TYP > >, CVectorT< WORD >, CVectorT< TNB::CVectorT >, CVectorT< TValue >, CVectorT< TNB::CPairT >, CVectorT< CStr >, CVectorT< TNB::CArrayPtrHandleT< TParam > >, CVectorT< TCHAR >, CVectorT< TNB::CGrid::TFieldInfo >, CVectorT< HICON >, CVectorT< TNB::CMailAddress >, CVectorT< CAscii >, CVectorT< TNB::CMultiFontTextDrawer::TPart >, CVectorT< POINT >, CVectorT< TNB::CPointerHandleT< CCursorManager > >, CVectorT< TNB::CNmea0183::TGpGsv >, CVectorT< TNB::CPacketCommander::CInner::TTask * >, CVectorT< TNB::CPointerHandleT< TYP > >, CVectorT< TInfo >, CVectorT< TParam >, CVectorT< TNB::CStrT< TYP > >, CVectorT< TNB::CPointerHandleT< TNB::CShapeFile::IRecordContent > >, CVectorT< SOCKET >, CVectorT< CVectorT< BYTE > >, CVectorT< TYP * >, CVectorT< TNB::CPointerHandleT< TBindWork > >, CVectorT< CFileInfoArray >, CVectorT< TNB::CTmlDocuments::TFileInfo::TFunc >, CVectorT< TFuncInfo >, CVectorT< EKind >, CVectorT< TNB::CGrammarAnalyzerT >, CVectorT< INDEX >, CVectorT< CVaVaVector >, CVectorT< CArVaVector >, CVectorT< CTmlValue >, CVectorT< char >, CVectorT< EAttr >, CVectorT< TParam * >, CVectorT< TNB::MFC::CColorfulListBox::CColor::TParam >, CVectorT< CPointerHandleT< IDrawable > >, CVectorT< UINT >, CVectorT< CDrawersVector >, CVectorT< IDrawable::Ptr >, CVectorT< TNB::CPointerHandleT< TNB::MFC::CDrawingSubMenu > > (計103項目)で実装されています。

◆ Unlock()

virtual void Unlock ( void  ) const
pure virtual

[排他] アンロック

CBitVector, CBlockLinkVectorT< TYP >, CBlockLinkVectorT< TParam >, CAbstractAdapterT< TYP >, CAbstractAdapterT< BYTE >, CConstAppendAdapterT< TYP >, COffsetAdapterT< TYP >, CConstAdapterT< TYP >, CIndexAdapterT< TYP >, CConstFileMappingT< TYP >, CConstFileMappingT< BYTE >, CConstFileMappingT< short >, CConstResourceData, CDummyCollectionT< TYP >, CDummyCollectionT< BYTE >, CReaderAdapter, CWriterAdapter, CFileMappingT< TYP >, CListT< TYP, ATT >, CListT< TNB::CListQueueT< TYP > >, CMapT< KEY, VAL, INK >::CConstKeysAdapter, CMapT< KEY, VAL, INK >::CConstValuesAdapter, CMapT< KEY, VAL, INK >, CMapT< TNB::CStrT, TNB::CSingleSetT< TNB::CStrT > >, CMapT< PROPID, CTagInfo >, CMapT< int, HICON >, CMapT< TNB::CStrT, CVectorT< BYTE > >, CMapT< CAscii, CAscii, LPCSTR >, CMapT< TNB::CStrT, TNB::CMapT, LPCTSTR >, CMapT< DWORD, TYP >, CMapT< FOURCC, TChunkMap >, CMapT< FOURCC, TNB::CStrT >, CMapT< HTREEITEM, CPointerHandleT< IDrawable > >, CMapT< COLORREF, CPointerHandleT< TPointInfo > >, CPointerVectorT< TYP >, CPointerVectorT< CCursorManager >, CPointerVectorT< TNB::CShapeFile::IRecordContent >, CPointerVectorT< TBindWork >, CPointerVectorT< TNB::MFC::CDrawingSubMenu >, CPriorityQueueT< TYP >, CRingQueueT< TYP, ISI, INV >, CRingQueueT< TYP, false, TYP >, CRingQueueT< CVectorT< BYTE >, false, CVectorT< BYTE > >, CRingQueueT< BYTE >, CRingQueueT< TParam >, CRingQueueT< CArrayPtrHandleT< TCHAR > >, CSingleSetT< TYP >, CSingleSetT< TNB::CPacketCommander::CInner::TTask * >, CSharedQueueT< TYP, SIZ >, CSyncSection, CSyncMutex, CSyncSemaphore, CSyncEvent, CSyncCounter, CSyncDummy, CSyncMetered, CSyncWaitableTimer, CVectorT< TYP >, CVectorT< TNB::CPairT< T, T > >, CVectorT< BYTE >, CVectorT< DWORD >, CVectorT< TNB::CArrayPtrHandleT< TYP > >, CVectorT< WORD >, CVectorT< TNB::CVectorT >, CVectorT< TValue >, CVectorT< TNB::CPairT >, CVectorT< CStr >, CVectorT< TNB::CArrayPtrHandleT< TParam > >, CVectorT< TCHAR >, CVectorT< TNB::CGrid::TFieldInfo >, CVectorT< HICON >, CVectorT< TNB::CMailAddress >, CVectorT< CAscii >, CVectorT< TNB::CMultiFontTextDrawer::TPart >, CVectorT< POINT >, CVectorT< TNB::CPointerHandleT< CCursorManager > >, CVectorT< TNB::CNmea0183::TGpGsv >, CVectorT< TNB::CPacketCommander::CInner::TTask * >, CVectorT< TNB::CPointerHandleT< TYP > >, CVectorT< TInfo >, CVectorT< TParam >, CVectorT< TNB::CStrT< TYP > >, CVectorT< TNB::CPointerHandleT< TNB::CShapeFile::IRecordContent > >, CVectorT< SOCKET >, CVectorT< CVectorT< BYTE > >, CVectorT< TYP * >, CVectorT< TNB::CPointerHandleT< TBindWork > >, CVectorT< CFileInfoArray >, CVectorT< TNB::CTmlDocuments::TFileInfo::TFunc >, CVectorT< TFuncInfo >, CVectorT< EKind >, CVectorT< TNB::CGrammarAnalyzerT >, CVectorT< INDEX >, CVectorT< CVaVaVector >, CVectorT< CArVaVector >, CVectorT< CTmlValue >, CVectorT< char >, CVectorT< EAttr >, CVectorT< TParam * >, CVectorT< TNB::MFC::CColorfulListBox::CColor::TParam >, CVectorT< CPointerHandleT< IDrawable > >, CVectorT< UINT >, CVectorT< CDrawersVector >, CVectorT< IDrawable::Ptr >, CVectorT< TNB::CPointerHandleT< TNB::MFC::CDrawingSubMenu > > (計105項目)で実装されています。