Skip to content

Class zmbt::mapping::ChannelHandle

ClassList > zmbt > mapping > ChannelHandle

Channel clause handle for SignalMapping model.

  • #include <channel_handle.hpp>

Public Types

Type Name
enum Kind

Public Functions

Type Name
ChannelHandle (JsonNode & model, boost::json::string_view cnl_ptr)
boost::json::value alias () const
Channel alias or index if not set.
std::tuple< int, int, int > call () const
boost::json::array const & captures () const
boost::json::value combine () const
Expression expect () const
boost::json::string full_path () const
object_id host () const
std::size_t index () const
void inject (Expression const & expr) const
void inject_fixed () const
interface_id interface () const
bool is_fixed_input () const
bool is_fixed_output () const
bool is_input () const
bool is_output () const
bool is_range () const
Expression keep () const
boost::json::string key () const
Kind kind () const
boost::json::value observe () const
int on_call () const
SignalOperatorHandler op () const
bool operator== (boost::json::value const & v)
boost::json::string signal_path () const
~ChannelHandle () = default

Public Static Functions

Type Name
boost::json::value observe_union (std::list< ChannelHandle > channels)
boost::json::value observe_with (std::list< ChannelHandle > channels)

Public Types Documentation

enum Kind

enum zmbt::mapping::ChannelHandle::Kind {
    Undefined,
    Args,
    Return,
    Exception,
    Timestamp,
    ThreadId,
    CallCount
};

Public Functions Documentation

function ChannelHandle

zmbt::mapping::ChannelHandle::ChannelHandle (
    JsonNode & model,
    boost::json::string_view cnl_ptr
) 

function alias

Channel alias or index if not set.

boost::json::value zmbt::mapping::ChannelHandle::alias () const


function call

std::tuple< int, int, int > zmbt::mapping::ChannelHandle::call () const

function captures

boost::json::array const & zmbt::mapping::ChannelHandle::captures () const

function combine

boost::json::value zmbt::mapping::ChannelHandle::combine () const

function expect

Expression zmbt::mapping::ChannelHandle::expect () const

function full_path

boost::json::string zmbt::mapping::ChannelHandle::full_path () const

function host

object_id zmbt::mapping::ChannelHandle::host () const

function index

std::size_t zmbt::mapping::ChannelHandle::index () const

function inject

void zmbt::mapping::ChannelHandle::inject (
    Expression const & expr
) const

function inject_fixed

void zmbt::mapping::ChannelHandle::inject_fixed () const

function interface

interface_id zmbt::mapping::ChannelHandle::interface () const

function is_fixed_input

bool zmbt::mapping::ChannelHandle::is_fixed_input () const

function is_fixed_output

bool zmbt::mapping::ChannelHandle::is_fixed_output () const

function is_input

bool zmbt::mapping::ChannelHandle::is_input () const

function is_output

bool zmbt::mapping::ChannelHandle::is_output () const

function is_range

bool zmbt::mapping::ChannelHandle::is_range () const

function keep

Expression zmbt::mapping::ChannelHandle::keep () const

function key

boost::json::string zmbt::mapping::ChannelHandle::key () const

function kind

Kind zmbt::mapping::ChannelHandle::kind () const

function observe

boost::json::value zmbt::mapping::ChannelHandle::observe () const

function on_call

int zmbt::mapping::ChannelHandle::on_call () const

function op

SignalOperatorHandler zmbt::mapping::ChannelHandle::op () const

function operator==

bool zmbt::mapping::ChannelHandle::operator== (
    boost::json::value const & v
) 

function signal_path

boost::json::string zmbt::mapping::ChannelHandle::signal_path () const

function ~ChannelHandle

zmbt::mapping::ChannelHandle::~ChannelHandle () = default

Public Static Functions Documentation

function observe_union

static boost::json::value zmbt::mapping::ChannelHandle::observe_union (
    std::list< ChannelHandle > channels
) 

function observe_with

static boost::json::value zmbt::mapping::ChannelHandle::observe_with (
    std::list< ChannelHandle > channels
) 


The documentation for this class was generated from the following file zmbt-framework/zmbt-framework/backends/cxx/include/zmbt/mapping/channel_handle.hpp