Project
Loading...
Searching...
No Matches
o2::framework::RawDeviceService Class Referenceabstract

#include <RawDeviceService.h>

Inherited by o2::framework::SimpleRawDeviceService.

Public Member Functions

virtual fair::mq::Devicedevice ()=0
 
virtual void setDevice (fair::mq::Device *device)=0
 
virtual DeviceSpec const & spec () const =0
 
virtual void waitFor (unsigned int time)=0
 

Static Public Attributes

static constexpr ServiceKind service_kind = ServiceKind::Global
 

Detailed Description

This service provides a hook into the actual fairmq device running the computation, and allows an advanced user to modify its behavior from within a workflow class. This should be used to implement special DataProcessors like one that acts as a gateway to standard FairMQ devices.

Definition at line 27 of file RawDeviceService.h.

Member Function Documentation

◆ device()

virtual fair::mq::Device * o2::framework::RawDeviceService::device ( )
pure virtual

◆ setDevice()

virtual void o2::framework::RawDeviceService::setDevice ( fair::mq::Device device)
pure virtual

◆ spec()

virtual DeviceSpec const & o2::framework::RawDeviceService::spec ( ) const
pure virtual

◆ waitFor()

virtual void o2::framework::RawDeviceService::waitFor ( unsigned int  time)
pure virtual

Expose fair::mq::Device::WaitFor method to avoid having to include <fairmq/Device.h>.

time in millisecond to sleep

Implemented in o2::framework::SimpleRawDeviceService.

Member Data Documentation

◆ service_kind

constexpr ServiceKind o2::framework::RawDeviceService::service_kind = ServiceKind::Global
staticconstexpr

Definition at line 30 of file RawDeviceService.h.


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