Next: , Previous: Playing multiple sound files at once, Up: Top

4 Look at your network


You are having trouble figuring out what is going wrong in your network and you want to look at your network to find out what is going wrong


Use the stream redirection operator with cout


It's really simple to output your whole network, you just go:

     MarSystemManager mng;
     MarSystem* net = mng.create("Series", "net");
     cout << *net;

All of the components of the network, and the state of all their controls will be written to the standard output.

If the format is too hard to understand, try using put_html:


Which has some nifty javascript to hide and show different parts of your network.