next up previous contents
Next: process Class Instantiation Up: Processes Previous: process Class Variables

process Class Methods

Subprograms declared in the process declaration region are converted into member functions of the process class. Further, each process class includes three additional methods:

Method Description
'ProcessClass'(
        'ArchitectureClass'
                *architecture,
        name_stack &iname)
``architecture'' points to the architecture instance of the process. ``iname'' is the instance names of the process. During execution the declaration part of the process is elaborated. Additionally, all copies of architecture-entity objects are initialised.
~ 'ProcessClass' () Destructor to clean up memory if the process is terminated.
bool execute() This function is called by the kernel to execute the process. It returns whether it resumed its execution (true) or remains suspended because of a conditional wait condition (false). The return value is used only if the process is currently suspended by a conditional wait.
   




1998-11-17