CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Protected Attributes
l1t::Payload Class Referenceabstract

#include <Block.h>

Inheritance diagram for l1t::Payload:
l1t::CTP7Payload l1t::MP7Payload l1t::MTF7Payload

Public Member Functions

virtual unsigned getAlgorithmFWVersion () const
 
virtual std::auto_ptr< BlockgetBlock ()
 
virtual BlockHeader getHeader ()=0
 
virtual unsigned getHeaderSize () const =0
 
virtual unsigned getInfrastructureFWVersion () const
 
 Payload (const uint32_t *data, const uint32_t *end)
 

Protected Attributes

unsigned algo_
 
const uint32_t * data_
 
const uint32_t * end_
 
unsigned infra_
 

Detailed Description

Definition at line 70 of file Block.h.

Constructor & Destructor Documentation

l1t::Payload::Payload ( const uint32_t *  data,
const uint32_t *  end 
)
inline

Definition at line 72 of file Block.h.

72 : data_(data), end_(end), algo_(0), infra_(0) {};
const uint32_t * end_
Definition: Block.h:84
#define end
Definition: vmac.h:37
unsigned infra_
Definition: Block.h:87
const uint32_t * data_
Definition: Block.h:83
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:82
unsigned algo_
Definition: Block.h:86

Member Function Documentation

virtual unsigned l1t::Payload::getAlgorithmFWVersion ( ) const
inlinevirtual

Definition at line 74 of file Block.h.

References algo_.

74 { return algo_; };
unsigned algo_
Definition: Block.h:86
std::auto_ptr< Block > l1t::Payload::getBlock ( )
virtual

Reimplemented in l1t::MTF7Payload.

Definition at line 43 of file Block.cc.

virtual BlockHeader l1t::Payload::getHeader ( )
pure virtual
virtual unsigned l1t::Payload::getHeaderSize ( ) const
pure virtual
virtual unsigned l1t::Payload::getInfrastructureFWVersion ( ) const
inlinevirtual

Definition at line 75 of file Block.h.

References infra_.

75 { return infra_; };
unsigned infra_
Definition: Block.h:87

Member Data Documentation

unsigned l1t::Payload::algo_
protected

Definition at line 86 of file Block.h.

Referenced by getAlgorithmFWVersion().

const uint32_t* l1t::Payload::data_
protected

Definition at line 83 of file Block.h.

const uint32_t* l1t::Payload::end_
protected

Definition at line 84 of file Block.h.

unsigned l1t::Payload::infra_
protected

Definition at line 87 of file Block.h.

Referenced by getInfrastructureFWVersion().