MIDAS
Loading...
Searching...
No Matches
FeEverything Class Reference
Inheritance diagram for FeEverything:
Collaboration diagram for FeEverything:

Public Member Functions

 FeEverything ()
 
void HandleUsage ()
 
TMFeResult HandleArguments (const std::vector< std::string > &args)
 
TMFeResult HandleFrontendInit (const std::vector< std::string > &args)
 
TMFeResult HandleFrontendReady (const std::vector< std::string > &args)
 
void HandleFrontendExit ()
 
- Public Member Functions inherited from TMFrontend
 TMFrontend ()
 
virtual ~TMFrontend ()
 
int FeMain (int argc, char *argv[])
 
int FeMain (const std::vector< std::string > &args)
 
void FeUsage (const char *argv0)
 
void FeSetName (const char *program_name)
 
TMFeResult FeAddEquipment (TMFeEquipment *eq)
 
TMFeResult FeRemoveEquipment (TMFeEquipment *eq)
 
TMFeResult FeInitEquipments (const std::vector< std::string > &args)
 
void FeDeleteEquipments ()
 
void FeStopEquipmentPollThreads ()
 
double FePeriodicTasks ()
 
double FePollTasks (double next_periodic_time)
 
TMFeResult FeInit (const std::vector< std::string > &args)
 
void FeMainLoop ()
 
void FeShutdown ()
 
void FePollMidas (double sleep_sec)
 
void FePeriodicThread ()
 
void FeStartPeriodicThread ()
 
void FeStopPeriodicThread ()
 

Additional Inherited Members

- Public Attributes inherited from TMFrontend
TMFEfMfe = NULL
 
TMFrontendRpcHelperfFeRpcHelper = NULL
 
int fFeIndex = 0
 
bool fFeIfRunningCallExit = false
 
bool fFeIfRunningCallBeginRun = true
 
std::mutex fFeMutex
 
std::vector< TMFeEquipment * > fFeEquipments
 
std::thread * fFePeriodicThread = NULL
 
std::atomic_bool fFePeriodicThreadStarting {false}
 
std::atomic_bool fFePeriodicThreadRunning {false}
 
std::atomic_bool fFePeriodicThreadShutdownRequested {false}
 
double fFeFlushWriteCachePeriodSec = 0.5
 
double fFeFlushWriteCacheNextCallTime = 0
 

Detailed Description

Definition at line 170 of file tmfe_example_everything.cxx.

Constructor & Destructor Documentation

◆ FeEverything()

FeEverything::FeEverything ( )
inline

Definition at line 173 of file tmfe_example_everything.cxx.

174 {
175 printf("FeEverything::ctor!\n");
176 FeSetName("tmfe_example_everything");
177 FeAddEquipment(new EqEverything("tmfe_example_everything", __FILE__));
178 }
void FeSetName(const char *program_name)
Definition tmfe.cxx:1647
TMFeResult FeAddEquipment(TMFeEquipment *eq)
Definition tmfe.cxx:1600
TH1X EXPRT * h1_book(const char *name, const char *title, int bins, double min, double max)
Definition rmidas.h:24
Here is the call graph for this function:

Member Function Documentation

◆ HandleArguments()

TMFeResult FeEverything::HandleArguments ( const std::vector< std::string > &  args)
inlinevirtual

Reimplemented from TMFrontend.

Definition at line 185 of file tmfe_example_everything.cxx.

186 {
187 printf("FeEverything::HandleArguments!\n");
188 return TMFeOk();
189 };
TMFeResult TMFeOk()
Definition tmfe.h:106
Here is the call graph for this function:

◆ HandleFrontendExit()

void FeEverything::HandleFrontendExit ( )
inlinevirtual

Reimplemented from TMFrontend.

Definition at line 205 of file tmfe_example_everything.cxx.

206 {
207 printf("FeEverything::HandleFrontendExit!\n");
208 };
Here is the call graph for this function:

◆ HandleFrontendInit()

TMFeResult FeEverything::HandleFrontendInit ( const std::vector< std::string > &  args)
inlinevirtual

Reimplemented from TMFrontend.

Definition at line 191 of file tmfe_example_everything.cxx.

192 {
193 printf("FeEverything::HandleFrontendInit!\n");
194 return TMFeOk();
195 };
Here is the call graph for this function:

◆ HandleFrontendReady()

TMFeResult FeEverything::HandleFrontendReady ( const std::vector< std::string > &  args)
inlinevirtual

Reimplemented from TMFrontend.

Definition at line 197 of file tmfe_example_everything.cxx.

198 {
199 printf("FeEverything::HandleFrontendReady!\n");
200 //FeStartPeriodicThread();
201 //fMfe->StartRpcThread();
202 return TMFeOk();
203 };
Here is the call graph for this function:

◆ HandleUsage()

void FeEverything::HandleUsage ( )
inlinevirtual

Reimplemented from TMFrontend.

Definition at line 180 of file tmfe_example_everything.cxx.

181 {
182 printf("FeEverything::HandleUsage!\n");
183 };
Here is the call graph for this function:

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