Public Member Functions

sc_during_seq Class Reference

Inheritance diagram for sc_during_seq:
Inheritance graph
[legend]
Collaboration diagram for sc_during_seq:
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 &time, const boost::function< void()> &routine)
mode get_mode ()

Detailed Description

Definition at line 19 of file during-seq.h.


Member Function Documentation

void sc_during_seq::catch_up ( const sc_core::sc_time &  t  )  [inline, 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 29 of file during-seq.h.

void sc_during_seq::during ( const sc_core::sc_time &  time,
const boost::function< void()> &  routine 
) [inline, 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 43 of file during-seq.h.

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

Increase duration of current task by t

Implements sc_during_if.

Definition at line 21 of file during-seq.cpp.

void sc_during_seq::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 27 of file during-seq.cpp.


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