Chaining Multiple Filters
Instead of using only one filter attached directly to the trace manager, you can chain together several filters. To connect them, use the downstream filter’s connect() member function and pass it the upstream filter as an argument, similar to this:
 
myMultiFilter2.connect(myMultiFilter1);