SystemC  Recoding Infrastructure for SystemC v0.6.3 derived from Accellera SystemC 2.3.1
Accellera SystemC proof-of-concept library
Public Member Functions | Protected Member Functions | List of all members
sc_core::sc_cor Class Referenceabstract

Coroutine abstract base class. More...

#include <sysc/kernel/sc_cor.h>

Inheritance diagram for sc_core::sc_cor:
Inheritance graph
[legend]

Public Member Functions

virtual ~sc_cor ()
 
virtual void stack_protect (bool)
 
virtual void increment_counter ()=0
 Increment the lock counter. More...
 
virtual void decrement_counter ()=0
 Decrement the lock counter. More...
 
virtual unsigned int get_counter ()=0
 Get the value of the lock counter. More...
 

Protected Member Functions

 sc_cor ()
 

Detailed Description

Coroutine abstract base class.

Definition at line 57 of file sc_cor.h.

Constructor & Destructor Documentation

sc_core::sc_cor::sc_cor ( )
inlineprotected

Definition at line 62 of file sc_cor.h.

virtual sc_core::sc_cor::~sc_cor ( )
inlinevirtual

Definition at line 67 of file sc_cor.h.

Member Function Documentation

virtual void sc_core::sc_cor::decrement_counter ( )
pure virtual

Decrement the lock counter.

virtual unsigned int sc_core::sc_cor::get_counter ( )
pure virtual

Get the value of the lock counter.

virtual void sc_core::sc_cor::increment_counter ( )
pure virtual

Increment the lock counter.

virtual void sc_core::sc_cor::stack_protect ( bool  )
inlinevirtual

Reimplemented in sc_core::sc_cor_qt.

Definition at line 70 of file sc_cor.h.


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