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

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

+ Inheritance diagram for daq_device_command:
+ Collaboration diagram for daq_device_command:

Public Member Functions

 daq_device_command (const int eventtype, const int subeventid, const char *command, const int verbose=0)
 
 ~daq_device_command ()
 
void identify (std::ostream &os=std::cout) const
 
int max_length (const int etype) const
 
int put_data (const int etype, int *adr, const int length)
 
- Public Member Functions inherited from daq_device
 daq_device ()
 
virtual ~daq_device ()
 
virtual int init ()
 
virtual int endrun ()
 
virtual int rearm (const int etype)
 
virtual int subeventid () const
 

Private Attributes

subevtdata_ptr sevt
 
int m_eventType
 
int m_subeventid
 
std::string _command
 
int _verbose
 

Additional Inherited Members

- Static Public Member Functions inherited from daq_device
static int formatPacketHdr (int *adr)
 
- Protected Attributes inherited from daq_device
long m_subeventid
 
long m_eventType
 

Detailed Description

Definition at line 9 of file daq_device_command.h.

View newest version in sPHENIX GitHub at line 9 of file daq_device_command.h

Constructor & Destructor Documentation

daq_device_command::daq_device_command ( const int  eventtype,
const int  subeventid,
const char *  command,
const int  verbose = 0 
)

Definition at line 12 of file daq_device_command.cc.

View newest version in sPHENIX GitHub at line 12 of file daq_device_command.cc

References verbose.

daq_device_command::~daq_device_command ( )

Definition at line 27 of file daq_device_command.cc.

View newest version in sPHENIX GitHub at line 27 of file daq_device_command.cc

Member Function Documentation

void daq_device_command::identify ( std::ostream &  os = std::cout) const
virtual

Implements daq_device.

Definition at line 51 of file daq_device_command.cc.

View newest version in sPHENIX GitHub at line 51 of file daq_device_command.cc

int daq_device_command::max_length ( const int  etype) const
inlinevirtual

Implements daq_device.

Definition at line 25 of file daq_device_command.h.

View newest version in sPHENIX GitHub at line 25 of file daq_device_command.h

int daq_device_command::put_data ( const int  etype,
int *  adr,
const int  length 
)
virtual

Implements daq_device.

Definition at line 35 of file daq_device_command.cc.

View newest version in sPHENIX GitHub at line 35 of file daq_device_command.cc

Member Data Documentation

std::string daq_device_command::_command
private

Definition at line 35 of file daq_device_command.h.

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

int daq_device_command::_verbose
private

Definition at line 36 of file daq_device_command.h.

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

int daq_device_command::m_eventType
private

Definition at line 33 of file daq_device_command.h.

View newest version in sPHENIX GitHub at line 33 of file daq_device_command.h

int daq_device_command::m_subeventid
private

Definition at line 34 of file daq_device_command.h.

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

subevtdata_ptr daq_device_command::sevt
private

Definition at line 32 of file daq_device_command.h.

View newest version in sPHENIX GitHub at line 32 of file daq_device_command.h


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