v2.0.0
Loading...
Searching...
No Matches
command_manager.cpp File Reference

Translation unit for COMLIB::CommandManager: schema storage, observer-side dispatch and JSON bulk-load. More...

#include "command_manager.h"
#include "raw_command.h"
#include <QVector>
#include <QDebug>
#include <QJsonObject>
#include <QStringList>
Include dependency graph for command_manager.cpp:

Go to the source code of this file.

Detailed Description

Translation unit for COMLIB::CommandManager: schema storage, observer-side dispatch and JSON bulk-load.

SPDX-License-Identifier: BSD-3-Clause Copyright (c) 2026 MNE-CPP Authors

Author
Christoph Dinh chris.nosp@m.toph.nosp@m..dinh.nosp@m.@mne.nosp@m.-cpp..nosp@m.org
Since
2.0.0
Date
March 2026

Implements the init() helper that wires the inbound triggered/response signals to the manager’s own slots, the three insert overloads (single keyword, full Command, QJsonDocument bulk import), and the IObserver::update() hook called by CommandParser when a new RawCommand has arrived. The m_qMapCommands lookup table backs both the [] operator and hasCommand() so attached clients can introspect the accepted vocabulary without re-querying the server.

Definition in file command_manager.cpp.