From abe1e7d2e6acae666afefa5387fbba1c03db964c Mon Sep 17 00:00:00 2001 From: Christopher Mosher Date: Tue, 10 Dec 2013 17:45:18 -0500 Subject: [PATCH] new trans structs (wip) --- trans.h | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 trans.h diff --git a/trans.h b/trans.h new file mode 100644 index 0000000..0329541 --- /dev/null +++ b/trans.h @@ -0,0 +1,36 @@ +/* + * File: trans.h + * Author: cmosher + * + * Created on December 10, 2013, 2:37 PM + */ + +#ifndef TRANS_H +#define TRANS_H + +#include +#include + +class Trans; + +class Segment { +public: + std::string id; + std::vector gates; + std::vector c1c2s; + + bool pullup; + bool pulldown; + bool on; +}; + +class Trans { +public: + Segment* c1; + Segment* gate; + Segment* c2; + + bool on; +}; + +#endif /* TRANS_H */