C++ Actor Framework  0.18
Public Member Functions | Related Functions | List of all members
caf::tracing_data Class Referenceabstract

Marker interface for application-specific tracing data. More...

#include <tracing_data.hpp>

Collaboration diagram for caf::tracing_data:
Collaboration graph

Public Member Functions

virtual bool serialize (serializer &sink) const =0
 Writes the content of this object to sink.
 
virtual bool serialize (binary_serializer &sink) const =0
 Writes the content of this object to sink. More...
 

Related Functions

(Note that these are not member functions.)

using tracing_data_ptr = std::unique_ptr< tracing_data >
 
CAF_CORE_EXPORT bool inspect (serializer &sink, const tracing_data_ptr &x)
 
CAF_CORE_EXPORT bool inspect (binary_serializer &sink, const tracing_data_ptr &x)
 
CAF_CORE_EXPORT bool inspect (deserializer &source, tracing_data_ptr &x)
 
CAF_CORE_EXPORT bool inspect (binary_deserializer &source, tracing_data_ptr &x)
 

Detailed Description

Marker interface for application-specific tracing data.

This interface enables users to inject application-specific instrumentation into CAF's messaging layer. CAF provides no default implementation for this customization point.

Member Function Documentation

◆ serialize()

virtual bool caf::tracing_data::serialize ( binary_serializer sink) const
pure virtual

Writes the content of this object to sink.

Friends And Related Function Documentation

◆ inspect() [1/4]

CAF_CORE_EXPORT bool inspect ( serializer sink,
const tracing_data_ptr x 
)
related

◆ inspect() [2/4]

CAF_CORE_EXPORT bool inspect ( binary_serializer sink,
const tracing_data_ptr x 
)
related

◆ inspect() [3/4]

CAF_CORE_EXPORT bool inspect ( deserializer source,
tracing_data_ptr x 
)
related

◆ inspect() [4/4]

CAF_CORE_EXPORT bool inspect ( binary_deserializer source,
tracing_data_ptr x 
)
related

◆ tracing_data_ptr

using tracing_data_ptr = std::unique_ptr<tracing_data>
related

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