ra4_draw  4bd0201e3d922d42bd545d4b045ed44db33454a4
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Private Member Functions | Static Private Attributes | List of all members
Process Class Reference

#include <process.hpp>

Inheritance diagram for Process:
TAttFill TAttLine TAttMarker

Public Types

enum  Type { Type::data, Type::background, Type::signal }
 

Public Member Functions

std::set< Baby * > Babies () const
 
 ~Process ()
 

Static Public Member Functions

template<typename BabyType >
static std::shared_ptr< ProcessMakeShared (const std::string &name, Type type, int color, const std::set< std::string > &files, const NamedFunc &cut=true)
 

Public Attributes

std::string name_
 
Type type_
 
NamedFunc cut_
 

Private Member Functions

template<typename BabyType >
 Process (BabyType *dummy_baby, const std::string &name, Type type, int color, const std::set< std::string > &files, const NamedFunc &cut)
 
 Process ()=delete
 
 Process (const Process &)=delete
 
Processoperator= (const Process &)=delete
 
 Process (Process &&)=delete
 
Processoperator= (Process &&)=delete
 

Static Private Attributes

static std::set< std::unique_ptr< Baby > > baby_pool_ {}
 
static std::mutex mutex_ {}
 

Detailed Description

Definition at line 14 of file process.hpp.

Member Enumeration Documentation

enum Process::Type
strong
Enumerator
data 
background 
signal 

Definition at line 16 of file process.hpp.

Constructor & Destructor Documentation

Process::~Process ( )

Definition at line 22 of file process.cpp.

References Baby::processes_.

template<typename BabyType >
Process::Process ( BabyType *  dummy_baby,
const std::string &  name,
Type  type,
int  color,
const std::set< std::string > &  files,
const NamedFunc cut 
)
private

Definition at line 56 of file process.hpp.

References baby_pool_, Glob(), and mutex_.

Process::Process ( )
privatedelete

Referenced by MakeShared().

Process::Process ( const Process )
privatedelete
Process::Process ( Process &&  )
privatedelete

Member Function Documentation

set< Baby * > Process::Babies ( ) const

Definition at line 10 of file process.cpp.

template<typename BabyType >
static std::shared_ptr<Process> Process::MakeShared ( const std::string &  name,
Type  type,
int  color,
const std::set< std::string > &  files,
const NamedFunc cut = true 
)
inlinestatic

Definition at line 19 of file process.hpp.

References Process().

Process& Process::operator= ( const Process )
privatedelete
Process& Process::operator= ( Process &&  )
privatedelete

Member Data Documentation

set< unique_ptr< Baby > > Process::baby_pool_ {}
staticprivate

Definition at line 51 of file process.hpp.

Referenced by Process().

NamedFunc Process::cut_

Definition at line 30 of file process.hpp.

mutex Process::mutex_ {}
staticprivate

Definition at line 52 of file process.hpp.

Referenced by Process().

std::string Process::name_

Definition at line 28 of file process.hpp.

Referenced by Hist2D::GetComponent(), Table::GetComponent(), and Hist1D::GetComponent().

Type Process::type_

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