DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
dbe::actions::onobject Class Reference

#include <Command.hpp>

Inheritance diagram for dbe::actions::onobject:
[legend]
Collaboration diagram for dbe::actions::onobject:
[legend]

Public Member Functions

 onobject (tref obj, QUndoCommand *parent=nullptr, QUuid const &uuid=0)
 
- Public Member Functions inherited from dbe::actions::state
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

tref checkedref () const
 
- Protected Member Functions inherited from dbe::actions::state
 state (QUndoCommand *parent=nullptr, QUuid const &uuid=0)
 

Private Attributes

dref this_object
 

Detailed Description

Class to encode basic interface for operations on objects

Definition at line 67 of file Command.hpp.

Constructor & Destructor Documentation

◆ onobject()

dbe::actions::onobject::onobject ( tref obj,
QUndoCommand * parent = nullptr,
QUuid const & uuid = 0 )

Definition at line 505 of file Command.cpp.

506 : dbe::actions::state ( parent, uuid ),
507 this_object ( obj )
508{
509}
QUuid const uuid
Definition Command.hpp:32

Member Function Documentation

◆ checkedref()

dbe::tref dbe::actions::onobject::checkedref ( ) const
protected

Definition at line 513 of file Command.cpp.

514{
515 return this_object.ref();
516}
inner::configobject::tref ref() const

Member Data Documentation

◆ this_object

dref dbe::actions::onobject::this_object
private

Definition at line 77 of file Command.hpp.


The documentation for this class was generated from the following files: