#include <widget.h>
|
| WidgetState (uint16_t uuid, float x, float y, float w, float h, uint16_t tab) |
|
uint16_t | uuid () const |
|
std::string | getString (const std::string &key, std::string def="") const |
|
int64_t | getInt (const std::string &key, int64_t def=0) const |
|
double | getDouble (const std::string &key, double def=0.0) const |
|
bool | getBool (const std::string &key, bool def=false) const |
|
bool | set (const std::string &key, rbjson::Value *value) |
|
bool | setInnerObjectProp (const std::string &objectName, const std::string &propertyName, rbjson::Value *value) |
|
void | markChanged (const std::string &key) |
|
bool | hasRegisteredCallbacks () const |
|
WidgetPos | pos () const |
|
void | setPos (const WidgetPos &p) |
|
std::unique_lock< std::mutex > | uniqueStateLock () |
|
const rbjson::Object & | dataLocked () const |
|
Definition at line 99 of file widget.h.
◆ WidgetState()
gridui::WidgetState::WidgetState |
( |
uint16_t |
uuid, |
|
|
float |
x, |
|
|
float |
y, |
|
|
float |
w, |
|
|
float |
h, |
|
|
uint16_t |
tab |
|
) |
| |
◆ dataLocked()
const rbjson::Object & gridui::WidgetState::dataLocked |
( |
| ) |
const |
|
inline |
◆ getBool()
bool gridui::WidgetState::getBool |
( |
const std::string & |
key, |
|
|
bool |
def = false |
|
) |
| const |
◆ getDouble()
double gridui::WidgetState::getDouble |
( |
const std::string & |
key, |
|
|
double |
def = 0.0 |
|
) |
| const |
◆ getInt()
int64_t gridui::WidgetState::getInt |
( |
const std::string & |
key, |
|
|
int64_t |
def = 0 |
|
) |
| const |
◆ getString()
std::string gridui::WidgetState::getString |
( |
const std::string & |
key, |
|
|
std::string |
def = "" |
|
) |
| const |
◆ hasRegisteredCallbacks()
bool gridui::WidgetState::hasRegisteredCallbacks |
( |
| ) |
const |
|
inline |
◆ markChanged()
void gridui::WidgetState::markChanged |
( |
const std::string & |
key | ) |
|
◆ pos()
◆ set()
bool gridui::WidgetState::set |
( |
const std::string & |
key, |
|
|
rbjson::Value * |
value |
|
) |
| |
◆ setInnerObjectProp()
bool gridui::WidgetState::setInnerObjectProp |
( |
const std::string & |
objectName, |
|
|
const std::string & |
propertyName, |
|
|
rbjson::Value * |
value |
|
) |
| |
◆ setPos()
void gridui::WidgetState::setPos |
( |
const WidgetPos & |
p | ) |
|
|
inline |
◆ uniqueStateLock()
std::unique_lock< std::mutex > gridui::WidgetState::uniqueStateLock |
( |
| ) |
|
|
inline |
◆ uuid()
uint16_t gridui::WidgetState::uuid |
( |
| ) |
const |
|
inline |
◆ builder::BuilderMixin
template<typename Self , typename Finished >
◆ gridui::_GridUi
◆ gridui::builder::Widget
The documentation for this class was generated from the following files: