00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016 #include "torc/generic/om/NetDelay.hpp"
00017
00018 namespace torc {
00019
00020 namespace generic {
00021
00022
00023
00024
00025
00026
00027 void
00028 NetDelay::setDerivation(const Derivation & value) throw() {
00029 mDerivation = value;
00030 }
00031
00032
00033
00034
00035
00036
00037 void
00038 NetDelay::setDelay(const Value::MiNoMax & value) throw() {
00039 mDelay = value;
00040 }
00041
00042
00043
00044
00045
00046
00047 void
00048 NetDelay::setTransition(const LogicElementSharedPtr & inSource) throw() {
00049 mTransition = inSource;
00050 }
00051
00052 NetDelay::NetDelay()
00053 :mDerivation( eDerivationUndefined ),
00054 mDelay(),
00055 mTransition() {
00056 }
00057
00058 NetDelay::~NetDelay() throw() {
00059 }
00060
00061 NetDelay::NetDelay(const NetDelay & source) throw()
00062 : mDerivation( source.mDerivation ),
00063 mDelay( source.mDelay ),
00064 mTransition( source.mTransition ) {
00065 }
00066
00067 NetDelay &
00068 NetDelay::operator=(const NetDelay & source) throw() {
00069 if( this != &source )
00070 {
00071 mDerivation = source.mDerivation;
00072 mDelay = source.mDelay;
00073 mTransition = source.mTransition;
00074 }
00075 return *this;
00076 }
00077
00078 }
00079
00080 }