Syntalos::VarStreamInputPort

Syntalos::VarStreamInputPort

Syntalos::VarStreamInputPort

Inherits from Syntalos::AbstractStreamPort

Inherited by Syntalos::StreamInputPort< T >

Public Functions

Name
VarStreamInputPort(AbstractModule * owner, const QString & id, const QString & title)
virtual~VarStreamInputPort()
virtual boolacceptsSubscription(const QString & typeName) =0
boolhasSubscription() const
voidsetSubscription(StreamOutputPort * src, std::shared_ptr< VariantStreamSubscription > sub)
voidresetSubscription()
StreamOutputPort *outPort() const
std::shared_ptr< VariantStreamSubscription >subscriptionVar()
virtual QStringid() const override
virtual QStringtitle() const override
virtual PortDirectiondirection() const override
virtual AbstractModule *owner() const override

Protected Attributes

Name
std::optional< std::shared_ptr< VariantStreamSubscription > >m_sub

Additional inherited members

Public Functions inherited from Syntalos::AbstractStreamPort

Name
virtual~AbstractStreamPort() =default
virtual intdataTypeId() const =0
virtual QStringdataTypeName() const =0

Public Functions Documentation

function VarStreamInputPort

explicit VarStreamInputPort(
    AbstractModule * owner,
    const QString & id,
    const QString & title
)

function ~VarStreamInputPort

virtual ~VarStreamInputPort()

function acceptsSubscription

virtual bool acceptsSubscription(
    const QString & typeName
) =0

Reimplemented by: Syntalos::StreamInputPort::acceptsSubscription

function hasSubscription

bool hasSubscription() const

function setSubscription

void setSubscription(
    StreamOutputPort * src,
    std::shared_ptr< VariantStreamSubscription > sub
)

function resetSubscription

void resetSubscription()

function outPort

StreamOutputPort * outPort() const

function subscriptionVar

std::shared_ptr< VariantStreamSubscription > subscriptionVar()

function id

virtual QString id() const override

Reimplements: Syntalos::AbstractStreamPort::id

function title

virtual QString title() const override

Reimplements: Syntalos::AbstractStreamPort::title

function direction

virtual PortDirection direction() const override

Reimplements: Syntalos::AbstractStreamPort::direction

function owner

virtual AbstractModule * owner() const override

Reimplements: Syntalos::AbstractStreamPort::owner

Protected Attributes Documentation

variable m_sub

std::optional< std::shared_ptr< VariantStreamSubscription > > m_sub;

Updated on 2024-11-06 at 17:10:29 +0000