ATTPCROOT
0.3.0-alpha
A ROOT-based framework for analyzing data from active target detectors
|
Subject for the entry number in the FairRoot tree. More...
#include <AtViewerManagerSubject.h>
Public Member Functions | |
AtTreeEntry (long data) | |
long | Get () const |
void | Set (long entry) |
![]() | |
virtual | ~AtSubject ()=default |
void | Attach (AtObserver *observer) |
Attach an observer to get notified when this subject changes. More... | |
void | Detach (AtObserver *observer) |
Detach an observer to stop getting notified when this subject changes. More... | |
void | Notify () |
Notify all attached subjects that something changed. More... | |
Protected Attributes | |
long | fEntry |
Additional Inherited Members | |
![]() | |
AtSubject ()=default | |
Subject for the entry number in the FairRoot tree.
Is responsible for updating the run (ie calling FairRunAna::Instance()->Run()) before notifying observers.
Definition at line 17 of file AtViewerManagerSubject.h.
|
inline |
Definition at line 22 of file AtViewerManagerSubject.h.
|
inline |
Definition at line 23 of file AtViewerManagerSubject.h.
void DataHandling::AtTreeEntry::Set | ( | long | entry | ) |
Definition at line 10 of file AtViewerManagerSubject.cxx.
|
protected |
Definition at line 19 of file AtViewerManagerSubject.h.