MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ get_metadata()

std::unordered_map< std::string, std::string > MayaFlux::Nodes::Network::MeshNetwork::get_metadata ( ) const
overridevirtual

Get network metadata for debugging/visualization.

Returns
Map of property names to string representations

Subclasses can override to expose internal state:

  • Particle count, average velocity
  • Modal frequencies, decay times
  • Waveguide delay lengths etc.

Reimplemented from MayaFlux::Nodes::Network::NodeNetwork.

Definition at line 152 of file MeshNetwork.cpp.

153{
154 auto meta = NodeNetwork::get_metadata();
155 meta["slot_count"] = std::to_string(m_slots.size());
156 meta["operator"] = m_operator ? std::string(m_operator->get_type_name()) : "none";
157 meta["chain_size"] = m_operator_chain
158 ? std::to_string(m_operator_chain->size())
159 : "0";
160 return meta;
161}
std::shared_ptr< NetworkOperator > m_operator
std::shared_ptr< OperatorChain > m_operator_chain
virtual std::unordered_map< std::string, std::string > get_metadata() const
Get network metadata for debugging/visualization.

References MayaFlux::Nodes::Network::NodeNetwork::get_metadata(), m_operator, MayaFlux::Nodes::Network::NodeNetwork::m_operator_chain, and m_slots.

+ Here is the call graph for this function: