torc::generic::PortDelay Class Reference

Represents the portDelay attribute on Port or PortReference. More...

#include <PortDelay.hpp>

Collaboration diagram for torc::generic::PortDelay:

Collaboration graph
[legend]

List of all members.

Public Types

enum  Type { eTypeDelay, eTypeLoadDelay }

Public Member Functions

const Derivation getDerivation () const throw ()
void setDerivation (const Derivation &inSource) throw ()
const PortDelay::Type getType () const throw ()
void setType (Type inSource) throw ()
const Value::MiNoMax getDelay () const throw ()
void setDelay (const Value::MiNoMax &inSource) throw ()
const Value::MiNoMax getAcLoad () const throw ()
void setAcLoad (const Value::MiNoMax &inSource) throw ()
const LogicElementSharedPtr getTransition () const throw ()
void setTransition (const LogicElementSharedPtr &inSource) throw ()
 PortDelay (const PortDelay &source)
PortDelayoperator= (const PortDelay &source) throw ()

Private Attributes

Derivation mDerivation
Type mType
Value::MiNoMax mDelay
Value::MiNoMax mAcLoad
LogicElementSharedPtr mTransition


Detailed Description

Represents the portDelay attribute on Port or PortReference.

The Portdelay class stores the delay inSource for a port. Currently it supports storing only static delay values. Load dependent delay inSource support (using the loadDelay construct) is not present.

Definition at line 38 of file PortDelay.hpp.


Member Function Documentation

const Derivation torc::generic::PortDelay::getDerivation (  )  const throw () [inline]

Get derivation

Returns:
Derivation value

Definition at line 159 of file PortDelay.hpp.

void torc::generic::PortDelay::setDerivation ( const Derivation inSource  )  throw ()

Set derivation

Parameters:
[in] inSource Derivation inSource

Definition at line 35 of file PortDelay.cpp.

const PortDelay::Type torc::generic::PortDelay::getType ( void   )  const throw () [inline]

Get whether value is delay or loadDelay

Returns:
Type

Definition at line 164 of file PortDelay.hpp.

void torc::generic::PortDelay::setType ( Type  inSource  )  throw ()

Set whether value is delay or loadDelay

Parameters:
[in] inSource Type of data

Definition at line 41 of file PortDelay.cpp.

const Value::MiNoMax torc::generic::PortDelay::getDelay (  )  const throw () [inline]

Get delay

Returns:
MiNoMax value

Definition at line 169 of file PortDelay.hpp.

void torc::generic::PortDelay::setDelay ( const Value::MiNoMax inSource  )  throw ()

Set delay

Parameters:
[in] inSource Delay value.

Definition at line 46 of file PortDelay.cpp.

const Value::MiNoMax torc::generic::PortDelay::getAcLoad (  )  const throw () [inline]

Get the AcLoad value. This is valid when value type is loadDelay

Returns:
MiNoMax value

Definition at line 174 of file PortDelay.hpp.

void torc::generic::PortDelay::setAcLoad ( const Value::MiNoMax inSource  )  throw ()

Set AC Load

Parameters:
[in] inSource Load value

Definition at line 52 of file PortDelay.cpp.

const LogicElementSharedPtr torc::generic::PortDelay::getTransition (  )  const throw () [inline]

Get the pointer to logic state value( transition/becomes ).

Returns:
Pointer to logic state value( transition/becomes ).

Definition at line 184 of file PortDelay.hpp.

void torc::generic::PortDelay::setTransition ( const LogicElementSharedPtr &  inSource  )  throw ()

Set the pointer to logic state value( transition/becomes ).

Parameters:
[in] inSource Pointer to logic state value( transition/becomes ).

Definition at line 57 of file PortDelay.cpp.


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

Generated on Thu Oct 13 16:50:18 2011 for TORC by  doxygen 1.5.6