internal override void LinkBuffers(DataFlowComponent successor, LinkPredicates linkPredicates) { if (AvoidBroadcastBlock) { var buffer = new BufferBlock <TInput>(new DataflowBlockOptions() { BoundedCapacity = MaxBufferSize }); OutputBuffer.Add(buffer); } base.LinkBuffers(successor, linkPredicates); }
public DataFlowComponentAdapter(DataFlowComponent target) { _target = target; }
public ReturnCode_t RemoveComponent(LightweightRTObject comp) { _component = null; return ReturnCode_t.RTC_OK; }
public ReturnCode_t AddComponent(LightweightRTObject comp) { _component = (DataFlowComponent)comp; return ReturnCode_t.RTC_OK; }
public InMemoryDestination(DataFlowComponent parent) { InMemoryTarget = new MemoryDestination <TInput>(); CreateLinkInInternalFlow(parent); }