|
DUNE-DAQ
DUNE Trigger and Data Acquisition software
|
#include <Command.hpp>
Public Member Functions | |
| bool | isvalid () const |
| void | toggle () |
| void | failed () const |
| void | setundoable (bool s=true) const |
| void | setredoable (bool s=true) const |
| bool | undoable () const |
| bool | redoable () const |
| void | reload () const |
| QUuid const & | source () const |
Protected Member Functions | |
| state (QUndoCommand *parent=nullptr, QUuid const &uuid=0) | |
Private Member Functions | |
| bool | canRedo () const |
| bool | canUndo () const |
Private Attributes | |
| QUuid const | uuid |
| bool | rewind |
| bool | forward |
| bool | invalid |
Class to uniformly encode a command's state.
It can only be used by derived classes
Definition at line 28 of file Command.hpp.
|
protected |
Definition at line 520 of file Command.cpp.
|
private |
Definition at line 573 of file Command.cpp.
|
private |
Definition at line 578 of file Command.cpp.
| void dbe::actions::state::failed | ( | ) | const |
Definition at line 536 of file Command.cpp.
| bool dbe::actions::state::isvalid | ( | ) | const |
Definition at line 543 of file Command.cpp.
| bool dbe::actions::state::redoable | ( | ) | const |
Definition at line 563 of file Command.cpp.
| void dbe::actions::state::reload | ( | ) | const |
Definition at line 583 of file Command.cpp.
| void dbe::actions::state::setredoable | ( | bool | s = true | ) | const |
Definition at line 553 of file Command.cpp.
| void dbe::actions::state::setundoable | ( | bool | s = true | ) | const |
Definition at line 548 of file Command.cpp.
| QUuid const & dbe::actions::state::source | ( | ) | const |
Definition at line 568 of file Command.cpp.
| void dbe::actions::state::toggle | ( | ) |
| bool dbe::actions::state::undoable | ( | ) | const |
Definition at line 558 of file Command.cpp.
|
mutableprivate |
Definition at line 34 of file Command.hpp.
|
mutableprivate |
Definition at line 35 of file Command.hpp.
|
mutableprivate |
Definition at line 33 of file Command.hpp.
|
private |
Definition at line 32 of file Command.hpp.