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

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

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

Public Member Functions

 ViewComponentData ()=default
 
bool operator== (const ViewComponentData &other) const
 
bool operator!= (const ViewComponentData &other) const
 

Public Attributes

int type = 0
 
SharedString text
 
std::optional< SharedStringon_click_member
 
std::optional< SharedStringon_click_field
 
std::optional< SharedStringtext_ref_member
 
std::optional< SharedStringtext_ref_field
 
int text_color = 0
 
int bg_color = 0
 
std::optional< double > min_ = std::nullopt
 
std::optional< double > max_ = std::nullopt
 
std::optional< double > step_ = std::nullopt
 
std::vector< ValAdaptoroption_
 

Detailed Description

shared_ptr<message::ViewComponentData> → message::ViewDataViewComponent ↓ shared_ptr<internal::TemporalViewComponentData> ↓ TemporalViewComponent

Constructor & Destructor Documentation

◆ ViewComponentData()

ViewComponentData ( )
default

Member Function Documentation

◆ operator!=()

bool operator!= ( const ViewComponentData other) const
inline

◆ operator==()

bool operator== ( const ViewComponentData other) const
inline

Member Data Documentation

◆ bg_color

int bg_color = 0

◆ max_

std::optional<double> max_ = std::nullopt

◆ min_

std::optional<double> min_ = std::nullopt

◆ on_click_field

std::optional<SharedString> on_click_field

◆ on_click_member

std::optional<SharedString> on_click_member

◆ option_

std::vector<ValAdaptor> option_

◆ step_

std::optional<double> step_ = std::nullopt

◆ text

◆ text_color

int text_color = 0

◆ text_ref_field

std::optional<SharedString> text_ref_field

◆ text_ref_member

std::optional<SharedString> text_ref_member

◆ type

int type = 0

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