Project
Loading...
Searching...
No Matches
ServiceSpec.h File Reference
#include "Framework/ServiceHandle.h"
#include "Framework/RoutingIndices.h"
#include <fairmq/FwdDecls.h>
#include <string>
#include <functional>
#include <vector>

Go to the source code of this file.

Classes

struct  o2::framework::ServiceSpec
 
struct  o2::framework::OverrideServiceSpec
 
struct  o2::framework::ServiceSpecHelpers
 
struct  o2::framework::ServiceConfigureHandle
 
struct  o2::framework::ServiceProcessingHandle
 
struct  o2::framework::ServiceDanglingHandle
 
struct  o2::framework::ServiceEOSHandle
 
struct  o2::framework::ServiceDispatchingHandle
 
struct  o2::framework::ServiceForwardingHandle
 
struct  o2::framework::ServiceStartHandle
 
struct  o2::framework::ServiceStartStreamHandle
 
struct  o2::framework::ServiceStopHandle
 
struct  o2::framework::ServiceExitHandle
 
struct  o2::framework::ServiceDomainInfoHandle
 
struct  o2::framework::ServicePreSendingMessagesHandle
 
struct  o2::framework::ServicePostRenderGUIHandle
 
struct  o2::framework::ServicePreLoopHandle
 
struct  o2::framework::ServicePlugin
 

Namespaces

namespace  fair
 
namespace  fair::mq
 
namespace  o2
 a couple of static helper functions to create timestamp values for CCDB queries or override obsolete objects
 
namespace  o2::framework
 Defining PrimaryVertex explicitly as messageable.
 

Typedefs

using o2::framework::ServiceId = std::function< unsigned int()>
 A callback which returns the uniqueId of the service when invoked.
 
using o2::framework::ServiceInit = ServiceHandle(*)(ServiceRegistryRef, DeviceState &, fair::mq::ProgOptions &)
 A callback to create a given Service.
 
using o2::framework::ServiceStartCallback = void(*)(ServiceRegistryRef, void *)
 A callback invoked whenever we start running, before the user processing callback.
 
using o2::framework::ServiceStopCallback = void(*)(ServiceRegistryRef, void *)
 A callback invoked whenever we stop running, after the user processing callback.
 
using o2::framework::ServiceExitCallback = void(*)(ServiceRegistryRef, void *)
 A callback invoked whenever we stop running completely, before we exit.
 
using o2::framework::ServiceConfigureCallback = void *(*)(InitContext &, void *)
 
using o2::framework::ServiceProcessingCallback = void(*)(ProcessingContext &, void *)
 A callback which is executed before each processing loop.
 
using o2::framework::ServiceDanglingCallback = void(*)(DanglingContext &, void *)
 A callback which is executed before each dangling input loop.
 
using o2::framework::ServiceEOSCallback = void(*)(EndOfStreamContext &, void *)
 A callback which is executed before the end of stream loop.
 
using o2::framework::ServicePreFork = std::function< void(ServiceRegistryRef, DeviceConfig const &)>
 
using o2::framework::ServicePostForkChild = std::function< void(ServiceRegistryRef)>
 
using o2::framework::ServicePostForkParent = std::function< void(ServiceRegistryRef)>
 
using o2::framework::ServicePreSchedule = void(*)(ServiceRegistryRef, DeviceConfig const &)
 Callback executed before each redeployment of the whole configuration.
 
using o2::framework::ServicePostSchedule = void(*)(ServiceRegistryRef, DeviceConfig const &)
 Callback executed after each redeployment of the whole configuration.
 
using o2::framework::ServiceMetricHandling = void(*)(ServiceRegistryRef, ServiceMetricsInfo const &, size_t timestamp)
 Callback executed in the driver in order to process a metric.
 
using o2::framework::ServiceSummaryHandling = void(*)(ServiceMetricsInfo const &metrics)
 
using o2::framework::ServicePostDispatching = void(*)(ProcessingContext &, void *)
 Callback executed in the child after dispatching happened.
 
using o2::framework::ServicePostForwarding = void(*)(ProcessingContext &, void *)
 Callback executed in the child after late forwarding happened.
 
using o2::framework::ServiceDriverInit = void(*)(ServiceRegistryRef, DeviceConfig const &)
 Callback invoked when the driver enters the init phase.
 
using o2::framework::ServiceDriverStartup = void(*)(ServiceRegistryRef, DeviceConfig const &)
 Callback invoked when the driver enters the init phase.
 
using o2::framework::ServicePreLoop = void(*)(ServiceRegistryRef, void *)
 
using o2::framework::ServiceTopologyInject = void(*)(WorkflowSpecNode &, ConfigContext &)
 Callback invoked when we inject internal devices in the topology.
 
using o2::framework::ServiceTopologyAdjust = void(*)(WorkflowSpecNode &, ConfigContext const &)
 Callback invoked when we amend the topology.
 
using o2::framework::ServiceDomainInfoUpdated = void(*)(ServiceRegistryRef, size_t tileslice, ChannelIndex channel)
 Callback invoked whenever we get updated about the oldest possible timeslice we can process.
 
using o2::framework::ServicePreSendingMessages = void(*)(ServiceRegistryRef, fair::mq::Parts &, ChannelIndex channel)
 Callback invoked whenever we are about sending a message.
 
using o2::framework::ServicePostRenderGUI = void(*)(ServiceRegistryRef)
 
using o2::framework::OverrideServiceSpecs = std::vector< OverrideServiceSpec >
 
using o2::framework::ServiceSpecs = std::vector< ServiceSpec >