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 189 of file tmfe_example_everything.cxx.

Constructor & Destructor Documentation

◆ FeEverything()

FeEverything::FeEverything ( )
inline

Definition at line 192 of file tmfe_example_everything.cxx.

193 {
194 printf("FeEverything::ctor!\n");
195 FeSetName("tmfe_example_everything");
196 FeAddEquipment(new EqEverything("tmfe_example_everything", __FILE__));
197 }
void FeSetName(const char *program_name)
Definition tmfe.cxx:1704
TMFeResult FeAddEquipment(TMFeEquipment *eq)
Definition tmfe.cxx:1657
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 204 of file tmfe_example_everything.cxx.

205 {
206 printf("FeEverything::HandleArguments!\n");
207 return TMFeOk();
208 };
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 224 of file tmfe_example_everything.cxx.

225 {
226 printf("FeEverything::HandleFrontendExit!\n");
227 };

◆ HandleFrontendInit()

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

Reimplemented from TMFrontend.

Definition at line 210 of file tmfe_example_everything.cxx.

211 {
212 printf("FeEverything::HandleFrontendInit!\n");
213 return TMFeOk();
214 };
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 216 of file tmfe_example_everything.cxx.

217 {
218 printf("FeEverything::HandleFrontendReady!\n");
219 //FeStartPeriodicThread();
220 //fMfe->StartRpcThread();
221 return TMFeOk();
222 };
Here is the call graph for this function:

◆ HandleUsage()

void FeEverything::HandleUsage ( )
inlinevirtual

Reimplemented from TMFrontend.

Definition at line 199 of file tmfe_example_everything.cxx.

200 {
201 printf("FeEverything::HandleUsage!\n");
202 };

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