Falcon
Loading...
Searching...
No Matches
PortOut< DATATYPE > Class Template Reference

Public Member Functions

 PortOut (IProcessor *parent, const PortAddress &address, const typename DATATYPE::Parameters &parameters, const PortOutPolicy &policy)
SlotType number_of_slots () const override
std::string datatype () const override
StreamInfo< DATATYPE > & streaminfo (std::size_t index)
const DATATYPE::Data & prototype (std::size_t index) const
virtual SlotOut< DATATYPE > * slot (std::size_t index) override
SlotOut< DATATYPE > * dataslot (std::size_t index)
Public Member Functions inherited from IPortOut
 IPortOut (IProcessor *parent, const PortAddress &address, PortOutPolicy policy)
const PortAddress & address () const
const PortOutPolicy & policy () const
IProcessor * parent ()
YAML::Node ExportYAML () const
std::string name () const

Protected Member Functions

void Connect (int slot, ISlotIn *downstream) override
int ReserveSlot (int slot) override
void CreateRingBuffers () override
void UnlockSlots () override
virtual void NewSlot (int n=1) override
void PrepareProcessing () override
Protected Member Functions inherited from IPortOut
void set_buffer_size (int sz)

Additional Inherited Members

Protected Attributes inherited from IPortOut
IProcessor * parent_
PortAddress address_

Member Function Documentation

◆ Connect()

template<typename DATATYPE>
void PortOut< DATATYPE >::Connect ( int slot,
ISlotIn * downstream )
overrideprotectedvirtual

Implements IPortOut.

◆ CreateRingBuffers()

template<typename DATATYPE>
void PortOut< DATATYPE >::CreateRingBuffers ( )
overrideprotectedvirtual

Implements IPortOut.

◆ datatype()

template<typename DATATYPE>
std::string PortOut< DATATYPE >::datatype ( ) const
inlineoverridevirtual

Implements IPortOut.

◆ NewSlot()

template<typename DATATYPE>
virtual void PortOut< DATATYPE >::NewSlot ( int n = 1)
overrideprotectedvirtual

Implements IPortOut.

◆ number_of_slots()

template<typename DATATYPE>
SlotType PortOut< DATATYPE >::number_of_slots ( ) const
inlineoverridevirtual

Implements IPortOut.

◆ PrepareProcessing()

template<typename DATATYPE>
void PortOut< DATATYPE >::PrepareProcessing ( )
inlineoverrideprotectedvirtual

Implements IPortOut.

◆ ReserveSlot()

template<typename DATATYPE>
int PortOut< DATATYPE >::ReserveSlot ( int slot)
overrideprotectedvirtual

Implements IPortOut.

◆ slot()

template<typename DATATYPE>
virtual SlotOut< DATATYPE > * PortOut< DATATYPE >::slot ( std::size_t index)
inlineoverridevirtual

Implements IPortOut.

◆ UnlockSlots()

template<typename DATATYPE>
void PortOut< DATATYPE >::UnlockSlots ( )
overrideprotectedvirtual

Implements IPortOut.


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