Nymph  v1.5.2
Flow-Based Data Processing Framework
KTDoneSlot Class Reference

Creates a slot to receive indication that upstream processing is complete and will emit a similar signal. More...

#include <KTSlot.hh>

Detailed Description

Creates a slot to receive indication that upstream processing is complete and will emit a similar signal.

Author
N. S. Oblath

Usage: This slot type adds the slot function (signature void (). Your processor (or, optionally, a different object) must have a member function with the signature bool (). The slot calls the member function.

In your Processor's header add a member variable of type KTDoneSlot. The variable may be private.

Initialize the slot with the name of the slot, the address of the owner of the slot function, and the function pointer. Optionally, if the Processor is separate from the owner of the slot function, the Processor address is specified as the second argument to the constructor.

Also optionally, a signal to be emitted after the return of the member function can be specified as the last argument.


The documentation for this class was generated from the following file: