otsdaq  v1_01_03
 All Classes Namespaces Functions
FESupervisor.cc
1 #include "otsdaq-core/CoreSupervisors/FESupervisor.h"
2 #include "otsdaq-core/FECore/FEVInterfacesManager.h"
3 #include "otsdaq-core/ConfigurationInterface/ConfigurationManager.h"
4 
5 using namespace ots;
6 
7 XDAQ_INSTANTIATOR_IMPL(FESupervisor)
8 
9 //========================================================================================================================
10 FESupervisor::FESupervisor(xdaq::ApplicationStub * s) throw (xdaq::exception::Exception)
12 
13 {
14  CoreSupervisorBase::theStateMachineImplementation_.push_back(
16  CoreSupervisorBase::theConfigurationManager_->getNode(CoreSupervisorBase::XDAQContextConfigurationName_),
17  CoreSupervisorBase::supervisorConfigurationPath_
18  )
19  );
20 
21 }
22 
23 //========================================================================================================================
24 FESupervisor::~FESupervisor(void)
25 {
26  //theStateMachineImplementation_ is reset and the object it points to deleted in ~CoreSupervisorBase()0
27 }