Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
daq_device Class Referenceabstract

#include <rcdaq/blob/master/daq_device.h>

+ Inheritance diagram for daq_device:

Public Member Functions

 daq_device ()
 
virtual ~daq_device ()
 
virtual void identify (std::ostream &os=std::cout) const =0
 
virtual int max_length (const int etype) const =0
 
virtual int init ()
 
virtual int endrun ()
 
virtual int rearm (const int etype)
 
virtual int put_data (const int, int *, const int)=0
 
virtual int subeventid () const
 

Static Public Member Functions

static int formatPacketHdr (int *adr)
 

Protected Attributes

long m_subeventid
 
long m_eventType
 

Detailed Description

Definition at line 18 of file daq_device.h.

View newest version in sPHENIX GitHub at line 18 of file daq_device.h

Constructor & Destructor Documentation

daq_device::daq_device ( )

Definition at line 22 of file daq_device.cc.

View newest version in sPHENIX GitHub at line 22 of file daq_device.cc

daq_device::~daq_device ( )
virtual

Definition at line 29 of file daq_device.cc.

View newest version in sPHENIX GitHub at line 29 of file daq_device.cc

Member Function Documentation

virtual int daq_device::endrun ( )
inlinevirtual

Definition at line 35 of file daq_device.h.

View newest version in sPHENIX GitHub at line 35 of file daq_device.h

int daq_device::formatPacketHdr ( int *  adr)
static
virtual void daq_device::identify ( std::ostream &  os = std::cout) const
pure virtual
virtual int daq_device::init ( void  )
inlinevirtual

Reimplemented in daq_device_gauss, daq_device_pluginexample, daq_device_random, daq_device_deadtime, and daq_device_rtclock.

Definition at line 34 of file daq_device.h.

View newest version in sPHENIX GitHub at line 34 of file daq_device.h

virtual int daq_device::max_length ( const int  etype) const
pure virtual
virtual int daq_device::put_data ( const int  ,
int *  ,
const int   
)
pure virtual

Implemented in daq_device_gauss, daq_device_pluginexample, daq_device_random, daq_device_deadtime, daq_device_file, daq_device_command, daq_device_filenumbers, and daq_device_rtclock.

Referenced by daqONCSEvent::addSubevent(), and daqPRDFEvent::addSubevent().

+ Here is the caller graph for this function:

virtual int daq_device::rearm ( const int  etype)
inlinevirtual

Reimplemented in daq_device_gauss, daq_device_pluginexample, daq_device_random, and daq_device_deadtime.

Definition at line 36 of file daq_device.h.

View newest version in sPHENIX GitHub at line 36 of file daq_device.h

virtual int daq_device::subeventid ( ) const
inlinevirtual

Definition at line 39 of file daq_device.h.

View newest version in sPHENIX GitHub at line 39 of file daq_device.h

References m_subeventid.

Member Data Documentation

long daq_device::m_eventType
protected

Definition at line 48 of file daq_device.h.

View newest version in sPHENIX GitHub at line 48 of file daq_device.h

long daq_device::m_subeventid
protected

Definition at line 47 of file daq_device.h.

View newest version in sPHENIX GitHub at line 47 of file daq_device.h

Referenced by subeventid().


The documentation for this class was generated from the following files: