Syntalos::StreamInputPort

Syntalos::StreamInputPort

Syntalos::StreamInputPort

More…

Inherits from Syntalos::VarStreamInputPort, Syntalos::AbstractStreamPort

Public Functions

Name
StreamInputPort(AbstractModule * owner, const QString & id, const QString & title)
std::shared_ptr< StreamSubscription< T > >subscription()
virtual intdataTypeId() const override
virtual QStringdataTypeName() const override
virtual boolacceptsSubscription(const QString & typeName) override

Additional inherited members

Public Functions inherited from Syntalos::VarStreamInputPort

Name
VarStreamInputPort(AbstractModule * owner, const QString & id, const QString & title)
virtual~VarStreamInputPort()
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 inherited from Syntalos::VarStreamInputPort

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

Public Functions inherited from Syntalos::AbstractStreamPort

Name
virtual~AbstractStreamPort() =default
virtual QStringid() const =0
virtual QStringtitle() const =0
virtual PortDirectiondirection() const
virtual AbstractModule *owner() const =0

Detailed Description

template <typename T >
class Syntalos::StreamInputPort;

Public Functions Documentation

function StreamInputPort

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

function subscription

inline std::shared_ptr< StreamSubscription< T > > subscription()

function dataTypeId

inline virtual int dataTypeId() const override

Reimplements: Syntalos::AbstractStreamPort::dataTypeId

function dataTypeName

inline virtual QString dataTypeName() const override

Reimplements: Syntalos::AbstractStreamPort::dataTypeName

function acceptsSubscription

inline virtual bool acceptsSubscription(
    const QString & typeName
) override

Reimplements: Syntalos::VarStreamInputPort::acceptsSubscription


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