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

Instruction to notify software through a callback (per the code comment); compiled unless EXCLUDE_CHECKPOINT is defined. More...

#include <user_sequence.hh>

Inherits TPGen::Instruction.

Public Member Functions

 Checkpoint (Callback *)
 Keep the callback pointer (not owned).
 
 ~Checkpoint ()
 Does nothing; the callback is not deleted.
 
Instruction::Type instr () const
 Return Instruction::Check.
 
Callback * callback () const
 Return the callback pointer given to the constructor.
 
- Public Member Functions inherited from TPGen::Instruction
virtual ~Instruction ()
 Does nothing; empty virtual destructor.
 

Additional Inherited Members

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

Detailed Description

Instruction to notify software through a callback (per the code comment); compiled unless EXCLUDE_CHECKPOINT is defined.

Constructor & Destructor Documentation

◆ Checkpoint()

TPGen::Checkpoint::Checkpoint ( Callback *  )

Keep the callback pointer (not owned).

◆ ~Checkpoint()

TPGen::Checkpoint::~Checkpoint ( )

Does nothing; the callback is not deleted.

Member Function Documentation

◆ callback()

Callback * TPGen::Checkpoint::callback ( ) const

Return the callback pointer given to the constructor.

◆ instr()

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

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