Implement factory pattern in Adapter base class
Implement factory pattern in Adapter base class

Documentation provided for overriding this base class, and example
usage.
The subclass is now dynamically assigned based on the object to be
adapted.

cheelee/ChannelWorm,gsarma/ChannelWorm,cheelee/ChannelWorm,cheelee/ChannelWorm,gsarma/ChannelWorm,gsarma/ChannelWorm,openworm/ChannelWorm,cheelee/ChannelWorm,openworm/ChannelWorm,VahidGh/ChannelWorm,VahidGh/ChannelWorm,gsarma/ChannelWorm,openworm/ChannelWorm,VahidGh/ChannelWorm,VahidGh/ChannelWorm,openworm/ChannelWorm