MIDAS
|
Classes | |
class | MidasHistory |
Macros | |
#define | HISTORY_PANEL(_name) |
Variables | |
static std::vector< HISTORY * > | _history |
static std::string | _hs_path_name |
HNDLE | MidasHistory::fDB |
int | MidasHistory::fDebug |
std::vector< std::string > | MidasHistory::fEventsCache |
std::map< std::string, std::vector< TAG > > | MidasHistory::fTagsCache |
std::map< std::string, int > | MidasHistory::fEvidCache |
dox
Define history panel in ODB with certain variables and default values for everything else
group | History group name |
panel | Historyh panel name |
var | Vector of variables |
Definition at line 3464 of file history.cxx.
|
inline |
Definition at line 2228 of file history.cxx.
|
inline |
Definition at line 2233 of file history.cxx.
Definition at line 2339 of file history.cxx.
|
inline |
Definition at line 2404 of file history.cxx.
Definition at line 2291 of file history.cxx.
|
inline |
Definition at line 2948 of file history.cxx.
|
inline |
Definition at line 2804 of file history.cxx.
Definition at line 2874 of file history.cxx.
|
inline |
Definition at line 2663 of file history.cxx.
|
inline |
Definition at line 2713 of file history.cxx.
Definition at line 2981 of file history.cxx.
Definition at line 3011 of file history.cxx.
|
inlinevirtual |
clear internal cache, returns HS_SUCCESS
Implements MidasHistoryInterface.
Definition at line 2278 of file history.cxx.
returns HS_SUCCESS
Implements MidasHistoryInterface.
Definition at line 2240 of file history.cxx.
Definition at line 907 of file history.cxx.
Definition at line 1060 of file history.cxx.
|
inlinevirtual |
see hs_define_event(), returns HS_SUCCESS or HS_FILE_ERROR
Implements MidasHistoryInterface.
Definition at line 2632 of file history.cxx.
|
static |
Definition at line 427 of file history.cxx.
INT hs_define_panel | ( | const char * | group, |
const char * | panel, | ||
const std::vector< std::string > | var | ||
) |
Definition at line 3492 of file history.cxx.
INT hs_define_panel2 | ( | const char * | group, |
const char * | panel, | ||
const std::vector< std::string > | var, | ||
const std::vector< std::string > | label, | ||
const std::vector< std::string > | formula, | ||
const std::vector< std::string > | color | ||
) |
Definition at line 3530 of file history.cxx.
|
inlinevirtual |
disconnect from history, returns HS_SUCCESS
Implements MidasHistoryInterface.
Definition at line 2263 of file history.cxx.
|
static |
dox Display history for a given event at stdout. The output can be redirected to be read by Excel for example.
event_id | Event ID |
start_time | Starting Date/Time |
end_time | End Date/Time |
interval | Minimum time in seconds between reported events. Can be used to skip events |
binary_time | Display DWORD time stamp |
Definition at line 1954 of file history.cxx.
|
static |
Definition at line 823 of file history.cxx.
|
static |
Definition at line 1128 of file history.cxx.
|
inlinevirtual |
flush buffered data to storage where it is visible to mhttpd
Implements MidasHistoryInterface.
Definition at line 2655 of file history.cxx.
Definition at line 237 of file history.cxx.
Definition at line 984 of file history.cxx.
|
inlinevirtual |
get list of events that exist(ed) at given time and later (value 0 means "return all events from beginning of time"), returns HS_SUCCESS
Implements MidasHistoryInterface.
Definition at line 2778 of file history.cxx.
|
inlinevirtual |
Implements MidasHistoryInterface.
Definition at line 3178 of file history.cxx.
|
inlinevirtual |
get list of history variables for given event (use event names returned by hs_get_events()) that exist(ed) at given time and later (value 0 means "all variables for this event that ever existed"), also see hs_get_tags(), returns HS_SUCCESS
Implements MidasHistoryInterface.
Definition at line 3151 of file history.cxx.
|
static |
Definition at line 1328 of file history.cxx.
|
static |
Definition at line 1232 of file history.cxx.
|
static |
dox Open history file belonging to certain date. Internal use only.
ltime | Date for which a history file should be opened. |
suffix | File name suffix like "hst", "idx", "idf" |
mode | R/W access mode |
fh | File handle |
Definition at line 206 of file history.cxx.
|
static |
Definition at line 1451 of file history.cxx.
|
inlinevirtual |
see hs_read(), returns HS_SUCCESS
Implements MidasHistoryInterface.
Definition at line 3188 of file history.cxx.
|
inlinevirtual |
returns HS_SUCCESS
Implements MidasHistoryInterface.
Definition at line 3383 of file history.cxx.
|
inlinevirtual |
returns HS_SUCCESS
Implements MidasHistoryInterface.
Definition at line 3346 of file history.cxx.
Definition at line 353 of file history.cxx.
set debug level, returns previous debug level
Implements MidasHistoryInterface.
Definition at line 2271 of file history.cxx.
Sets the path for future history file accesses. Should be called before any other history function is called.
path | Directory where history files reside |
Definition at line 178 of file history.cxx.
Definition at line 1420 of file history.cxx.
|
inlinevirtual |
see hs_write_event(), returns HS_SUCCESS or HS_FILE_ERROR
Implements MidasHistoryInterface.
Definition at line 2646 of file history.cxx.
Definition at line 656 of file history.cxx.
MidasHistoryInterface * MakeMidasHistory | ( | ) |
Definition at line 3583 of file history.cxx.
Definition at line 133 of file history.cxx.
|
static |
Definition at line 73 of file history.cxx.
Definition at line 97 of file history.cxx.
Definition at line 121 of file history.cxx.
Definition at line 109 of file history.cxx.
Definition at line 152 of file history.cxx.
dox
Definition at line 51 of file history.cxx.
|
static |
dox
Definition at line 45 of file history.cxx.
|
static |
Definition at line 46 of file history.cxx.
HNDLE MidasHistory::fDB |
Definition at line 2220 of file history.cxx.
int MidasHistory::fDebug |
Definition at line 2221 of file history.cxx.
std::vector<std::string> MidasHistory::fEventsCache |
Definition at line 2223 of file history.cxx.
std::map<std::string, int > MidasHistory::fEvidCache |
Definition at line 2225 of file history.cxx.
std::map<std::string, std::vector<TAG> > MidasHistory::fTagsCache |
Definition at line 2224 of file history.cxx.