Syntalos::StreamOutputPort
Syntalos::StreamOutputPort
Inherits from Syntalos::AbstractStreamPort
Public Functions
Name | |
---|---|
StreamOutputPort(AbstractModule * owner, const QString & id, const QString & title, std::shared_ptr< VariantDataStream > stream) | |
virtual | ~StreamOutputPort() |
bool | canSubscribe(const QString & typeName) |
virtual int | dataTypeId() const override |
virtual QString | dataTypeName() const override |
template <typename T > std::shared_ptr< DataStream< T > > | stream() |
std::shared_ptr< VariantDataStream > | streamVar() |
std::shared_ptr< VariantStreamSubscription > | subscribe() |
void | startStream() |
void | stopStream() |
virtual QString | id() const override |
virtual QString | title() const override |
virtual PortDirection | direction() const override |
virtual AbstractModule * | owner() const override |
Additional inherited members
Public Functions inherited from Syntalos::AbstractStreamPort
Name | |
---|---|
virtual | ~AbstractStreamPort() =default |
Public Functions Documentation
function StreamOutputPort
explicit StreamOutputPort(
AbstractModule * owner,
const QString & id,
const QString & title,
std::shared_ptr< VariantDataStream > stream
)
function ~StreamOutputPort
virtual ~StreamOutputPort()
function canSubscribe
bool canSubscribe(
const QString & typeName
)
function dataTypeId
virtual int dataTypeId() const override
Reimplements: Syntalos::AbstractStreamPort::dataTypeId
function dataTypeName
virtual QString dataTypeName() const override
Reimplements: Syntalos::AbstractStreamPort::dataTypeName
function stream
template <typename T >
inline std::shared_ptr< DataStream< T > > stream()
function streamVar
std::shared_ptr< VariantDataStream > streamVar()
function subscribe
std::shared_ptr< VariantStreamSubscription > subscribe()
function startStream
void startStream()
function stopStream
void stopStream()
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
Updated on 2024-11-06 at 17:10:29 +0000