Public Member Functions

sc_during_pool Class Reference

Inheritance diagram for sc_during_pool:
Inheritance graph
[legend]
Collaboration diagram for sc_during_pool:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void extra_time (const sc_core::sc_time &t)
void catch_up (const sc_core::sc_time &t)
void sc_call (const boost::function< void()> &f)
void during (const sc_core::sc_time &, const boost::function< void()> &routine)
mode get_mode ()

Detailed Description

Definition at line 18 of file during-pool.h.


Member Function Documentation

void sc_during_pool::catch_up ( const sc_core::sc_time &  t  )  [virtual]

Blocks the current task until the SystemC time has reached the end of the task, minus t.

If t == 0, this means wait until the SystemC time has reached the end of this task.

Implements sc_during_if.

Definition at line 36 of file during-pool.cpp.

void sc_during_pool::during ( const sc_core::sc_time &  time,
const boost::function< void()> &  routine 
) [virtual]

Create a "during task" of duration time, executing the function routine.

The function routine may be executed as a separate OS thread, and is not allowed to execute SystemC primitives like wait or notify().

Implements sc_during_if.

Definition at line 44 of file during-pool.cpp.

void sc_during_pool::extra_time ( const sc_core::sc_time &  t  )  [virtual]

Increase duration of current task by t

Implements sc_during_if.

Definition at line 32 of file during-pool.cpp.

void sc_during_pool::sc_call ( const boost::function< void()> &  f  )  [virtual]

Call the function f in the context of SystemC. Unlike the during task, f is allowed to access shared variables without locking, to call SystemC primitives like notify() or wait().

Implements sc_during_if.

Definition at line 40 of file during-pool.cpp.


The documentation for this class was generated from the following files:
 All Classes Files Functions Defines