#include <EventList.h>
Onikiri::EventListのコラボレーション図
Public 型 | |
typedef ListType::const_iterator | ConstIteratorType |
typedef ListType::iterator | IteratorType |
typedef pool_vector< Entry > | ListType |
typedef u32 | MaskType |
Public メソッド | |
INLINE void | AddEvent (const EventPtr &eventPtr, MaskType mask=EVENT_MASK_DEFAULT) |
ConstIteratorType | begin () const |
INLINE void | Cancel (MaskType mask=EVENT_MASK_ALL) |
INLINE void | Clear () |
ConstIteratorType | end () const |
EventList () | |
int | Size () const |
Static Public 変数 | |
static const MaskType | EVENT_MASK_ALL = ~((MaskType)0) |
static const MaskType | EVENT_MASK_DEFAULT = 1 << EVENT_MASK_POS_DEFAULT |
static const int | EVENT_MASK_POS_DEFAULT = 0 |
static const int | EVENT_MASK_POS_USER = 1 |
構成 | |
struct | Entry |
EventList.h の 45 行で定義されています。
typedef ListType::const_iterator Onikiri::EventList::ConstIteratorType |
EventList.h の 70 行で定義されています。
typedef ListType::iterator Onikiri::EventList::IteratorType |
EventList.h の 69 行で定義されています。
typedef pool_vector< Entry > Onikiri::EventList::ListType |
EventList.h の 68 行で定義されています。
typedef u32 Onikiri::EventList::MaskType |
EventList.h の 49 行で定義されています。
Onikiri::EventList::EventList | ( | ) | [inline] |
INLINE void Onikiri::EventList::AddEvent | ( | const EventPtr & | eventPtr, | |
MaskType | mask = EVENT_MASK_DEFAULT | |||
) | [inline] |
EventList.h の 77 行で定義されています。
参照先 ASSERT.
参照元 Onikiri::Op::AddEvent()・Onikiri::TimeWheelBase::AddEvent().
00078 { 00079 ASSERT( !m_inProcess ); 00080 m_list.push_back( Entry( eventPtr, mask ) ); 00081 }
Here is the caller graph for this function:
ConstIteratorType Onikiri::EventList::begin | ( | ) | const [inline] |
EventList.h の 115 行で定義されています。
参照元 Onikiri::PriorityEventList::ExtractEvent().
Here is the caller graph for this function:
INLINE void Onikiri::EventList::Cancel | ( | MaskType | mask = EVENT_MASK_ALL |
) | [inline] |
EventList.h の 84 行で定義されています。
参照先 ASSERT・EVENT_MASK_ALL.
参照元 Onikiri::Op::CancelEvent().
00085 { 00086 ASSERT( !m_inProcess ); 00087 m_inProcess = true; 00088 00089 if( mask == EVENT_MASK_ALL ){ 00090 for( ListType::iterator i = m_list.begin(); i != m_list.end(); ++i ){ 00091 i->event->Cancel(); 00092 } 00093 m_list.clear(); 00094 } 00095 else{ 00096 for( ListType::iterator i = m_list.begin(); i != m_list.end(); ++i ){ 00097 if( mask & i->mask ){ 00098 i->event->Cancel(); 00099 } 00100 } 00101 } 00102 m_inProcess = false; 00103 }
Here is the caller graph for this function:
INLINE void Onikiri::EventList::Clear | ( | ) | [inline] |
EventList.h の 110 行で定義されています。
参照元 Onikiri::Op::ClearEvent()・Onikiri::TimeWheelBase::End().
Here is the caller graph for this function:
ConstIteratorType Onikiri::EventList::end | ( | ) | const [inline] |
EventList.h の 120 行で定義されています。
参照元 Onikiri::PriorityEventList::ExtractEvent().
Here is the caller graph for this function:
int Onikiri::EventList::Size | ( | ) | const [inline] |
const MaskType Onikiri::EventList::EVENT_MASK_ALL = ~((MaskType)0) [static] |
const MaskType Onikiri::EventList::EVENT_MASK_DEFAULT = 1 << EVENT_MASK_POS_DEFAULT [static] |
EventList.h の 53 行で定義されています。
const int Onikiri::EventList::EVENT_MASK_POS_DEFAULT = 0 [static] |
EventList.h の 50 行で定義されています。
const int Onikiri::EventList::EVENT_MASK_POS_USER = 1 [static] |
EventList.h の 51 行で定義されています。