GSI Object Oriented Online Offline (Go4)
GO4-5.3.2
|
#include "typedefs.h"
#include "s_ve10_1_swap.h"
#include "s_ves10_1_swap.h"
#include "s_evhe_swap.h"
#include "s_bufhe_swap.h"
Go to the source code of this file.
Classes | |
struct | s_taghe |
struct | s_tag |
struct | s_evt_channel |
#define GETEVT__CLOSE_ERR 7 |
Definition at line 145 of file f_evt.h.
Referenced by f_evt_error(), and f_evt_get_close().
#define GETEVT__EVENT 4 |
Definition at line 130 of file f_evt.h.
Referenced by f_evt_get_buffer(), f_evt_get_close(), f_evt_get_event(), f_evt_get_newbuf(), f_evt_get_open(), f_evt_skip_buffer(), and TGo4MbsSource::NextEvent().
#define GETEVT__FAILURE 1 |
Definition at line 139 of file f_evt.h.
Referenced by f_evt_error(), f_evt_get_buffer(), f_evt_get_event(), f_evt_get_newbuf(), f_evt_get_subevent(), and f_evt_skip_buffer().
#define GETEVT__FILE 1 |
Definition at line 127 of file f_evt.h.
Referenced by f_evt_get_buffer(), f_evt_get_close(), f_evt_get_event(), f_evt_get_newbuf(), f_evt_get_open(), f_evt_get_tagopen(), f_evt_skip_buffer(), and TGo4MbsSource::Open().
#define GETEVT__FRAGMENT 2 |
Definition at line 140 of file f_evt.h.
Referenced by f_evt_error(), and f_evt_get_event().
#define GETEVT__NOCHANNEL 8 |
Definition at line 146 of file f_evt.h.
Referenced by f_evt_error().
#define GETEVT__NOFILE 4 |
Definition at line 142 of file f_evt.h.
Referenced by TGo4MbsFile::AddFileName(), f_evt_cre_tagfile(), f_evt_error(), f_evt_get_open(), f_evt_get_tagopen(), and TGo4MbsFile::NextFile().
#define GETEVT__NOLMDFILE 14 |
Definition at line 152 of file f_evt.h.
Referenced by f_evt_cre_tagfile(), f_evt_error(), and f_evt_get_open().
#define GETEVT__NOMORE 3 |
Definition at line 141 of file f_evt.h.
Referenced by f_evt_error(), f_evt_get_buffer(), f_evt_get_event(), f_evt_get_newbuf(), f_evt_get_subevent(), f_evt_skip_buffer(), main(), TGo4MbsFile::NextEvent(), and TGo4MbsSource::NextEvent().
#define GETEVT__NOSERVER 5 |
Definition at line 143 of file f_evt.h.
Referenced by f_evt_error(), and f_evt_get_open().
#define GETEVT__NOTAG 11 |
Definition at line 149 of file f_evt.h.
Referenced by f_evt_error(), and f_evt_get_tagevent().
#define GETEVT__NOTAGFILE 10 |
Definition at line 148 of file f_evt.h.
Referenced by f_evt_error().
#define GETEVT__RDERR 6 |
Definition at line 144 of file f_evt.h.
Referenced by f_evt_cre_tagfile(), f_evt_error(), f_evt_get_buffer(), f_evt_get_event(), f_evt_get_newbuf(), f_evt_get_open(), f_evt_get_tagevent(), and f_evt_get_tagopen().
#define GETEVT__REVSERV 5 |
Definition at line 131 of file f_evt.h.
Referenced by f_evt_get_buffer(), f_evt_get_close(), f_evt_get_event(), f_evt_get_newbuf(), f_evt_get_open(), f_evt_skip_buffer(), and TGo4MbsSource::NextEvent().
#define GETEVT__RFIO 6 |
Definition at line 132 of file f_evt.h.
Referenced by f_evt_get_buffer(), f_evt_get_close(), f_evt_get_newbuf(), f_evt_get_open(), and f_evt_skip_buffer().
#define GETEVT__STREAM 2 |
Definition at line 128 of file f_evt.h.
Referenced by f_evt_get_buffer(), f_evt_get_close(), f_evt_get_event(), f_evt_get_newbuf(), f_evt_get_open(), f_evt_skip_buffer(), and TGo4MbsSource::NextEvent().
#define GETEVT__SUCCESS 0 |
Definition at line 138 of file f_evt.h.
Referenced by TGo4MbsSource::BuildEvent(), TGo4MbsSource::BuildMbsEvent(), TGo4MbsFile::Close(), TGo4MbsSource::Close(), TGo4MbsFile::CloseFile(), f_evt_cre_tagfile(), f_evt_error(), f_evt_get_buffer(), f_evt_get_close(), f_evt_get_event(), f_evt_get_newbuf(), f_evt_get_open(), f_evt_get_subevent(), f_evt_get_tagclose(), f_evt_get_tagevent(), f_evt_get_tagnext(), f_evt_get_tagopen(), f_evt_skip_buffer(), f_evt_timeout(), TGo4MbsSource::Open(), and TGo4MbsFile::OpenFile().
#define GETEVT__TAGRDERR 12 |
Definition at line 150 of file f_evt.h.
Referenced by f_evt_error(), f_evt_get_tagevent(), and f_evt_get_tagopen().
#define GETEVT__TAGWRERR 13 |
Definition at line 151 of file f_evt.h.
Referenced by f_evt_cre_tagfile(), and f_evt_error().
#define GETEVT__TIMEOUT 9 |
Definition at line 147 of file f_evt.h.
Referenced by f_evt_error(), f_evt_get_buffer(), f_evt_get_event(), f_evt_get_newbuf(), f_evt_get_open(), and TGo4MbsSource::NextEvent().
#define GETEVT__TRANS 3 |
Definition at line 129 of file f_evt.h.
Referenced by f_evt_get_buffer(), f_evt_get_close(), f_evt_get_event(), f_evt_get_newbuf(), f_evt_get_open(), f_evt_skip_buffer(), and TGo4MbsSource::NextEvent().
#define MAX_BUFS_IN_STREAM 100 /* at a maximum, 100 buffers per stream */ |
#define MAX_LONG 99999999 /* maximum long data */ |
Definition at line 37 of file f_evt.h.
Referenced by f_evt_get_event().
#define MIN_BUF_LGTH 512 |
Definition at line 35 of file f_evt.h.
Referenced by f_evt_cre_tagfile(), and f_evt_get_open().
#define PUTEVT__CLOSE_ERR 105 |
Definition at line 159 of file f_evt.h.
Referenced by f_evt_error(), and f_evt_put_close().
#define PUTEVT__FAILURE 102 |
Definition at line 156 of file f_evt.h.
Referenced by f_evt_error(), and f_evt_put_open().
#define PUTEVT__FILE_EXIST 101 |
Definition at line 155 of file f_evt.h.
Referenced by f_evt_error(), and f_evt_put_open().
#define PUTEVT__NOCHANNEL 107 |
Definition at line 161 of file f_evt.h.
Referenced by f_evt_error().
#define PUTEVT__SUCCESS 0 |
Definition at line 154 of file f_evt.h.
Referenced by f_evt_check_buf(), f_evt_ini_bufhe(), f_evt_put_buffer(), f_evt_put_close(), f_evt_put_event(), and f_evt_put_open().
#define PUTEVT__TOO_SMALLS 104 |
Definition at line 158 of file f_evt.h.
Referenced by f_evt_error(), and f_evt_put_event().
#define PUTEVT__TOOBIG 103 |
Definition at line 157 of file f_evt.h.
Referenced by f_evt_error(), f_evt_put_buffer(), f_evt_put_close(), f_evt_put_event(), and f_evt_put_open().
#define PUTEVT__WRERR 106 |
Definition at line 160 of file f_evt.h.
Referenced by f_evt_error(), f_evt_put_buffer(), f_evt_put_close(), f_evt_put_event(), and f_evt_put_open().
s_evt_channel* f_evt_control | ( | ) |
Definition at line 2845 of file f_evt.c.
Referenced by TGo4MbsSource::TGo4MbsSource().
Definition at line 2233 of file f_evt.c.
References c_temp, f_evt_check_buf(), f_evt_swap(), GETEVT__NOFILE, GETEVT__NOLMDFILE, GETEVT__RDERR, GETEVT__SUCCESS, GETEVT__TAGWRERR, s_bufhe::h_begin, s_bufhe::h_end, s_ve10_1::i_subtype, s_ve10_1::i_trigger, s_ve10_1::i_type, s_taghe::l_buffers, s_taghe::l_bufsize, s_ve10_1::l_count, s_ve10_1::l_dlen, s_taghe::l_endian, s_tag::l_event, s_taghe::l_events, s_bufhe::l_evt, s_taghe::l_filesize, s_taghe::l_first, s_bufhe::l_free, s_taghe::l_last, s_taghe::l_linear, s_tag::l_offset, s_taghe::l_version, and MIN_BUF_LGTH.
Definition at line 1610 of file f_evt.c.
References GETEVT__CLOSE_ERR, GETEVT__FAILURE, GETEVT__FRAGMENT, GETEVT__NOCHANNEL, GETEVT__NOFILE, GETEVT__NOLMDFILE, GETEVT__NOMORE, GETEVT__NOSERVER, GETEVT__NOTAG, GETEVT__NOTAGFILE, GETEVT__RDERR, GETEVT__SUCCESS, GETEVT__TAGRDERR, GETEVT__TAGWRERR, GETEVT__TIMEOUT, PUTEVT__CLOSE_ERR, PUTEVT__FAILURE, PUTEVT__FILE_EXIST, PUTEVT__NOCHANNEL, PUTEVT__TOO_SMALLS, PUTEVT__TOOBIG, and PUTEVT__WRERR.
Referenced by TGo4MbsFile::NextEvent(), TGo4MbsSource::NextEvent(), TGo4MbsSource::Open(), and TGo4MbsFile::OpenFile().
INTS4 f_evt_get_buffer | ( | s_evt_channel * | , |
INTS4 * | |||
) |
Definition at line 1717 of file f_evt.c.
References f_evt_swap(), f_stc_read(), f_stc_write(), GETEVT__EVENT, GETEVT__FAILURE, GETEVT__FILE, GETEVT__NOMORE, GETEVT__RDERR, GETEVT__REVSERV, GETEVT__RFIO, GETEVT__STREAM, GETEVT__SUCCESS, GETEVT__TIMEOUT, GETEVT__TRANS, s_evt_channel::l_buf_size, s_evt_channel::l_bufs_in_stream, s_evt_channel::l_channel_no, s_evt_channel::l_io_buf_size, s_evt_channel::l_server_type, l_status, s_evt_channel::l_stream_bufs, s_evt_channel::l_timeout, s_evt_channel::pc_io_buf, RFIO_read, STC__SUCCESS, and STC__TIMEOUT.
CHARS* f_evt_get_buffer_ptr | ( | s_evt_channel * | ) |
Definition at line 1955 of file f_evt.c.
References s_evt_channel::pc_io_buf.
Referenced by TGo4MbsSource::GetBufferHeader().
INTS4 f_evt_get_close | ( | s_evt_channel * | ) |
Definition at line 1113 of file f_evt.c.
References f_evcli_close(), f_stc_close(), f_stc_discclient(), f_stc_write(), fLmdCloseMbs(), fLmdGetClose(), GETEVT__CLOSE_ERR, GETEVT__EVENT, GETEVT__FILE, GETEVT__REVSERV, GETEVT__RFIO, GETEVT__STREAM, GETEVT__SUCCESS, GETEVT__TRANS, s_evt_channel::l_channel_no, s_evt_channel::l_server_type, l_status, s_evt_channel::pc_evt_buf, s_evt_channel::pc_io_buf, s_evt_channel::pLmd, RFIO_close, s_tcpcomm_st_evt, and STC__SUCCESS.
Referenced by TGo4MbsSource::Close(), f_evt_get_newbuf(), and f_evt_get_tagclose().
INTS4 f_evt_get_event | ( | s_evt_channel * | , |
INTS4 ** | , | ||
INTS4 ** | |||
) |
Definition at line 923 of file f_evt.c.
References f_evcli_buf(), f_evcli_evt(), f_evt_get_newbuf(), fLmdGetElement(), fLmdGetMbsEvent(), GETEVT__EVENT, GETEVT__FAILURE, GETEVT__FILE, GETEVT__FRAGMENT, GETEVT__NOMORE, GETEVT__RDERR, GETEVT__REVSERV, GETEVT__STREAM, GETEVT__SUCCESS, GETEVT__TIMEOUT, GETEVT__TRANS, GETLMD__EOFILE, GETLMD__NOBUFFER, GETLMD__NOMORE, s_bufhe::h_begin, s_bufhe::h_end, s_bufhe::i_type, s_bufhe::i_used, s_bufhe::l_buf, s_evt_channel::l_buf_lmt, s_evt_channel::l_buf_no, s_evt_channel::l_buf_posi, s_evt_channel::l_buf_size, s_ve10_1::l_dlen, s_bufhe::l_dlen, s_evt_channel::l_evt_buf_posi, s_evt_channel::l_evt_buf_size, s_evt_channel::l_first_buf, s_evt_channel::l_first_get, s_evt_channel::l_frag_len, s_bufhe::l_free, s_evt_channel::l_io_buf_posi, s_evt_channel::l_io_buf_size, s_evt_channel::l_server_type, LMD__NO_INDEX, LMD__TIMEOUT, MAX__DLEN, MAX_LONG, s_evt_channel::pc_evt_buf, s_evt_channel::pc_io_buf, s_evt_channel::pLmd, s_evt_channel::ps_bufhe, s_evt_channel::ps_ve10_1, s_evt_channel::s_bufhe_1, STC__SUCCESS, and STC__TIMEOUT.
Referenced by f_evt_get_tagevent(), f_evt_get_tagnext(), and TGo4MbsSource::NextEvent().
Definition at line 561 of file f_evt.c.
References s_evt_channel::c_channel, c_temp, f_evcli_con(), f_evt_check_buf(), f_evt_swap(), f_evt_swap_filhe(), f_stc_connectserver(), f_stc_read(), fLmdAllocateControl(), fLmdGetOpen(), fLmdInitMbs(), GETEVT__EVENT, GETEVT__FILE, GETEVT__NOFILE, GETEVT__NOLMDFILE, GETEVT__NOSERVER, GETEVT__RDERR, GETEVT__REVSERV, GETEVT__RFIO, GETEVT__STREAM, GETEVT__SUCCESS, GETEVT__TIMEOUT, GETEVT__TRANS, s_evt_channel::l_buf_size, s_evt_channel::l_bufs_in_stream, s_evt_channel::l_channel_no, s_evt_channel::l_evt_buf_size, s_evt_channel::l_first_get, l_gl_source_port, s_evt_channel::l_io_buf_size, s_evt_channel::l_server_type, l_status, s_evt_channel::l_stream_bufs, s_evt_channel::l_timeout, LMD__BUFFER, LMD__NO_INDEX, LMD__TYPE_FILE_HEADER_101_1, MAX__DLEN, MIN_BUF_LGTH, s_evt_channel::pc_evt_buf, s_evt_channel::pc_io_buf, s_evt_channel::pLmd, PORT__EVENT_SERV, PORT__STREAM_SERV, PORT__TRANSPORT, sLmdControl::pTCP, RFIO_close, RFIO_lseek, RFIO_open, RFIO_read, s_tcpcomm_st_evt, STC__SUCCESS, and STC__TIMEOUT.
Referenced by f_evt_get_tagopen(), and TGo4MbsSource::Open().
Definition at line 243 of file f_evt.c.
References GETEVT__FAILURE, GETEVT__NOMORE, GETEVT__SUCCESS, l, s_ve10_1::l_dlen, s_ves10_1::l_dlen, and l_status.
Referenced by f_evt_type().
INTS4 f_evt_get_tagclose | ( | s_evt_channel * | ) |
Definition at line 2828 of file f_evt.c.
References f_evt_get_close(), GETEVT__SUCCESS, s_evt_channel::l_channel_no, s_evt_channel::l_tagfile_no, s_evt_channel::pc_evt_buf, s_evt_channel::ps_tag, and s_evt_channel::ps_taghe.
Referenced by TGo4MbsFile::CloseFile().
INTS4 f_evt_get_tagevent | ( | s_evt_channel * | , |
INTS4 | , | ||
INTS4 | , | ||
INTS4 ** | |||
) |
Definition at line 2668 of file f_evt.c.
References c_temp, f_evt_get_event(), f_evt_swap(), GETEVT__NOTAG, GETEVT__RDERR, GETEVT__SUCCESS, GETEVT__TAGRDERR, s_taghe::l_bufsize, s_evt_channel::l_channel_no, s_ve10_1::l_count, s_ve10_1::l_dlen, s_tag::l_event, s_taghe::l_events, s_evt_channel::l_evt_buf_size, s_taghe::l_first, s_bufhe::l_free, s_evt_channel::l_io_buf_posi, s_taghe::l_linear, s_evt_channel::l_lmdswap, s_tag::l_offset, s_evt_channel::l_tagfile_no, s_evt_channel::l_tagswap, s_evt_channel::pc_evt_buf, s_evt_channel::ps_tag, and s_evt_channel::ps_taghe.
Referenced by f_evt_get_tagnext().
INTS4 f_evt_get_tagnext | ( | s_evt_channel * | , |
INTS4 | , | ||
INTS4 ** | |||
) |
Definition at line 2619 of file f_evt.c.
References f_evt_get_event(), f_evt_get_tagevent(), GETEVT__SUCCESS, s_evt_channel::l_io_buf_posi, and s_evt_channel::ps_taghe.
Referenced by TGo4MbsFile::NextEvent().
Definition at line 2495 of file f_evt.c.
References c_temp, f_evt_get_open(), f_evt_swap(), f_evt_swap_filhe(), f_evt_type(), GETEVT__FILE, GETEVT__NOFILE, GETEVT__RDERR, GETEVT__SUCCESS, GETEVT__TAGRDERR, s_bufhe::i_type, s_taghe::l_buffers, s_taghe::l_bufsize, s_evt_channel::l_channel_no, s_taghe::l_endian, s_taghe::l_events, s_evt_channel::l_evt_buf_size, s_taghe::l_filesize, s_taghe::l_first, s_bufhe::l_free, s_evt_channel::l_io_buf_posi, s_taghe::l_last, s_taghe::l_linear, s_evt_channel::l_lmdswap, s_evt_channel::l_tagfile_no, s_evt_channel::l_tagswap, s_evt_channel::pc_evt_buf, s_evt_channel::ps_tag, and s_evt_channel::ps_taghe.
Referenced by TGo4MbsFile::OpenFile().
INTS4 f_evt_put_buffer | ( | s_evt_channel * | , |
s_bufhe * | |||
) |
Definition at line 1470 of file f_evt.c.
References fLmdPutBuffer(), s_evt_channel::l_buf_size, s_evt_channel::l_channel_no, s_bufhe::l_evt, s_evt_channel::l_io_buf_posi, s_evt_channel::l_io_buf_size, l_status, s_evt_channel::pLmd, PUTEVT__SUCCESS, PUTEVT__TOOBIG, and PUTEVT__WRERR.
INTS4 f_evt_put_close | ( | s_evt_channel * | ) |
Definition at line 1516 of file f_evt.c.
References fLmdPutClose(), s_bufhe::h_begin, s_bufhe::h_end, s_bufhe::i_used, s_evt_channel::l_buf_size, s_evt_channel::l_channel_no, s_bufhe::l_dlen, s_evt_channel::l_first_put, s_evt_channel::l_io_buf_posi, s_evt_channel::l_io_buf_size, l_status, s_evt_channel::pc_io_buf, s_evt_channel::pLmd, s_evt_channel::ps_bufhe, PUTEVT__CLOSE_ERR, PUTEVT__SUCCESS, PUTEVT__TOOBIG, and PUTEVT__WRERR.
INTS4 f_evt_put_event | ( | s_evt_channel * | , |
INTS4 * | |||
) |
Definition at line 1327 of file f_evt.c.
References f_evt_ini_bufhe(), fLmdPutElement(), s_bufhe::h_begin, s_bufhe::h_end, s_ve10_1::i_subtype, s_ve10_1::i_type, s_bufhe::i_used, s_evt_channel::l_buf_no, s_evt_channel::l_buf_size, s_evt_channel::l_buf_subtype, s_evt_channel::l_buf_type, s_evt_channel::l_channel_no, s_ve10_1::l_dlen, s_bufhe::l_evt, s_evt_channel::l_evt_size, s_evt_channel::l_first_put, s_bufhe::l_free, s_evt_channel::l_io_buf_posi, s_evt_channel::l_io_buf_size, l_status, s_evt_channel::pc_io_buf, s_evt_channel::pLmd, s_evt_channel::ps_bufhe, s_evt_channel::ps_ve10_1, PUTEVT__SUCCESS, PUTEVT__TOO_SMALLS, PUTEVT__TOOBIG, and PUTEVT__WRERR.
Definition at line 1205 of file f_evt.c.
References s_filhe::filhe_dlen, s_filhe::filhe_file, s_filhe::filhe_file_l, s_filhe::filhe_free, s_filhe::filhe_run, s_filhe::filhe_run_l, s_filhe::filhe_stime, s_filhe::filhe_subtype, s_filhe::filhe_time, s_filhe::filhe_type, s_filhe::filhe_user, s_filhe::filhe_user_l, fLmdAllocateControl(), fLmdPutOpen(), s_evt_channel::l_buf_size, s_evt_channel::l_buf_subtype, s_evt_channel::l_buf_type, s_evt_channel::l_bufs_in_stream, s_evt_channel::l_channel_no, s_evt_channel::l_first_put, s_evt_channel::l_io_buf_size, l_status, LMD__INDEX, LMD__LARGE_FILE, LMD__NO_OVERWRITE, s_evt_channel::pc_io_buf, s_evt_channel::pLmd, PUTEVT__FAILURE, PUTEVT__FILE_EXIST, PUTEVT__SUCCESS, PUTEVT__TOOBIG, and PUTEVT__WRERR.
Definition at line 518 of file f_evt.c.
References l_gl_source_port.
INTS4 f_evt_skip_buffer | ( | s_evt_channel * | , |
INTS4 | |||
) |
Definition at line 1803 of file f_evt.c.
References GETEVT__EVENT, GETEVT__FAILURE, GETEVT__FILE, GETEVT__NOMORE, GETEVT__REVSERV, GETEVT__RFIO, GETEVT__STREAM, GETEVT__SUCCESS, GETEVT__TRANS, s_evt_channel::l_buf_size, s_evt_channel::l_channel_no, s_evt_channel::l_first_get, s_evt_channel::l_server_type, l_status, s_evt_channel::pc_io_buf, and RFIO_lseek.
Definition at line 495 of file f_evt.c.
References l_gl_source_port.
Referenced by TGo4MbsSource::Open().
Definition at line 1878 of file f_evt.c.
Referenced by f_evt_check_buf(), f_evt_cre_tagfile(), f_evt_get_buffer(), f_evt_get_newbuf(), f_evt_get_open(), f_evt_get_tagevent(), f_evt_get_tagopen(), and f_evt_swap_filhe().
INTS4 f_evt_timeout | ( | s_evt_channel * | , |
INTS4 | |||
) |
Definition at line 1858 of file f_evt.c.
References GETEVT__SUCCESS, and s_evt_channel::l_timeout.
Referenced by TGo4MbsSource::Open().
Definition at line 306 of file f_evt.c.
References f_evt_get_subevent(), f_ut_utime(), s_filhe::filhe_dlen, s_filhe::filhe_exp, s_filhe::filhe_file, s_filhe::filhe_label, s_filhe::filhe_lines, s_filhe::filhe_run, s_filhe::filhe_time, s_filhe::filhe_used, s_filhe::filhe_user, s_bufhe::h_begin, s_ves10_1::h_control, s_bufhe::h_end, s_ves10_1::h_subcrate, s_ves10_1::i_procid, s_evhe::i_subtype, s_ves10_1::i_subtype, s_ve10_1::i_subtype, s_bufhe::i_subtype, s_ve10_1::i_trigger, s_evhe::i_type, s_ves10_1::i_type, s_ve10_1::i_type, s_bufhe::i_type, s_bufhe::i_used, l, s_bufhe::l_buf, s_ve10_1::l_count, s_evhe::l_dlen, s_ve10_1::l_dlen, s_ves10_1::l_dlen, s_bufhe::l_dlen, s_bufhe::l_evt, s_bufhe::l_free, l_status, s_bufhe::l_time, MAX__DLEN, s_filhe::s_strings, and cv_string::string.
Referenced by TGo4MbsSource::BuildMbsEvent(), and f_evt_get_tagopen().