|
- A Logic Circuit Simulation Library in C++ |
#include <delexprpair.h>
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 |
| lcs::DelayStatePair::DelayStatePair | ( | unsigned int | delay, | |
| const LineState | state | |||
| ) | [inline] |
The only useful constructor.
| lcs::DelayStatePair::DelayStatePair | ( | const DelayStatePair & | dsp | ) | [inline] |
Copy constructor.
| 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.