53#include <QSharedPointer>
80 typedef QSharedPointer<RtCmdClient>
SPtr;
81 typedef QSharedPointer<const RtCmdClient>
ConstSPtr;
99 inline bool hasCommand(
const QString &p_sCommand)
const;
169 Command& operator[] (
const QString &key);
179 const Command operator[] (
const QString &key)
const;
193 QString m_sAvailableData;
203 QString p_sResponse = m_sAvailableData;
204 m_sAvailableData.
clear();
214 return m_commandManager.hasCommand(p_sCommand);
Export macros, build-info entry points and namespace anchor for the COMLIB communication library.
Per-component registry of COMLIB::Command schemas; receives COMLIB::RawCommand from the parser and di...
Typed, parameter-bearing command object that round-trips between mne-cpp clients and mne_rt_server.
Real-time client/server communication primitives for talking to mne_rt_server.
void sendCommandJSON(const Command &p_command)
qint32 requestConnectors(QMap< qint32, QString > &p_qMapConnectors)
RtCmdClient(QObject *parent=nullptr)
bool hasCommand(const QString &p_sCommand) const
void response(QString p_sResponse)
QSharedPointer< RtCmdClient > SPtr
QSharedPointer< const RtCmdClient > ConstSPtr
QString sendCLICommand(const QString &p_sCommand)
QString readAvailableData()
bool waitForDataAvailable(qint32 msecs=30000) const
Named, parameterised command exchanged with mne_rt_server; supports both JSON and CLI serialisation.
Observer-side registry of Command schemas a subsystem accepts from the shared CommandParser.