Syntalos::StreamInputPort
Syntalos::StreamInputPort
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 int | dataTypeId() const override |
virtual QString | dataTypeName() const override |
virtual bool | acceptsSubscription(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() |
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 inherited from Syntalos::VarStreamInputPort
Name | |
---|---|
std::optional< std::shared_ptr< VariantStreamSubscription > > | m_sub |
Public Functions inherited from Syntalos::AbstractStreamPort
Name | |
---|---|
virtual | ~AbstractStreamPort() =default |
virtual QString | id() const =0 |
virtual QString | title() const =0 |
virtual PortDirection | direction() 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