18 class GraphicsItemCfg;
19 class GraphicsPickerCollectionCfg;
38 virtual void setFromJsonObject(
const ConstJsonObject& _object)
override;
41 const std::list<GraphicsPickerCollectionCfg*>&
collections(
void)
const {
return m_collections; };
46 std::list<GraphicsPickerCollectionCfg*> m_collections;
62 GraphicsNewEditorPackage(
const std::string& _editorName = std::string(),
const std::string& _editorTitle = std::string());
73 virtual void setFromJsonObject(
const ConstJsonObject& _object)
override;
75 const std::string&
name(
void)
const {
return m_name; };
76 const std::string&
title(
void)
const {
return m_title; };
107 virtual void setFromJsonObject(
const ConstJsonObject& _object)
override;
113 const std::list<GraphicsItemCfg*>&
items(
void)
const {
return m_items; };
115 void setName(
const std::string& _name) { m_name = _name; };
116 const std::string&
name(
void)
const {
return m_name; };
122 std::list<ot::GraphicsItemCfg*> m_items;
147 virtual void setFromJsonObject(
const ConstJsonObject& _object)
override;
149 void setName(
const std::string& _name) { m_name = _name; };
150 const std::string&
name(
void)
const {
return m_name; };
152 void addConnection(
const ot::UID& _fromUid,
const std::string& _fromConnectable,
const ot::UID& _toUid,
const std::string& _toConnectable);
154 const std::list<GraphicsConnectionCfg>&
connections(
void)
const {
return m_connections; };
158 std::list<GraphicsConnectionCfg> m_connections;
#define OT_DECL_NOCOPY(___class)
Removes the default copy constructor and assignment operator.
Definition OTClassHelper.h:14
#define OT_GUI_API_EXPORT
Definition OTGuiAPIExport.h:9
Definition GraphicsConnectionCfg.h:22
Definition GraphicsPackage.h:134
void setName(const std::string &_name)
Definition GraphicsPackage.h:149
void addConnection(const GraphicsConnectionCfg &_info)
Definition GraphicsPackage.h:153
const std::list< GraphicsConnectionCfg > & connections(void) const
Definition GraphicsPackage.h:154
const std::string & name(void) const
Definition GraphicsPackage.h:150
The GraphicsItemCfg is the base class for all graphics item configurations.
Definition GraphicsItemCfg.h:33
Package that will be used to create a new graphics editor The name of the editor must be unique....
Definition GraphicsPackage.h:58
const std::string & title(void) const
Definition GraphicsPackage.h:76
const std::string & name(void) const
Definition GraphicsPackage.h:75
Definition GraphicsPickerCollectionCfg.h:20
Package that will be used to fill the graphics picker The name of the editor must be unique....
Definition GraphicsPackage.h:24
const std::list< GraphicsPickerCollectionCfg * > & collections(void) const
Definition GraphicsPackage.h:41
Package that will be used to add graphics items to an existing scene. Note that the request to the UI...
Definition GraphicsPackage.h:94
const std::list< GraphicsItemCfg * > & items(void) const
Definition GraphicsPackage.h:113
const std::string & name(void) const
Definition GraphicsPackage.h:116
void setName(const std::string &_name)
Definition GraphicsPackage.h:115
The Serializable class is the default interface of serializable objects.
Definition Serializable.h:17
unsigned long UID
Unique identifier (32 bit unsigned integer)
Definition CoreTypes.h:27
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