12#define OT_FactoryKey_GraphicsStackItem "OT_GIStack"
39 virtual void setFromJsonObject(
const ConstJsonObject& _object)
override;
60 const std::list<GraphicsStackItemCfgEntry>&
items(
void)
const {
return m_items; };
65 std::list<GraphicsStackItemCfgEntry> m_items;
#define OT_FactoryKey_GraphicsStackItem
Definition GraphicsStackItemCfg.h:12
#define OT_GUI_API_EXPORT
Definition OTGuiAPIExport.h:9
The GraphicsItemCfg is the base class for all graphics item configurations.
Definition GraphicsItemCfg.h:33
Definition GraphicsStackItemCfg.h:17
const std::list< GraphicsStackItemCfgEntry > & items(void) const
Returns a list with all items in the stack 0: bottom, n: top.
Definition GraphicsStackItemCfg.h:60
virtual std::string getFactoryKey(void) const override
Returns the key that is used to create an instance of this class in the simple factory.
Definition GraphicsStackItemCfg.h:42
rapidjson::Value JsonValue
Writable JSON value.
Definition JSON.h:27
rapidjson::GenericObject< true, rapidjson::GenericValue< rapidjson::UTF8<>, rapidjson::MemoryPoolAllocator< rapidjson::CrtAllocator > > > ConstJsonObject
Read only JSON Object.
Definition JSON.h:35
rapidjson::MemoryPoolAllocator< rapidjson::CrtAllocator > JsonAllocator
Allocator used for writing to JSON values.
Definition JSON.h:30
Definition GraphicsStackItemCfg.h:19
ot::GraphicsItemCfg * item
Definition GraphicsStackItemCfg.h:20
bool isMaster
Definition GraphicsStackItemCfg.h:21
bool isSlave
Definition GraphicsStackItemCfg.h:22