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

Constructor & Destructor Documentation

◆ onobject()

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

Definition at line 510 of file Command.cpp.

511 : dbe::actions::state ( parent, uuid ),
512 this_object ( obj )
513{
514}
QUuid const uuid
Definition Command.hpp:37

Member Function Documentation

◆ checkedref()

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

Definition at line 518 of file Command.cpp.

519{
520 return this_object.ref();
521}

Member Data Documentation

◆ this_object

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

Definition at line 82 of file Command.hpp.


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