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 69 of file Command.hpp.

Constructor & Destructor Documentation

◆ onobject()

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

Definition at line 403 of file Command.cpp.

404 : dbe::actions::state(parent, uuid)
405 , this_object(obj)
406{
407}
QUuid const uuid
Definition Command.hpp:34

Member Function Documentation

◆ checkedref()

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

Definition at line 412 of file Command.cpp.

413{
414 return this_object.ref();
415}
inner::configobject::tref ref() const

Member Data Documentation

◆ this_object

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

Definition at line 78 of file Command.hpp.


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