Enhancement #216

Externalize creation of transport objects in client-level code

Added by J. Wienke about 13 years ago. Updated about 13 years ago.

Status:ResolvedStart date:02/25/2011
Priority:NormalDue date:
Assignee:J. Moringen% Done:

100%

Category:C++
Target version:-

Description

Currently Publishers and Subscribers create their own instances of Router, the router in turn creates his own instance of Ports etc. A better rapproach would be to manually pass them in the constructor of this classes. This enhances the testability of single classes and avoids passing configuration strings to the TransportFactory. Ideally this is the task of an RsbFactory.


Related issues

Duplicated by Robotics Service Bus - Enhancement #51: Use port instances in Router constructor Rejected 08/19/2010

History

#1 Updated by J. Wienke about 13 years ago

  • Assignee changed from S. Wrede to J. Moringen

We decided to orchestrate the creation of this objects and passing them to others in rsb::Factory.

Jan, this is probably related to your changes while separating in and out routes?

#2 Updated by J. Moringen about 13 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Also available in: Atom PDF