Psyllid  v1.12.4
Project 8 Data Acquisisition Software
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Static Protected Attributes | List of all members
control_access Class Reference

Gives other classes access to daq_control. More...

#include <control_access.hh>

Inheritance diagram for control_access:
Inheritance graph

Public Types

typedef std::shared_ptr< daq_controldc_ptr_t
 

Public Member Functions

 control_access ()
 
virtual ~control_access ()
 

Static Public Member Functions

static void set_daq_control (std::weak_ptr< daq_control > a_daq_control)
 

Protected Member Functions

dc_ptr_t use_daq_control ()
 
bool daq_control_expired ()
 

Static Protected Attributes

static std::weak_ptr< daq_controlf_daq_control = std::weak_ptr< daq_control >()
 

Detailed Description

Gives other classes access to daq_control.

Author
N. S. Oblath

Used for example by butterfly_house to get the run name and description from daq_control.

Definition at line 26 of file control_access.hh.

Member Typedef Documentation

◆ dc_ptr_t

typedef std::shared_ptr< daq_control > dc_ptr_t

Definition at line 29 of file control_access.hh.

Constructor & Destructor Documentation

◆ control_access()

Definition at line 20 of file control_access.cc.

◆ ~control_access()

~control_access ( )
virtual

Definition at line 24 of file control_access.cc.

Member Function Documentation

◆ daq_control_expired()

bool daq_control_expired ( )
inlineprotected

Definition at line 42 of file control_access.hh.

◆ set_daq_control()

void set_daq_control ( std::weak_ptr< daq_control a_daq_control)
static

Definition at line 28 of file control_access.cc.

◆ use_daq_control()

dc_ptr_t use_daq_control ( )
inlineprotected

Definition at line 40 of file control_access.hh.

Member Data Documentation

◆ f_daq_control

std::weak_ptr< daq_control > f_daq_control = std::weak_ptr< daq_control >()
staticprotected

Definition at line 38 of file control_access.hh.


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