title: changing inheritance to composition
body: <pre><code>class MyTransport : public ITransport
  {
  
  void setSource(ITransport* src) { m_source = src; }
  
  /* implement ITransport using m_source */
  
  private:
    ITransport* m_source;
  };
  </code></pre>
  
  <p>I need to load (in runtime) some <code>ITransport</code> and customize its output. At the same time I need to provide <code>ITransport</code> to my clients. (It was previously achieved by simply inheriting from some <code>SourceTransport</code> but now moving to a plugin)</p>
  
  <p>Is this correct way to do so?</p>