mirror of
https://github.com/wavemotion-dave/NINTV-DS.git
synced 2025-06-18 13:55:33 -04:00
31 lines
587 B
C++
31 lines
587 B
C++
|
|
#ifndef SIGNALLINE_H
|
|
#define SIGNALLINE_H
|
|
|
|
#include "types.h"
|
|
|
|
class Processor;
|
|
|
|
class SignalLine
|
|
{
|
|
public:
|
|
SignalLine()
|
|
{ SignalLine(NULL, 0, NULL, 0); }
|
|
|
|
SignalLine(Processor* pop, UINT8 pon, Processor* pip, UINT8 pin)
|
|
: pinOutProcessor(pop),
|
|
pinOutNum(pon),
|
|
pinInProcessor(pip),
|
|
pinInNum(pin),
|
|
isHigh(FALSE) { }
|
|
|
|
Processor* pinOutProcessor;
|
|
UINT8 pinOutNum;
|
|
Processor* pinInProcessor;
|
|
UINT8 pinInNum;
|
|
BOOL isHigh;
|
|
|
|
};
|
|
|
|
#endif
|