クラス sc_core::sc_event_timed

#include <sc_event.h>

すべてのメンバ一覧

Private メソッド

 sc_event_timed (sc_event *e, const sc_time &t)
 ~sc_event_timed ()
sc_eventevent () const
const sc_timenotify_time () const
 sc_event_timed ()
 sc_event_timed (const sc_event_timed &)
sc_event_timedoperator= (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_eventm_event
sc_time m_notify_time

フレンド

class sc_event
class sc_simcontext
int sc_notify_time_compare (const void *, const void *)


説明

sc_event.h166 行で定義されています。


コンストラクタとデストラクタ

sc_core::sc_event_timed::sc_event_timed ( sc_event e,
const sc_time t 
) [inline, private]

sc_event.h175 行で定義されています。

00176         : m_event( e ), m_notify_time( t )
00177         {}

sc_core::sc_event_timed::~sc_event_timed (  )  [inline, private]

sc_event.h179 行で定義されています。

00180         { if( m_event != 0 ) { m_event->m_timed = 0; } }

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]

sc_event.h182 行で定義されています。

00183         { return m_event; }

const sc_time& sc_core::sc_event_timed::notify_time (  )  const [inline, private]

sc_event.h185 行で定義されています。

00186         { return m_notify_time; }

static void* sc_core::sc_event_timed::operator new ( std::size_t   )  [inline, static, private]

sc_event.h188 行で定義されています。

00189         { return allocate(); }

static void sc_core::sc_event_timed::operator delete ( void *  p,
std::size_t   
) [inline, static, private]

sc_event.h191 行で定義されています。

00192         { deallocate( p ); }

void * sc_core::sc_event_timed::allocate (  )  [static, private]

sc_event.cpp355 行で定義されています。

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.cpp375 行で定義されています。

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.h168 行で定義されています。

friend class sc_simcontext [friend]

sc_event.h169 行で定義されています。

int sc_notify_time_compare ( const void *  p1,
const void *  p2 
) [friend]


変数

sc_event.h202 行で定義されています。

sc_event.h203 行で定義されています。


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

SystemCに対してFri Jun 6 20:11:58 2008に生成されました。  doxygen 1.5.6