Project
Loading...
Searching...
No Matches
o2::framework::ExpirationHandler Struct Reference

#include <ExpirationHandler.h>

Public Types

using Creator = std::function< TimesliceSlot(ServiceRegistryRef, ChannelIndex)>
 
using Checker = std::function< bool(ServiceRegistryRef, uint64_t timestamp, InputSpan const &record)>
 Callback type to check if the record must be expired.
 
using Handler = std::function< void(ServiceRegistryRef, PartRef &expiredInput, data_matcher::VariableContext &variables)>
 Callback type to actually materialise a given record.
 

Public Attributes

std::string name = "unset"
 
RouteIndex routeIndex
 
Lifetime lifetime
 
Creator creator
 
Checker checker
 
Handler handler
 

Detailed Description

Definition at line 32 of file ExpirationHandler.h.

Member Typedef Documentation

◆ Checker

using o2::framework::ExpirationHandler::Checker = std::function<bool(ServiceRegistryRef, uint64_t timestamp, InputSpan const& record)>

Callback type to check if the record must be expired.

Definition at line 35 of file ExpirationHandler.h.

◆ Creator

◆ Handler

Callback type to actually materialise a given record.

Definition at line 37 of file ExpirationHandler.h.

Member Data Documentation

◆ checker

Checker o2::framework::ExpirationHandler::checker

Definition at line 43 of file ExpirationHandler.h.

◆ creator

Creator o2::framework::ExpirationHandler::creator

Definition at line 42 of file ExpirationHandler.h.

◆ handler

Handler o2::framework::ExpirationHandler::handler

Definition at line 44 of file ExpirationHandler.h.

◆ lifetime

Lifetime o2::framework::ExpirationHandler::lifetime

Definition at line 41 of file ExpirationHandler.h.

◆ name

std::string o2::framework::ExpirationHandler::name = "unset"

Definition at line 39 of file ExpirationHandler.h.

◆ routeIndex

RouteIndex o2::framework::ExpirationHandler::routeIndex

Definition at line 40 of file ExpirationHandler.h.


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