Project
Loading...
Searching...
No Matches
o2::framework::StringContext Class Reference

#include <StringContext.h>

Classes

struct  MessageRef
 

Public Types

using Messages = std::vector< MessageRef >
 

Public Member Functions

 StringContext (FairMQDeviceProxy &proxy)
 
void addString (std::unique_ptr< fair::mq::Message > header, std::unique_ptr< std::string > s, RouteIndex routeIndex)
 
Messages::iterator begin ()
 
Messages::iterator end ()
 
size_t size ()
 
void clear ()
 

Static Public Attributes

static constexpr ServiceKind service_kind = ServiceKind::Stream
 

Detailed Description

A context which holds std::strings being passed around useful for debug purposes and as an illustration of how to add a context for a new kind of object.

Definition at line 29 of file StringContext.h.

Member Typedef Documentation

◆ Messages

Definition at line 45 of file StringContext.h.

Constructor & Destructor Documentation

◆ StringContext()

o2::framework::StringContext::StringContext ( FairMQDeviceProxy proxy)
inline

Definition at line 34 of file StringContext.h.

Member Function Documentation

◆ addString()

void o2::framework::StringContext::addString ( std::unique_ptr< fair::mq::Message >  header,
std::unique_ptr< std::string >  s,
RouteIndex  routeIndex 
)

Definition at line 19 of file StringContext.cxx.

◆ begin()

Messages::iterator o2::framework::StringContext::begin ( )
inline

Definition at line 51 of file StringContext.h.

◆ clear()

void o2::framework::StringContext::clear ( )

Definition at line 28 of file StringContext.cxx.

◆ end()

Messages::iterator o2::framework::StringContext::end ( )
inline

Definition at line 56 of file StringContext.h.

◆ size()

size_t o2::framework::StringContext::size ( )
inline

Definition at line 61 of file StringContext.h.

Member Data Documentation

◆ service_kind

constexpr ServiceKind o2::framework::StringContext::service_kind = ServiceKind::Stream
staticconstexpr

Definition at line 32 of file StringContext.h.


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