Psyllid  v1.12.4
Project 8 Data Acquisisition Software
control_access.cc
Go to the documentation of this file.
1 /*
2  * control_access.cc
3  *
4  * Created on: Feb 23, 2016
5  * Author: nsoblath
6  */
7 
8 #include "control_access.hh"
9 
10 #include "daq_control.hh"
11 
12 #include "logger.hh"
13 
14 namespace psyllid
15 {
16  LOGGER( plog, "control_access" );
17 
18  std::weak_ptr< daq_control > control_access::f_daq_control = std::weak_ptr< daq_control >();
19 
21  {
22  }
23 
25  {
26  }
27 
28  void control_access::set_daq_control( std::weak_ptr< daq_control > a_daq_control )
29  {
30  f_daq_control = a_daq_control;
31  LDEBUG( plog, "DAQ control access set; is valid? " << ! f_daq_control.expired() );
32  }
33 
34 } /* namespace psyllid */
static std::weak_ptr< daq_control > f_daq_control
static scarab::logger plog("batch_executor")
LOGGER(plog, "egg_writer")
static void set_daq_control(std::weak_ptr< daq_control > a_daq_control)