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 bool | acceptsSubscription(const QString & typeName) =0 |
bool | hasSubscription() const |
void | setSubscription(StreamOutputPort * src, std::shared_ptr< VariantStreamSubscription > sub) |
void | resetSubscription() |
StreamOutputPort * | outPort() const |
std::shared_ptr< VariantStreamSubscription > | subscriptionVar() |
virtual QString | id() const override |
virtual QString | title() const override |
virtual PortDirection | direction() 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 int | dataTypeId() const =0 |
virtual QString | dataTypeName() 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