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::RelationNetwork::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 144 of file RelationNetwork.cpp.

145{
146 auto meta = NodeNetwork::get_metadata();
147 meta["slot_count"] = std::to_string(m_slots.size());
148 meta["output_count"] = std::to_string(get_output_count());
149 meta["operator_count"] = std::to_string(get_operator_chain()->size());
150 return meta;
151}
bool size
std::shared_ptr< OperatorChain > get_operator_chain() const
Access the secondary operator chain.
virtual std::unordered_map< std::string, std::string > get_metadata() const
Get network metadata for debugging/visualization.
size_t get_output_count() const
Total published outputs across all publishing operators, in chain order.

References MayaFlux::Nodes::Network::NodeNetwork::get_metadata(), MayaFlux::Nodes::Network::NodeNetwork::get_operator_chain(), get_output_count(), m_slots, and size.

+ Here is the call graph for this function: