Merge remote-tracking branch 'origin/topic/bernhard/input-threads-merge'

* origin/topic/bernhard/input-threads-merge:
  disable streaming reads from executed commands.
  automatically delete disabled input streams
  small documentation fixes
  Documentation
This commit is contained in:
Robin Sommer 2012-06-15 15:38:43 -07:00
commit 464732bfce
11 changed files with 406 additions and 352 deletions

View file

@ -11,21 +11,28 @@
namespace input {
/**
* The modes a reader can be in.
* The modes a reader can be in.
*/
enum ReaderMode {
/**
* TODO Bernhard.
* Manual refresh reader mode. The reader will read the file once,
* and send all read data back to the manager. After that, no automatic
* refresh should happen. Manual refreshes can be triggered from the
* scripting layer using force_update.
*/
MODE_MANUAL,
/**
* TODO Bernhard.
* Automatic rereading mode. The reader should monitor the
* data source for changes continually. When the data source changes,
* either the whole file has to be resent using the SendEntry/EndCurrentSend functions.
*/
MODE_REREAD,
/**
* TODO Bernhard.
* Streaming reading mode. The reader should monitor the data source
* for new appended data. When new data is appended is has to be sent
* using the Put api functions.
*/
MODE_STREAM
};