threadman 0.1.0
Header-only C++23 managed threads, dynamic pools, futures, and executors
Loading...
Searching...
No Matches
Classes | Namespaces | Macros | Functions
parcel.hpp File Reference

Optional cpp-parcel adapter. More...

#include <threadman/config.hpp>
#include <threadman/json.hpp>
#include <threadman/stats.hpp>
#include <parcel/parcel.h>
#include <memory>
#include <sstream>
#include <string>
#include <string_view>
Include dependency graph for parcel.hpp:

Go to the source code of this file.

Classes

class  threadman::ThreadSnapshotCell
 
class  threadman::ThreadPoolStatsCell
 
class  threadman::TaskSnapshotCell
 
class  threadman::FutureSnapshotCell
 
class  threadman::ManagerSummaryCell
 

Namespaces

namespace  threadman
 

Macros

#define THREADMAN_HAS_PARCEL   1
 

Functions

void threadman::register_cells (parcel::ParcelRegistry &registry)
 
 PARCEL_DEFAULT_CELL (threadman::ThreadSnapshotCell)
 
 PARCEL_DEFAULT_CELL (threadman::ThreadPoolStatsCell)
 
 PARCEL_DEFAULT_CELL (threadman::TaskSnapshotCell)
 
 PARCEL_DEFAULT_CELL (threadman::FutureSnapshotCell)
 
 PARCEL_DEFAULT_CELL (threadman::ManagerSummaryCell)
 

Detailed Description

Optional cpp-parcel adapter.

Wraps the snapshot value-types as primitive-style parcel::BaseCells so they round-trip through a parcel::ParcelRegistry like any other cell.

Wire kinds:

Macro Definition Documentation

◆ THREADMAN_HAS_PARCEL

#define THREADMAN_HAS_PARCEL   1

Function Documentation

◆ PARCEL_DEFAULT_CELL() [1/5]

PARCEL_DEFAULT_CELL ( threadman::FutureSnapshotCell  )

◆ PARCEL_DEFAULT_CELL() [2/5]

PARCEL_DEFAULT_CELL ( threadman::ManagerSummaryCell  )

◆ PARCEL_DEFAULT_CELL() [3/5]

PARCEL_DEFAULT_CELL ( threadman::TaskSnapshotCell  )

◆ PARCEL_DEFAULT_CELL() [4/5]

PARCEL_DEFAULT_CELL ( threadman::ThreadPoolStatsCell  )

◆ PARCEL_DEFAULT_CELL() [5/5]

PARCEL_DEFAULT_CELL ( threadman::ThreadSnapshotCell  )