ICP  1
Classes
TCPEventStreamDefs.h File Reference

Go to the source code of this file.

Classes

struct  TCPStreamEventHeader
 
struct  TCPStreamEventHeaderSetup
 header for initial data packet send on initial connection and on a state change e.g. run number changes More...
 
struct  TCPStreamEventHeaderSE
 placeholder for sample environment data More...
 
struct  TCPStreamEventHeaderNeutron
 this structure is part of a sequence of neutron events, which are all from the same ISIS frame More...
 
struct  TCPStreamEventNeutron
 structure describing an individual neutron event following on from a TCPStreamEventHeaderNeutron More...
 
struct  TCPStreamEventDataNeutron
 
struct  TCPStreamEventDataSetup
 layout of initial data packet send on initial connection and on a state change e.g. run number changes More...
 
struct  TCPStreamEventDataSE
 

Detailed Description

Definitions for an ISIS Event Stream

Author
Freddie Akeroyd, STFC ISIS Facility, GB

The stream is a sequence of TCPStreamEventHeader followed by the appropriate data for that header type For neutron event data this is all described in TCPStreamEventDataNeutron etc

The data is generated in TCPEventStreamConnection::allEventCallback() and then spooled to clients in TCPEventStreamConnection::run() See EventsToolApp::liveData() in events_tool.cpp for a client example

Definition in file TCPEventStreamDefs.h.