ICP  1
Public Types | Public Member Functions | Public Attributes | List of all members
TCPStreamEventHeaderSetup Struct Reference

header for initial data packet send on initial connection and on a state change e.g. run number changes More...

#include <TCPEventStreamDefs.h>

Public Types

enum  { StartTime =0x1, RunNumber =0x2, RunState =0x4, InstName =0x8 }
 

Public Member Functions

 TCPStreamEventHeaderSetup ()
 
bool isValid () const
 
uint32_t changedFields (const TCPStreamEventHeaderSetup &ref) const
 

Public Attributes

enum
TCPStreamEventHeaderSetup:: { ... }  
ChangedFields
 
uint32_t length
 packet size in bytes More...
 
time_t start_time
 run start time from ISISCRPT_STRUCT More...
 
int run_number
 run number from ISISCRPT_STRUCT More...
 
int run_state
 SETUP etc. More...
 
char inst_name [32]
 instrument name More...
 

Detailed Description

header for initial data packet send on initial connection and on a state change e.g. run number changes

Definition at line 38 of file TCPEventStreamDefs.h.

Member Enumeration Documentation

anonymous enum
Enumerator
StartTime 
RunNumber 
RunState 
InstName 

Definition at line 40 of file TCPEventStreamDefs.h.

Constructor & Destructor Documentation

TCPStreamEventHeaderSetup::TCPStreamEventHeaderSetup ( )
inline

Definition at line 47 of file TCPEventStreamDefs.h.

References inst_name.

Referenced by isValid().

Member Function Documentation

uint32_t TCPStreamEventHeaderSetup::changedFields ( const TCPStreamEventHeaderSetup ref) const
inline
bool TCPStreamEventHeaderSetup::isValid ( ) const
inline

Definition at line 48 of file TCPEventStreamDefs.h.

References length, and TCPStreamEventHeaderSetup().

Referenced by TCPStreamEventDataSetup::isValid().

Member Data Documentation

enum { ... } TCPStreamEventHeaderSetup::ChangedFields
char TCPStreamEventHeaderSetup::inst_name[32]

instrument name

Definition at line 45 of file TCPEventStreamDefs.h.

Referenced by changedFields(), and TCPStreamEventHeaderSetup().

uint32_t TCPStreamEventHeaderSetup::length

packet size in bytes

Definition at line 41 of file TCPEventStreamDefs.h.

Referenced by isValid().

int TCPStreamEventHeaderSetup::run_number

run number from ISISCRPT_STRUCT

Definition at line 43 of file TCPEventStreamDefs.h.

Referenced by changedFields(), and EventsToolApp::liveData().

int TCPStreamEventHeaderSetup::run_state

SETUP etc.

Definition at line 44 of file TCPEventStreamDefs.h.

Referenced by changedFields().

time_t TCPStreamEventHeaderSetup::start_time

run start time from ISISCRPT_STRUCT

Definition at line 42 of file TCPEventStreamDefs.h.

Referenced by changedFields(), and TCPEventStreamConnection::run().


The documentation for this struct was generated from the following file: