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

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

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

Public Member Functions

 Canvas2D ()=default
 
 Canvas2D (const SharedString &field, double width, double height, std::map< std::string, std::shared_ptr< Canvas2DComponentData > > data_diff, std::optional< std::vector< SharedString > > data_ids)
 

Public Attributes

SharedString field
 
double width
 
double height
 
std::map< std::string, std::shared_ptr< Canvas2DComponentData > > data_diff
 
std::optional< std::vector< SharedString > > data_ids
 

Static Public Attributes

static constexpr int kind
 

Constructor & Destructor Documentation

◆ Canvas2D() [1/2]

Canvas2D ( )
default

◆ Canvas2D() [2/2]

Canvas2D ( const SharedString field,
double  width,
double  height,
std::map< std::string, std::shared_ptr< Canvas2DComponentData > >  data_diff,
std::optional< std::vector< SharedString > >  data_ids 
)
inline

Member Data Documentation

◆ data_diff

std::map<std::string, std::shared_ptr<Canvas2DComponentData> > data_diff

◆ data_ids

std::optional<std::vector<SharedString> > data_ids

◆ field

SharedString field

◆ height

double height

◆ kind

constexpr int kind
staticconstexprinherited

◆ width

double width

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