DABC (Data Acquisition Backbone Core)  2.9.9
Public Member Functions | Protected Member Functions | Protected Attributes
stream::DabcProcMgr Class Reference

#include <stream/DabcProcMgr.h>

Inheritance diagram for stream::DabcProcMgr:

Public Member Functions

void AddErrLog (const char *msg) override
 
void AddRunLog (const char *msg) override
 
bool CallFunc (const char *funcname, void *arg) override
 
void ClearAllHistograms () override
 
bool CloseStore () override
 
bool CreateBranch (const char *name, const char *class_name, void **obj) override
 
bool CreateBranch (const char *name, void *member, const char *kind) override
 
bool CreateStore (const char *storename) override
 
 DabcProcMgr ()
 
bool DoLog () override
 
bool ExecuteHCommand (dabc::Command cmd)
 
std::string GetStoreInfo () const
 
bool IsSortedOrder () override
 
bool IsWorking () const
 
base::H1handle MakeH1 (const char *name, const char *title, int nbins, double left, double right, const char *xtitle=nullptr) override
 
base::H2handle MakeH2 (const char *name, const char *title, int nbins1, double left1, double right1, int nbins2, double left2, double right2, const char *options=nullptr) override
 
void PrintLog (const char *msg) override
 
bool SaveAllHistograms ()
 
void SetDefaultFill (int fillcol=3)
 
void SetH1Title (base::H1handle h1, const char *title) override
 
void SetH2Title (base::H2handle h2, const char *title) override
 
void SetSortedOrder (bool on=true) override
 
void SetTop (dabc::Hierarchy &top, bool withcmds=false)
 
bool StoreEvent () override
 
void TagH1Time (base::H1handle h1) override
 
void TagH2Time (base::H2handle h2) override
 
virtual ~DabcProcMgr ()
 

Protected Member Functions

bool ClearAllDabcHistograms (dabc::Hierarchy &folder)
 
bool ClearHistogram (dabc::Hierarchy &item)
 
dabc::Hierarchy FindHistogram (void *handle)
 
bool SaveAllHistograms (dabc::Hierarchy &folder)
 

Protected Attributes

int fDefaultFill
 ! default fill color More...
 
bool fSortOrder
 ! sorting order More...
 
dabc::LocalWorkerRef fStore
 
std::string fStoreInfo
 ! last info about storage More...
 
dabc::Hierarchy fTop
 
bool fWorkingFlag
 

Detailed Description

Definition at line 27 of file DabcProcMgr.h.

Constructor & Destructor Documentation

◆ DabcProcMgr()

stream::DabcProcMgr::DabcProcMgr ( )

Definition at line 28 of file DabcProcMgr.cxx.

◆ ~DabcProcMgr()

stream::DabcProcMgr::~DabcProcMgr ( )
virtual

Definition at line 39 of file DabcProcMgr.cxx.

Member Function Documentation

◆ ClearHistogram()

bool stream::DabcProcMgr::ClearHistogram ( dabc::Hierarchy item)
protected

Definition at line 309 of file DabcProcMgr.cxx.

◆ FindHistogram()

dabc::Hierarchy stream::DabcProcMgr::FindHistogram ( void *  handle)
protected

Definition at line 259 of file DabcProcMgr.cxx.

◆ ClearAllDabcHistograms()

bool stream::DabcProcMgr::ClearAllDabcHistograms ( dabc::Hierarchy folder)
protected

Definition at line 328 of file DabcProcMgr.cxx.

◆ SaveAllHistograms() [1/2]

bool stream::DabcProcMgr::SaveAllHistograms ( dabc::Hierarchy folder)
protected

Definition at line 339 of file DabcProcMgr.cxx.

◆ SetTop()

void stream::DabcProcMgr::SetTop ( dabc::Hierarchy top,
bool  withcmds = false 
)

Definition at line 43 of file DabcProcMgr.cxx.

◆ SetDefaultFill()

void stream::DabcProcMgr::SetDefaultFill ( int  fillcol = 3)
inline

Definition at line 51 of file DabcProcMgr.h.

◆ IsWorking()

bool stream::DabcProcMgr::IsWorking ( ) const
inline

Definition at line 53 of file DabcProcMgr.h.

◆ MakeH1()

base::H1handle stream::DabcProcMgr::MakeH1 ( const char *  name,
const char *  title,
int  nbins,
double  left,
double  right,
const char *  xtitle = nullptr 
)
override

Definition at line 107 of file DabcProcMgr.cxx.

◆ MakeH2()

base::H2handle stream::DabcProcMgr::MakeH2 ( const char *  name,
const char *  title,
int  nbins1,
double  left1,
double  right1,
int  nbins2,
double  left2,
double  right2,
const char *  options = nullptr 
)
override

