v2.0.0
Loading...
Searching...
No Matches
commandpattern.h File Reference

Minimal ICommand interface for the GoF command pattern, used by the MNE Scan plugin runtime. More...

#include "../utils_global.h"
#include <QSharedPointer>
#include <QString>
Include dependency graph for commandpattern.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  UTILSLIB::ICommand
 The ICommand interface provides the base class of every command of the command design pattern. More...

Namespaces

namespace  UTILSLIB
 Shared utilities (I/O helpers, spectral analysis, layout management, warp algorithms).

Detailed Description

Minimal ICommand interface for the GoF command pattern, used by the MNE Scan plugin runtime.

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

Author
Christoph Dinh chris.nosp@m.toph.nosp@m..dinh.nosp@m.@mne.nosp@m.-cpp..nosp@m.org; Lorenz Esch loren.nosp@m.z.es.nosp@m.ch@tu.nosp@m.-ilm.nosp@m.enau..nosp@m.de; Gabriel Motta gabri.nosp@m.elbe.nosp@m.nmott.nosp@m.a@gm.nosp@m.ail.c.nosp@m.om
Since
0.1.0
Date
September 2017

The interface intentionally carries only a virtual execute() method plus the standard QSharedPointer typedefs that every UTILSLIB-managed object exposes. Invokers and receivers are expressed via Qt's signal/slot mechanism rather than dedicated classes, which keeps the surface small and avoids dragging in a parallel object hierarchy.

The header is included by MNE Scan's command parser and by COMMUNICATIONLIB to model remote control packets (start / stop acquisition, set parameters, request status).

Definition in file commandpattern.h.