svt_dispatch Class Reference

Inheritance diagram for class svt_dispatch:

List of all members.


Detailed Description

This class defines a methodology independent dispatch technology for sending transactions to downstream components.



Public Member Functions

function void  new ( vmm_log log )
task   send_xact ( T xact )

Class Parameters

type  T = svt_transaction

Public Attributes

vmm_channel  chan 
vmm_log  log 

Protected Attributes

protected semaphore  dispatch_semaphore = new; 


Member Function Documentation

  function void
 svt_dispatch::new

 (  vmm_log log  ) 


CONSTRUCTOR: Create a new svt_dispatch instance.

log - vmm_log instance used for messaging.

  task
 svt_dispatch::send_xact

 (  T xact  ) 


Dispatch the transaction downstream.

xact - Transaction to be sent.


Class Parameters Documentation

 type  attribute
 svt_dispatch::T = svt_transaction


Member Attribute Documentation

 vmm_channel  attribute
 svt_dispatch::chan


Channel used to dispatch the transaction to the downstream component.

 protected semaphore  attribute
 svt_dispatch::dispatch_semaphore = new


Semaphore to make sure only one transaction displatch occurs at a time

 vmm_log  attribute
 svt_dispatch::log


Shared vmm_log used for internal messaging.