Package bbflow
Class ff_comb<T,V>
java.lang.Object
bbflow.block<T,U>
bbflow.ff_node<T,V>
bbflow.ff_comb<T,V>
- Type Parameters:
T- Custom type of input channelsV- Custom type of output channels
Combine two nodes (of type ff_node or ff_comb) in one. The combination is linear, first runJob called and the returned value (if returned) is passed to second one. Also init() and EOS() are called when it's time.
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class bbflow.ff_node
addInputChannel, addOutputChannel, getInputChannel, getOutputChannel, join, removeInputChannel, removeOutputChannel, start
-
Constructor Details
-
ff_comb
Combine constructor- Parameters:
node1- first nodenode2- second nodebufferSize- buffer size of channels
-
ff_comb
Combine constructor- Parameters:
node1- first nodenode2- second node
-
-
Method Details
-
preload
public static void preload() -
combine
Function called by default constructor to combine the 2 nodes- Parameters:
node1- first nodenode2- second nodebufferSize- buffersize of channel
-