SystemC  2.3.2
Accellera SystemC proof-of-concept library
sc_core::sc_cor_pkg Class Referenceabstract

Coroutine package abstract base class. More...

#include <sysc/kernel/sc_cor.h>

Inheritance diagram for sc_core::sc_cor_pkg:

Public Member Functions

 sc_cor_pkg (sc_simcontext *simc)
 
virtual ~sc_cor_pkg ()
 
virtual sc_corcreate (std::size_t stack_size, sc_cor_fn *fn, void *arg)=0
 
virtual void yield (sc_cor *next_cor)=0
 
virtual void abort (sc_cor *next_cor)=0
 
virtual sc_corget_main ()=0
 
sc_simcontextsimcontext ()
 

Detailed Description

Coroutine package abstract base class.

Definition at line 90 of file sc_cor.h.

Constructor & Destructor Documentation

◆ sc_cor_pkg()

sc_core::sc_cor_pkg::sc_cor_pkg ( sc_simcontext simc)
inline

Definition at line 95 of file sc_cor.h.

◆ ~sc_cor_pkg()

virtual sc_core::sc_cor_pkg::~sc_cor_pkg ( )
inlinevirtual

Definition at line 99 of file sc_cor.h.

Member Function Documentation

◆ abort()

virtual void sc_core::sc_cor_pkg::abort ( sc_cor next_cor)
pure virtual

Implemented in sc_core::sc_cor_pkg_qt.

◆ create()

virtual sc_cor* sc_core::sc_cor_pkg::create ( std::size_t  stack_size,
sc_cor_fn fn,
void *  arg 
)
pure virtual

Implemented in sc_core::sc_cor_pkg_qt.

◆ get_main()

virtual sc_cor* sc_core::sc_cor_pkg::get_main ( )
pure virtual

Implemented in sc_core::sc_cor_pkg_qt.

◆ simcontext()

sc_simcontext* sc_core::sc_cor_pkg::simcontext ( )
inline

Definition at line 115 of file sc_cor.h.

◆ yield()

virtual void sc_core::sc_cor_pkg::yield ( sc_cor next_cor)
pure virtual

Implemented in sc_core::sc_cor_pkg_qt.


The documentation for this class was generated from the following file: