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

Base of the sequence engine instructions (per the code comment); instr() identifies the concrete type. More...

#include <user_sequence.hh>

Inherited by TPGen::ACRateSync, TPGen::Branch, TPGen::Checkpoint, TPGen::ControlRequest, and TPGen::FixedRateSync.

Public Types

enum  Type {
  Fixed , AC , Branch , Check ,
  Request
}
 Instruction type returned by instr(). More...
 

Public Member Functions

virtual ~Instruction ()
 Does nothing; empty virtual destructor.
 
virtual Instruction::Type instr () const =0
 Pure virtual: return the instruction type.
 

Detailed Description

Base of the sequence engine instructions (per the code comment); instr() identifies the concrete type.

Member Enumeration Documentation

◆ Type

Instruction type returned by instr().

Enumerator
Fixed 

FixedRateSync.

AC 

ACRateSync.

Branch 

Branch.

Check 

Checkpoint.

Request 

ControlRequest (BeamRequest or ExptRequest).

Constructor & Destructor Documentation

◆ ~Instruction()

virtual TPGen::Instruction::~Instruction ( )
inlinevirtual

Does nothing; empty virtual destructor.

Member Function Documentation

◆ instr()

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

Pure virtual: return the instruction type.

Implemented in TPGen::Checkpoint, TPGen::FixedRateSync, TPGen::ACRateSync, TPGen::Branch, and TPGen::ControlRequest.


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