torc-master
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
torc::generic::NetDelay Class Reference

Represents the netDelay attribute of Net. More...

#include <NetDelay.hpp>

+ Collaboration diagram for torc::generic::NetDelay:

Public Member Functions

const Derivation getDerivation () const
 
void setDerivation (const Derivation &value)
 
const Value::MiNoMax getDelay () const
 
void setDelay (const Value::MiNoMax &value)
 
const LogicElementSharedPtr getTransition () const
 
void setTransition (const LogicElementSharedPtr &inSource)
 
 NetDelay ()
 
 ~NetDelay () throw ()
 
 NetDelay (const NetDelay &source)
 
NetDelayoperator= (const NetDelay &source)
 

Private Attributes

Derivation mDerivation
 
Value::MiNoMax mDelay
 
LogicElementSharedPtr mTransition
 

Detailed Description

Represents the netDelay attribute of Net.

The NetDelay class stores the delay value and its derivation for the given set of transitions.

Definition at line 32 of file NetDelay.hpp.

Constructor & Destructor Documentation

torc::generic::NetDelay::NetDelay ( )

Definition at line 48 of file NetDelay.cpp.

torc::generic::NetDelay::~NetDelay ( )
throw (
)

Definition at line 50 of file NetDelay.cpp.

50 {}
torc::generic::NetDelay::NetDelay ( const NetDelay source)

Definition at line 52 of file NetDelay.cpp.

52  :
53  mDerivation(source.mDerivation), mDelay(source.mDelay), mTransition(source.mTransition) {}
Value::MiNoMax mDelay
Definition: NetDelay.hpp:86
LogicElementSharedPtr mTransition
Definition: NetDelay.hpp:87
Derivation mDerivation
Definition: NetDelay.hpp:85

Member Function Documentation

const Value::MiNoMax torc::generic::NetDelay::getDelay ( ) const
inline

Get delay value

Returns
Value containing Value::MiNoMax

Definition at line 104 of file NetDelay.hpp.

104  {
105  return mDelay;
106 }
Value::MiNoMax mDelay
Definition: NetDelay.hpp:86

+ Here is the caller graph for this function:

const Derivation torc::generic::NetDelay::getDerivation ( ) const
inline

Get derivation

Returns
Derivation value

Definition at line 95 of file NetDelay.hpp.

95  {
96  return mDerivation;
97 }
Derivation mDerivation
Definition: NetDelay.hpp:85

+ Here is the caller graph for this function:

const LogicElementSharedPtr torc::generic::NetDelay::getTransition ( ) const
inline

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

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

Definition at line 113 of file NetDelay.hpp.

113  {
114  return mTransition;
115 }
LogicElementSharedPtr mTransition
Definition: NetDelay.hpp:87

+ Here is the caller graph for this function:

NetDelay & torc::generic::NetDelay::operator= ( const NetDelay source)

Definition at line 55 of file NetDelay.cpp.

55  {
56  if(this != &source) {
57  mDerivation = source.mDerivation;
58  mDelay = source.mDelay;
59  mTransition = source.mTransition;
60  }
61  return *this;
62 }
Value::MiNoMax mDelay
Definition: NetDelay.hpp:86
LogicElementSharedPtr mTransition
Definition: NetDelay.hpp:87
Derivation mDerivation
Definition: NetDelay.hpp:85
void torc::generic::NetDelay::setDelay ( const Value::MiNoMax value)

Set delay value

Parameters
[in]valueDelay value. Must be Value::MiNoMax

Definition at line 35 of file NetDelay.cpp.

35  {
36  mDelay = value;
37 }
Value::MiNoMax mDelay
Definition: NetDelay.hpp:86
void torc::generic::NetDelay::setDerivation ( const Derivation value)

Set derivation

Parameters
[in]valueDerivation value

Definition at line 26 of file NetDelay.cpp.

26  {
27  mDerivation = value;
28 }
Derivation mDerivation
Definition: NetDelay.hpp:85
void torc::generic::NetDelay::setTransition ( const LogicElementSharedPtr inSource)

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

Parameters
[in]inSourcePointer to logic state value(transition/becomes).

Definition at line 44 of file NetDelay.cpp.

44  {
45  mTransition = inSource;
46 }
LogicElementSharedPtr mTransition
Definition: NetDelay.hpp:87

Field Documentation

Value::MiNoMax torc::generic::NetDelay::mDelay
private

Definition at line 86 of file NetDelay.hpp.

Derivation torc::generic::NetDelay::mDerivation
private

Definition at line 85 of file NetDelay.hpp.

LogicElementSharedPtr torc::generic::NetDelay::mTransition
private

Definition at line 87 of file NetDelay.hpp.


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