ATTPCROOT  0.3.0-alpha
A ROOT-based framework for analyzing data from active target detectors
Public Member Functions | List of all members
AtSidebarInfoMacro Class Reference

#include <AtSidebarInfoMacro.h>

Inheritance diagram for AtSidebarInfoMacro:
Inheritance graph
[legend]
Collaboration diagram for AtSidebarInfoMacro:
Collaboration graph
[legend]

Public Member Functions

 AtSidebarInfoMacro (DataHandling::AtTreeEntry &entryNumber, const TGWindow *p=nullptr, UInt_t w=1, UInt_t h=1, UInt_t options=0, Pixel_t back=GetDefaultFrameBackground())
 
 ~AtSidebarInfoMacro ()
 
void SetFunction (MacroFunction function)
 
void SetLabel (std::string label)
 
void Update (DataHandling::AtSubject *sub) override
 
void FillFrame () override
 
 ClassDefOverride (AtSidebarInfoMacro, 1)
 
- Public Member Functions inherited from AtSidebarAddon
 AtSidebarAddon (const TGWindow *p=nullptr, UInt_t w=1, UInt_t h=1, UInt_t options=0, Pixel_t back=GetDefaultFrameBackground())
 
void AddInfoBox (std::string label)
 
void AddIntBox (std::string label, std::string function, int min=0, int max=1)
 
TString GetInfoString (std::string label)
 
Long_t GetIntNumber (std::string label)
 
void SetInfoString (std::string label, TString value)
 
void SetIntNumber (std::string label, Long_t value)
 
 ClassDefOverride (AtSidebarAddon, 1)
 
- Public Member Functions inherited from AtVerticalSidebarFrame
 AtVerticalSidebarFrame (const TGWindow *p=nullptr, UInt_t w=1, UInt_t h=1, UInt_t options=0, Pixel_t back=GetDefaultFrameBackground())
 
- Public Member Functions inherited from AtSidebarFrame
void UsePictureButtons (bool val=true)
 Use text only buttons instead of picture buttons. More...
 
- Public Member Functions inherited from DataHandling::AtObserver
virtual ~AtObserver ()=default
 

Additional Inherited Members

- Protected Member Functions inherited from AtSidebarFrame
 AtSidebarFrame (const TGWindow *p=nullptr, UInt_t w=1, UInt_t h=1, UInt_t options=0, Pixel_t back=GetDefaultFrameBackground())
 
- Protected Attributes inherited from AtSidebarAddon
std::map< std::string, TGNumberEntry * > fNumbers
 
std::map< std::string, TGLabel * > fStrings
 
- Protected Attributes inherited from AtSidebarFrame
bool kUsePictureButtons {false}
 Option to disable picture buttons since they break some machines. More...
 

Detailed Description

Definition at line 24 of file AtSidebarInfoMacro.h.

Constructor & Destructor Documentation

◆ AtSidebarInfoMacro()

AtSidebarInfoMacro::AtSidebarInfoMacro ( DataHandling::AtTreeEntry entryNumber,
const TGWindow *  p = nullptr,
UInt_t  w = 1,
UInt_t  h = 1,
UInt_t  options = 0,
Pixel_t  back = GetDefaultFrameBackground() 
)
inline

Definition at line 34 of file AtSidebarInfoMacro.h.

◆ ~AtSidebarInfoMacro()

AtSidebarInfoMacro::~AtSidebarInfoMacro ( )
inline

Definition at line 40 of file AtSidebarInfoMacro.h.

Member Function Documentation

◆ ClassDefOverride()

AtSidebarInfoMacro::ClassDefOverride ( AtSidebarInfoMacro  ,
 
)

◆ FillFrame()

void AtSidebarInfoMacro::FillFrame ( )
overridevirtual

Called at the end of the Init stage. Is what will create all of the components in the sidebar frame.

Reimplemented from AtSidebarAddon.

Definition at line 10 of file AtSidebarInfoMacro.cxx.

◆ SetFunction()

void AtSidebarInfoMacro::SetFunction ( MacroFunction  function)
inline

Definition at line 42 of file AtSidebarInfoMacro.h.

◆ SetLabel()

void AtSidebarInfoMacro::SetLabel ( std::string  label)
inline

Definition at line 43 of file AtSidebarInfoMacro.h.

◆ Update()

void AtSidebarInfoMacro::Update ( DataHandling::AtSubject sub)
overridevirtual

Implements DataHandling::AtObserver.

Definition at line 15 of file AtSidebarInfoMacro.cxx.


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