#define _EXCLUSE_H_
#include "control.h"
+#include "bypass.h"
namespace PlaQui {
virtual void simulate();
virtual void recieve_msg(int msg, IConector *who, void *data);
- virtual bool get_output() { return open; }
+ virtual bool get_output() { return is_open; }
+
+ void open() { is_open = true; }
+ void close() { is_open = false; }
protected:
- bool open;
+ bool is_open;
+ float temp;
private:
Exclusa():Control("null") {}
Exclusa &operator = (const Exclusa &) { return *this; }