Treehopper C++ API
Flushable.h
Go to the documentation of this file.
1 #pragma once
2 
4 
5 namespace Treehopper {
6  namespace Libraries {
7  namespace IO {
10  public:
12 
14  bool autoFlush;
15 
19  virtual void flush(bool force = false) = 0;
20 
26  };
27  }
28  }
29 }
30 
Represents any object that has a flushable interface.
Definition: Flushable.h:9
Flushable * parent
Gets or sets the parent flushable device (if it exists); if this property is set by this driver...
Definition: Flushable.h:25
#define LIBRARIES_API
Definition: Treehopper.Libraries.h:17
Definition: AdcPin.h:3
bool autoFlush
Whether this interface should automatically flush new values or not.
Definition: Flushable.h:14
~Flushable()
Definition: Flushable.h:11