Struct LayerData
Defined in File LayerData.h
Struct Documentation
-
struct LayerData
This is the internal data store for LayerDescription Users should only access that data stored within via an instance of LayerDescription
Public Functions
-
bool operator==(const LayerData &rhs) const
Equality operator, checks whether LayerData hierarchies are functionally the same
Note
Instead compare pointers if you wish to check that they are the same instance
- Returns:
True when layers are the same
Public Members
-
std::set<std::shared_ptr<AgentFunctionData>> agent_functions
Set of Agent Functions set<AgentFunctionData>
-
std::set<FLAMEGPU_HOST_FUNCTION_POINTER> host_functions
Set of host function pointers set<FLAMEGPU_HOST_FUNCTION_POINTER>
-
std::set<HostFunctionCallback*> host_functions_callbacks
Set of host function callbacks (used by SWIG interface) set<HostFunctionCallback*>
-
std::shared_ptr<SubModelData> sub_model
SubModel (If present, layer can hold no host_functions or agent_functions)
-
std::string name
Name of the agent function, used to refer to the agent function in many functions
Protected Functions
Copy constructor This is unsafe, should only be used internally, use clone() instead
Normal constructor, only to be called by ModelDescription
Protected Attributes
- friend DependencyGraph
Friends
- friend class ModelDescription
- friend struct ModelData
-
bool operator==(const LayerData &rhs) const