#include <sc_event.h>
Private メソッド | |
sc_event_timed (sc_event *e, const sc_time &t) | |
~sc_event_timed () | |
sc_event * | event () const |
const sc_time & | notify_time () const |
sc_event_timed () | |
sc_event_timed (const sc_event_timed &) | |
sc_event_timed & | operator= (const sc_event_timed &) |
Static Private メソッド | |
static void * | operator new (std::size_t) |
static void | operator delete (void *p, std::size_t) |
static void * | allocate () |
static void | deallocate (void *) |
Private 変数 | |
sc_event * | m_event |
sc_time | m_notify_time |
フレンド | |
class | sc_event |
class | sc_simcontext |
int | sc_notify_time_compare (const void *, const void *) |
sc_event.h の 166 行で定義されています。
sc_core::sc_event_timed::~sc_event_timed | ( | ) | [inline, private] |
sc_core::sc_event_timed::sc_event_timed | ( | ) | [private] |
sc_core::sc_event_timed::sc_event_timed | ( | const sc_event_timed & | ) | [private] |
sc_event* sc_core::sc_event_timed::event | ( | ) | const [inline, private] |
const sc_time& sc_core::sc_event_timed::notify_time | ( | ) | const [inline, private] |
static void* sc_core::sc_event_timed::operator new | ( | std::size_t | ) | [inline, static, private] |
static void sc_core::sc_event_timed::operator delete | ( | void * | p, | |
std::size_t | ||||
) | [inline, static, private] |
void * sc_core::sc_event_timed::allocate | ( | ) | [static, private] |
sc_event.cpp の 355 行で定義されています。
00356 { 00357 const int ALLOC_SIZE = 64; 00358 00359 if( free_list == 0 ) { 00360 free_list = (sc_event_timed_u*) malloc( ALLOC_SIZE * 00361 sizeof( sc_event_timed ) ); 00362 int i = 0; 00363 for( ; i < ALLOC_SIZE - 1; ++ i ) { 00364 free_list[i].next = &free_list[i + 1]; 00365 } 00366 free_list[i].next = 0; 00367 } 00368 00369 sc_event_timed_u* q = free_list; 00370 free_list = free_list->next; 00371 return q; 00372 }
void sc_core::sc_event_timed::deallocate | ( | void * | p | ) | [static, private] |
sc_event.cpp の 375 行で定義されています。
00376 { 00377 if( p != 0 ) { 00378 sc_event_timed_u* q = RCAST<sc_event_timed_u*>( p ); 00379 q->next = free_list; 00380 free_list = q; 00381 } 00382 }
sc_event_timed& sc_core::sc_event_timed::operator= | ( | const sc_event_timed & | ) | [private] |
friend class sc_event [friend] |
sc_event.h の 168 行で定義されています。
friend class sc_simcontext [friend] |
sc_event.h の 169 行で定義されています。
int sc_notify_time_compare | ( | const void * | p1, | |
const void * | p2 | |||
) | [friend] |
sc_event* sc_core::sc_event_timed::m_event [private] |
sc_event.h の 202 行で定義されています。
sc_event.h の 203 行で定義されています。