title: Is factory method proper design for my problem?
body: <p>here is my problem and I'm considering to use factory method in C++, what are your opinions ?</p>
  
  <p>There are a Base Class and a lot of Subclasses.</p>
  
  <p>I need to transfer objects on network via TCP.</p>
  
  <p>I will create objects in first side, and using this object I will create a byte array TCP message, and send it to other side.</p>
  
  <p>On the other side I will decompose TCP message, I will create object and I will add this object to a polymorphic queue. </p>