|
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 31 of file Command.hpp.
|
protected |
Definition at line 419 of file Command.cpp.
|
private |
Definition at line 481 of file Command.cpp.
|
private |
Definition at line 487 of file Command.cpp.
| void dbe::actions::state::failed | ( | ) | const |
Definition at line 437 of file Command.cpp.
| bool dbe::actions::state::isvalid | ( | ) | const |
Definition at line 445 of file Command.cpp.
| bool dbe::actions::state::redoable | ( | ) | const |
Definition at line 469 of file Command.cpp.
| void dbe::actions::state::reload | ( | ) | const |
Definition at line 493 of file Command.cpp.
| void dbe::actions::state::setredoable | ( | bool | s = true | ) | const |
Definition at line 457 of file Command.cpp.
| void dbe::actions::state::setundoable | ( | bool | s = true | ) | const |
Definition at line 451 of file Command.cpp.
| QUuid const & dbe::actions::state::source | ( | ) | const |
Definition at line 475 of file Command.cpp.
| void dbe::actions::state::toggle | ( | ) |
| bool dbe::actions::state::undoable | ( | ) | const |
Definition at line 463 of file Command.cpp.
|
mutableprivate |
Definition at line 36 of file Command.hpp.
|
mutableprivate |
Definition at line 37 of file Command.hpp.
|
mutableprivate |
Definition at line 35 of file Command.hpp.
|
private |
Definition at line 34 of file Command.hpp.