WebCFace 2.5.2
Web-based Communication Framework & Dashboard-like UI
Loading...
Searching...
No Matches
Res< Value > Struct Reference

server->client Value,Textなどのfieldをreqidに変えただけのもの More...

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

Inheritance diagram for Res< Value >:
[legend]
Collaboration diagram for Res< Value >:
[legend]

Public Member Functions

 Res ()=default
 
 Res (unsigned int req_id, const SharedString &sub_field, const std::shared_ptr< std::vector< double > > &data)
 

Public Attributes

unsigned int req_id = 0
 
SharedString sub_field
 
std::shared_ptr< std::vector< double > > data
 

Static Public Attributes

static constexpr int kind
 

Detailed Description

server->client Value,Textなどのfieldをreqidに変えただけのもの

requestしたフィールドの子フィールドの場合sub_fieldにフィールド名を入れて返す →その場合clientが再度requestを送るはず

Constructor & Destructor Documentation

◆ Res() [1/2]

Res ( )
default

◆ Res() [2/2]

Res ( unsigned int  req_id,
const SharedString sub_field,
const std::shared_ptr< std::vector< double > > &  data 
)
inline

Member Data Documentation

◆ data

std::shared_ptr<std::vector<double> > data

◆ kind

constexpr int kind
staticconstexprinherited

◆ req_id

unsigned int req_id = 0

◆ sub_field

SharedString sub_field

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