- A Logic Circuit Simulation Library in C++

lcs::DelayBusPair< w > Class Template Reference

#include <delbuspair.h>

List of all members.

Detailed Description

template<int w>
class lcs::DelayBusPair< w >

A class whose objects facilitate assignment delays when a bus is being assigned to a bus or a bus line. This class will never need to be used by a user of libLCS directly.

See lcs::Bus::operator= for more information on incorporating assignment delays.

Public Member Functions

 DelayBusPair (unsigned int delay, const InputBus< w > &bus)
 DelayBusPair (const DelayBusPair< w > &obj)
 ~DelayBusPair ()
unsigned int getDelay (void) const
const InputBus< w > getBus () const

Constructor & Destructor Documentation

template<int w>
lcs::DelayBusPair< w >::DelayBusPair ( unsigned int  delay,
const InputBus< w > &  bus 
) [inline]

The only usefull constructor.

delay The delay associated with the pair
bus The bus associated with the pair

template<int w>
lcs::DelayBusPair< w >::DelayBusPair ( const DelayBusPair< w > &  obj  )  [inline]

The copy constructor

template<int w>
lcs::DelayBusPair< w >::~DelayBusPair (  )  [inline]


Member Function Documentation

template<int w>
const InputBus<w> lcs::DelayBusPair< w >::getBus (  )  const [inline]

Returns the bus associated with the delay-bus pair.

template<int w>
unsigned int lcs::DelayBusPair< w >::getDelay ( void   )  const [inline]

Returns the delay associated with the delay-bus pair.

Copyright © 2006, 2007 Siva Chandra