
Feeding begins when Ranger calls your plug-in's StartFeeding() function. Below are the actions that your plug-in must take in different scenarios.
When feeding from the Main or Merge Hopper:
No items in the feeder:
- Call PluginBase::FeedingStopped(MainHopperEmpty)
Feeder becomes empty:
- Call PluginBase::FeedingStopped(MainHopperEmpty)
Jam or other error:
- Call PluginBase::FeedingStopped(ExceptionDetected)
The number of items fed is equal to the requested feed count in StartFeeding(FeedSource, FeedCount):
- Call PluginBase::FeedingStopped(FeedRequestFinished)
When feeding from the Manual Drop:
No items in the feeder:
- Wait for items to be placed in the feeder
Feeder becomes empty:
- Wait for items to be placed in the feeder
Jam or other error:
- Call PluginBase::FeedingStopped(ExceptionDetected)
The number of items fed is equal to the requested feed count in StartFeeding(FeedSource, FeedCount):
- Call PluginBase::FeedingStopped(FeedRequestFinished)