WebCFace 2.5.2
Web-based Communication Framework & Dashboard-like UI
Loading...
Searching...
No Matches
Call Struct Reference

関数呼び出し (client(caller)->server->client(receiver)) More...

#include <webcface/common/internal/message/func.h>

Inheritance diagram for Call:
[legend]
Collaboration diagram for Call:
[legend]

Public Types

using CallerId = std::size_t
 
using MemberId = unsigned int
 

Public Member Functions

 Call ()=default
 
 Call (CallerId caller_id, MemberId caller_member_id, MemberId target_member_id, const SharedString &field, const std::vector< ValAdaptor > &args)
 

Public Attributes

CallerId caller_id = 0
 
MemberId caller_member_id = 0
 
MemberId target_member_id = 0
 
SharedString field
 
std::vector< webcface::ValAdaptorargs
 

Static Public Attributes

static constexpr int kind
 

Detailed Description

関数呼び出し (client(caller)->server->client(receiver))

caller側clientが一意のcaller_idを振る(0以上の整数)

serverはcaller_member_idをつけてreceiverに送る

Member Typedef Documentation

◆ CallerId

using CallerId = std::size_t

◆ MemberId

using MemberId = unsigned int

Constructor & Destructor Documentation

◆ Call() [1/2]

Call ( )
default

◆ Call() [2/2]

Call ( CallerId  caller_id,
MemberId  caller_member_id,
MemberId  target_member_id,
const SharedString field,
const std::vector< ValAdaptor > &  args 
)
inline

Member Data Documentation

◆ args

std::vector<webcface::ValAdaptor> args

◆ caller_id

CallerId caller_id = 0

◆ caller_member_id

MemberId caller_member_id = 0

◆ field

SharedString field

◆ kind

constexpr int kind
staticconstexprinherited

◆ target_member_id

MemberId target_member_id = 0

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