MayaFlux 1.0.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 155 of file MeshNetwork.cpp.

156{
157 auto meta = NodeNetwork::get_metadata();
158 meta["slot_count"] = std::to_string(m_slots.size());
159 meta["operator"] = m_operator ? std::string(m_operator->get_type_name()) : "none";
160 meta["chain_size"] = m_operator_chain
161 ? std::to_string(m_operator_chain->size())
162 : "0";
163 return meta;
164}
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: