#include <Command.hpp>
Definition at line 147 of file Command.hpp.
◆ move()
dbe::actions::object::move::move |
( |
tref | ObjectChanged, |
|
|
std::string const & | File, |
|
|
QUuid const & | src = 0, |
|
|
QUndoCommand * | parent = nullptr ) |
Definition at line 434 of file Command.cpp.
439{
440 setText (
441 QObject::tr (
"Object changed from file %1 to %2" ).arg (
source_file.c_str() ).arg (
443}
std::string destination_file
onobject(tref obj, QUndoCommand *parent=nullptr, QUuid const &uuid=0)
◆ ~move()
dbe::actions::object::move::~move |
( |
| ) |
|
◆ redo()
void dbe::actions::object::move::redo |
( |
| ) |
|
Definition at line 453 of file Command.cpp.
454{
455 try
456 {
458 {
463 }
464 }
465 catch ( dunedaq::conffwk::Exception const & e )
466 {
468 }
469 catch ( daq::dbe::config_object_retrieval_result_is_null const & e )
470 {
471 FAIL (
"Operation did not complete because a lookup in the underlying database failed",
472 e.what() );
473 throw daq::dbe::ObjectChangeWasNotSuccessful (
ERS_HERE, e );
474 }
475}
QUuid const & source() const
void force_emit_object_changed(QString const &, dref const)
static confaccessor & ref()
static configobject::tref move_object_request(configobject::tref objref, std::string const &destfile)
std::string const parse(ers::Issue const &)
◆ undo()
void dbe::actions::object::move::undo |
( |
| ) |
|
Definition at line 479 of file Command.cpp.
480{
481 try
482 {
484 {
488 }
489 }
490 catch ( dunedaq::conffwk::Exception const & e )
491 {
493 }
494 catch ( daq::dbe::config_object_retrieval_result_is_null const & e )
495 {
496 FAIL (
"Operation did not complete because a lookup in the underlying database failed",
497 e.what() );
498 throw daq::dbe::ObjectChangeWasNotSuccessful (
ERS_HERE, e );
499 }
500
501}
◆ destination_file
std::string dbe::actions::object::move::destination_file |
|
private |
◆ source_file
std::string dbe::actions::object::move::source_file |
|
private |
The documentation for this class was generated from the following files:
- /github/workspace/dunedaq/sourcecode/dbe/include/dbe/Command.hpp
- /github/workspace/dunedaq/sourcecode/dbe/src/internal/Command.cpp