Definition at line 178 of file DabcProcMgr.cxx.

◆ SetH1Title()

void stream::DabcProcMgr::SetH1Title ( base::H1handle  h1,
const char *  title 
)
override

Definition at line 274 of file DabcProcMgr.cxx.

◆ TagH1Time()

void stream::DabcProcMgr::TagH1Time ( base::H1handle  h1)
override

Definition at line 281 of file DabcProcMgr.cxx.

◆ SetH2Title()

void stream::DabcProcMgr::SetH2Title ( base::H2handle  h2,
const char *  title 
)
override

Definition at line 291 of file DabcProcMgr.cxx.

◆ TagH2Time()

void stream::DabcProcMgr::TagH2Time ( base::H2handle  h2)
override

Definition at line 298 of file DabcProcMgr.cxx.

◆ ClearAllHistograms()

void stream::DabcProcMgr::ClearAllHistograms ( )
override

Definition at line 323 of file DabcProcMgr.cxx.

◆ SetSortedOrder()

void stream::DabcProcMgr::SetSortedOrder ( bool  on = true)
inlineoverride

Definition at line 68 of file DabcProcMgr.h.

◆ IsSortedOrder()

bool stream::DabcProcMgr::IsSortedOrder ( )
inlineoverride

Definition at line 69 of file DabcProcMgr.h.

◆ AddRunLog()

void stream::DabcProcMgr::AddRunLog ( const char *  msg)
override

Definition at line 88 of file DabcProcMgr.cxx.

◆ AddErrLog()

void stream::DabcProcMgr::AddErrLog ( const char *  msg)
override

Definition at line 95 of file DabcProcMgr.cxx.

◆ DoLog()

bool stream::DabcProcMgr::DoLog ( )
inlineoverride

Definition at line 73 of file DabcProcMgr.h.

◆ PrintLog()

void stream::DabcProcMgr::PrintLog ( const char *  msg)
override

Definition at line 102 of file DabcProcMgr.cxx.

◆ CallFunc()

bool stream::DabcProcMgr::CallFunc ( const char *  funcname,
void *  arg 
)
override

Definition at line 459 of file DabcProcMgr.cxx.

◆ CreateStore()

bool stream::DabcProcMgr::CreateStore ( const char *  storename)
override

Definition at line 474 of file DabcProcMgr.cxx.

◆ CloseStore()

bool stream::DabcProcMgr::CloseStore ( )
override

Definition at line 501 of file DabcProcMgr.cxx.

◆ CreateBranch() [1/2]

bool stream::DabcProcMgr::CreateBranch ( const char *  name,
const char *  class_name,
void **  obj 
)
override

Definition at line 510 of file DabcProcMgr.cxx.

◆ CreateBranch() [2/2]

bool stream::DabcProcMgr::CreateBranch ( const char *  name,
void *  member,
const char *  kind 
)
override

Definition at line 521 of file DabcProcMgr.cxx.

◆ StoreEvent()

bool stream::DabcProcMgr::StoreEvent ( )
override

Definition at line 532 of file DabcProcMgr.cxx.

◆ ExecuteHCommand()

bool stream::DabcProcMgr::ExecuteHCommand ( dabc::Command  cmd)

Definition at line 377 of file DabcProcMgr.cxx.

◆ SaveAllHistograms() [2/2]

bool stream::DabcProcMgr::SaveAllHistograms ( )
inline

Definition at line 88 of file DabcProcMgr.h.

◆ GetStoreInfo()

std::string stream::DabcProcMgr::GetStoreInfo ( ) const
inline

Definition at line 90 of file DabcProcMgr.h.

Field Documentation

◆ fTop

dabc::Hierarchy stream::DabcProcMgr::fTop
protected

Definition at line 30 of file DabcProcMgr.h.

◆ fWorkingFlag

bool stream::DabcProcMgr::fWorkingFlag
protected

Definition at line 31 of file DabcProcMgr.h.

◆ fStore

dabc::LocalWorkerRef stream::DabcProcMgr::fStore
protected

Definition at line 33 of file DabcProcMgr.h.

◆ fStoreInfo

std::string stream::DabcProcMgr::fStoreInfo
protected

! last info about storage

Definition at line 34 of file DabcProcMgr.h.

◆ fSortOrder

bool stream::DabcProcMgr::fSortOrder
protected

! sorting order

Definition at line 35 of file DabcProcMgr.h.

◆ fDefaultFill

int stream::DabcProcMgr::fDefaultFill
protected

! default fill color

Definition at line 36 of file DabcProcMgr.h.


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