|
MIDAS
|
#include <tmfe.h>


Public Member Functions | |
| TMFrontend () | |
| virtual | ~TMFrontend () |
| int | FeMain (int argc, char *argv[]) |
| int | FeMain (const std::vector< std::string > &args) |
| void | FeUsage (const char *argv0) |
| virtual TMFeResult | HandleArguments (const std::vector< std::string > &args) |
| virtual void | HandleUsage () |
| virtual TMFeResult | HandleFrontendInit (const std::vector< std::string > &args) |
| virtual TMFeResult | HandleFrontendReady (const std::vector< std::string > &args) |
| virtual void | HandleFrontendExit () |
| 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 () |
Public Attributes | |
| TMFE * | fMfe = NULL |
| TMFrontendRpcHelper * | fFeRpcHelper = 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 |
| TMFrontend::TMFrontend | ( | ) |
|
virtual |
Definition at line 1602 of file tmfe.cxx.

| TMFeResult TMFrontend::FeAddEquipment | ( | TMFeEquipment * | eq | ) |
Definition at line 1657 of file tmfe.cxx.


| void TMFrontend::FeDeleteEquipments | ( | ) |
Definition at line 1638 of file tmfe.cxx.


| TMFeResult TMFrontend::FeInit | ( | const std::vector< std::string > & | args | ) |
Definition at line 2346 of file tmfe.cxx.


| TMFeResult TMFrontend::FeInitEquipments | ( | const std::vector< std::string > & | args | ) |
Definition at line 1613 of file tmfe.cxx.


| int TMFrontend::FeMain | ( | const std::vector< std::string > & | args | ) |
Definition at line 2511 of file tmfe.cxx.

| int TMFrontend::FeMain | ( | int | argc, |
| char * | argv[] | ||
| ) |
| void TMFrontend::FeMainLoop | ( | ) |
Definition at line 2494 of file tmfe.cxx.


| double TMFrontend::FePeriodicTasks | ( | ) |
Definition at line 507 of file tmfe.cxx.


| void TMFrontend::FePeriodicThread | ( | ) |
Definition at line 883 of file tmfe.cxx.


| void TMFrontend::FePollMidas | ( | double | sleep_sec | ) |
Definition at line 745 of file tmfe.cxx.


| double TMFrontend::FePollTasks | ( | double | next_periodic_time | ) |
Definition at line 583 of file tmfe.cxx.

| TMFeResult TMFrontend::FeRemoveEquipment | ( | TMFeEquipment * | eq | ) |
Definition at line 1687 of file tmfe.cxx.

| void TMFrontend::FeSetName | ( | const char * | program_name | ) |
| void TMFrontend::FeShutdown | ( | ) |
Definition at line 2501 of file tmfe.cxx.


| void TMFrontend::FeStartPeriodicThread | ( | ) |
Definition at line 919 of file tmfe.cxx.

| void TMFrontend::FeStopEquipmentPollThreads | ( | ) |
| void TMFrontend::FeStopPeriodicThread | ( | ) |
Definition at line 963 of file tmfe.cxx.

| void TMFrontend::FeUsage | ( | const char * | argv0 | ) |
Definition at line 2307 of file tmfe.cxx.

|
inlinevirtual |
Reimplemented in FeTest, and FeEverything.
Definition at line 331 of file tmfe.h.


|
inlinevirtual |
Reimplemented in FeTest, FeEverything, and FeExample.
Definition at line 335 of file tmfe.h.

|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
Reimplemented in FeTest, and FeEverything.
Definition at line 332 of file tmfe.h.

| std::vector<TMFeEquipment*> TMFrontend::fFeEquipments |
| std::atomic_bool TMFrontend::fFePeriodicThreadRunning {false} |
| std::atomic_bool TMFrontend::fFePeriodicThreadShutdownRequested {false} |
| std::atomic_bool TMFrontend::fFePeriodicThreadStarting {false} |
| TMFrontendRpcHelper* TMFrontend::fFeRpcHelper = NULL |