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() constfunction 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() constfunction awaitData
void awaitData(
int timeoutUsec =-1
)function awaitDataForever
void awaitDataForever()function state
ModuleState state() constfunction setState
void setState(
ModuleState state
)function setStatusMessage
void setStatusMessage(
const QString & message
)function maxRealtimePriority
int maxRealtimePriority() constfunction 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() constfunction outputPorts
std::vector< std::shared_ptr< OutputPortInfo > > outputPorts() constfunction 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 2025-08-14 at 02:33:44 +0000