lcls2
C++ API: public headers of xtcdata, psalg, psdaq and psana
Loading...
Searching...
No Matches
TPGen::FixedRateSync Class Reference

Wait for the occurrence-th fixed-rate marker marker_id (per the code comment). More...

#include <user_sequence.hh>

Inherits TPGen::Instruction.

Public Member Functions

 FixedRateSync (unsigned marker_id, unsigned occurrence)
 Store marker_id and occurrence.
 
 ~FixedRateSync ()
 Does nothing; empty body.
 
Instruction::Type instr () const
 Return Instruction::Fixed.
 
- Public Member Functions inherited from TPGen::Instruction
virtual ~Instruction ()
 Does nothing; empty virtual destructor.
 

Public Attributes

unsigned marker_id
 Fixed-rate marker number; XpmSequenceEngine encodes 4 bits of it.
 
unsigned occurrence
 Number of markers to wait for; XpmSequenceEngine encodes 12 bits of it.
 

Additional Inherited Members

- Public Types inherited from TPGen::Instruction
enum  Type {
  Fixed , AC , Branch , Check ,
  Request
}
 Instruction type returned by instr(). More...
 

Detailed Description

Wait for the occurrence-th fixed-rate marker marker_id (per the code comment).

Constructor & Destructor Documentation

◆ FixedRateSync()

TPGen::FixedRateSync::FixedRateSync ( unsigned  marker_id,
unsigned  occurrence 
)

Store marker_id and occurrence.

◆ ~FixedRateSync()

TPGen::FixedRateSync::~FixedRateSync ( )

Does nothing; empty body.

Member Function Documentation

◆ instr()

Instruction::Type TPGen::FixedRateSync::instr ( ) const
virtual

Member Data Documentation

◆ marker_id

unsigned TPGen::FixedRateSync::marker_id

Fixed-rate marker number; XpmSequenceEngine encodes 4 bits of it.

◆ occurrence

unsigned TPGen::FixedRateSync::occurrence

Number of markers to wait for; XpmSequenceEngine encodes 12 bits of it.


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