work on modeling a pin interface

master
polymurph 4 years ago
parent 19e568fb93
commit 4594792f77

@ -0,0 +1,26 @@
#ifndef _IPIN_HPP_
#define _IPIN_HPP_
#include <memory>
class Pin
{
public:
Pin();
void set(const bool& logic);
bool get();
// compare operator
bool operator ==(const bool& logic);
// negated comare operator
bool operator !=(const bool& logic);
private:
};
#endif // _IPIN_HPP_
Loading…
Cancel
Save