|
static bool | xwrite (const std::string &fn, int fh, const void *buf, size_t count) |
|
static int | xread (const std::string &fn, int fh, void *buf, size_t count, bool eof_ok=false) |
|
static bool | xseek (const std::string &fn, int fh, DWORD pos) |
|
static bool | xseek_end (const std::string &fn, int fh) |
|
static bool | xseek_cur (const std::string &fn, int fh, int offset) |
|
static DWORD | xcurpos (const std::string &fn, int fh) |
|
static bool | xtruncate (const std::string &fn, int fh, DWORD pos) |
|
static INT | hs_set_path (const char *path) |
|
static INT | hs_open_file (time_t ltime, const char *suffix, INT mode, std::string *pfile_name, int *fh) |
|
static INT | hs_gen_index (DWORD ltime) |
|
static INT | hs_search_file (DWORD *ltime, INT direction) |
|
static INT | hs_define_event (DWORD event_id, const char *name, const TAG *tag, DWORD size) |
|
static INT | hs_write_event (DWORD event_id, const void *data, DWORD size) |
|
static INT | hs_enum_events (DWORD ltime, char *event_name, DWORD *name_size, INT event_id[], DWORD *id_size) |
|
static INT | hs_count_events (DWORD ltime, DWORD *count) |
|
static INT | hs_get_event_id (DWORD ltime, const char *name, DWORD *id) |
|
static INT | hs_count_vars (DWORD ltime, DWORD event_id, DWORD *count) |
|
static INT | hs_enum_vars (DWORD ltime, DWORD event_id, char *var_name, DWORD *size, DWORD *var_n, DWORD *n_size) |
|
static INT | hs_get_var (DWORD ltime, DWORD event_id, const char *var_name, DWORD *type, INT *n_data) |
|
static INT | hs_get_tags (DWORD ltime, DWORD event_id, char event_name[NAME_LENGTH], int *n_tags, TAG **tags) |
|
double | hs_to_double (int tid, const void *ybuffer) |
|
static INT | hs_read (DWORD event_id, DWORD start_time, DWORD end_time, DWORD interval, const char *tag_name, DWORD var_index, DWORD *time_buffer, DWORD *tbsize, void *data_buffer, DWORD *dbsize, DWORD *data_type, DWORD *data_n, MidasHistoryBufferInterface *buffer) |
|
static INT | hs_dump (DWORD event_id, DWORD start_time, DWORD end_time, DWORD interval, BOOL binary_time) |
|
INT | hs_define_panel (const char *group, const char *panel, const std::vector< std::string > var) |
|
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) |
|
MidasHistoryInterface * | MakeMidasHistory () |
|