- A Logic Circuit Simulation Library in C++





lcs::DelayStatePair Class Reference

#include <delexprpair.h>

List of all members.


Detailed Description

A class whose objects facilitate assignment delays when a lcs::LineState 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::Expression<1, LINE_EXPR, void, void>::operator= and lcs::Bus::operator= for more information on incorporating assignment delays.


Public Member Functions

 DelayStatePair (unsigned int delay, const LineState state)
 DelayStatePair (const DelayStatePair &dsp)
const LineState getState (void) const
unsigned int getDelay (void) const


Constructor & Destructor Documentation

lcs::DelayStatePair::DelayStatePair ( unsigned int  delay,
const LineState  state 
) [inline]

The only useful constructor.

lcs::DelayStatePair::DelayStatePair ( const DelayStatePair dsp  )  [inline]

Copy constructor.


Member Function Documentation

unsigned int lcs::DelayStatePair::getDelay ( void   )  const [inline]

Returns the delay associated with the delay-state pair.

const LineState lcs::DelayStatePair::getState ( void   )  const [inline]

Returns the state associated with the delay-state pair.


Copyright © 2006, 2007 Siva Chandra