Syntalos::SyntalosLink
Syntalos::SyntalosLink
Connection to a Syntalos instance.
#include <syntaloslink.h>
Inherits from QObject
Public Functions
Name | |
---|---|
~SyntalosLink() | |
QString | instanceId() const |
void | raiseError(const QString & message) |
void | raiseError(const QString & title, const QString & message) |
void | setLoadScriptCallback(LoadScriptFn callback) |
void | setPrepareStartCallback(PrepareStartFn callback) |
void | setStartCallback(StartFn callback) |
void | setStopCallback(StopFn callback) |
void | setShutdownCallback(ShutdownFn callback) |
SyncTimer * | timer() const |
void | awaitData(int timeoutUsec =-1) |
void | awaitDataForever() |
ModuleState | state() const |
void | setState(ModuleState state) |
void | setStatusMessage(const QString & message) |
int | maxRealtimePriority() const |
void | setSettingsData(const QByteArray & data) |
void | setShowSettingsCallback(ShowSettingsFn callback) |
void | setShowDisplayCallback(ShowDisplayFn callback) |
std::vector< std::shared_ptr< InputPortInfo > > | inputPorts() const |
std::vector< std::shared_ptr< OutputPortInfo > > | outputPorts() const |
std::shared_ptr< InputPortInfo > | registerInputPort(const QString & id, const QString & title, const QString & dataTypeName) |
std::shared_ptr< OutputPortInfo > | registerOutputPort(const QString & id, const QString & title, const QString & dataTypeName, const QVariantHash & metadata =QVariantHash()) |
void | updateOutputPort(const std::shared_ptr< OutputPortInfo > & oport) |
void | updateInputPort(const std::shared_ptr< InputPortInfo > & iport) |
bool | submitOutput(const std::shared_ptr< OutputPortInfo > & oport, const BaseDataType & data) |
Friends
Name | |
---|---|
std::unique_ptr< SyntalosLink > | initSyntalosModuleLink() |
Public Functions Documentation
function ~SyntalosLink
~SyntalosLink()
function instanceId
QString instanceId() const
function raiseError
void raiseError(
const QString & message
)
function raiseError
void raiseError(
const QString & title,
const QString & message
)
function setLoadScriptCallback
void setLoadScriptCallback(
LoadScriptFn callback
)
function setPrepareStartCallback
void setPrepareStartCallback(
PrepareStartFn callback
)
function setStartCallback
void setStartCallback(
StartFn callback
)
function setStopCallback
void setStopCallback(
StopFn callback
)
function setShutdownCallback
void setShutdownCallback(
ShutdownFn callback
)
function timer
SyncTimer * timer() const
function awaitData
void awaitData(
int timeoutUsec =-1
)
function awaitDataForever
void awaitDataForever()
function state
ModuleState state() const
function setState
void setState(
ModuleState state
)
function setStatusMessage
void setStatusMessage(
const QString & message
)
function maxRealtimePriority
int maxRealtimePriority() const
function setSettingsData
void setSettingsData(
const QByteArray & data
)
function setShowSettingsCallback
void setShowSettingsCallback(
ShowSettingsFn callback
)
function setShowDisplayCallback
void setShowDisplayCallback(
ShowDisplayFn callback
)
function inputPorts
std::vector< std::shared_ptr< InputPortInfo > > inputPorts() const
function outputPorts
std::vector< std::shared_ptr< OutputPortInfo > > outputPorts() const
function registerInputPort
std::shared_ptr< InputPortInfo > registerInputPort(
const QString & id,
const QString & title,
const QString & dataTypeName
)
function registerOutputPort
std::shared_ptr< OutputPortInfo > registerOutputPort(
const QString & id,
const QString & title,
const QString & dataTypeName,
const QVariantHash & metadata =QVariantHash()
)
function updateOutputPort
void updateOutputPort(
const std::shared_ptr< OutputPortInfo > & oport
)
function updateInputPort
void updateInputPort(
const std::shared_ptr< InputPortInfo > & iport
)
function submitOutput
bool submitOutput(
const std::shared_ptr< OutputPortInfo > & oport,
const BaseDataType & data
)
Friends
friend initSyntalosModuleLink
friend std::unique_ptr< SyntalosLink > initSyntalosModuleLink();
Updated on 2024-11-06 at 17:10:29 +0000