Commit Graph

7 Commits

Author SHA1 Message Date
mrkraimer
0f8a3b2b7d changes explained in MRKCHANGES.md 2017-06-04 07:49:28 -04:00
Michael Davidsaver
9253c31c0b rework ChannelProviderRegistry
Replace interface+impls with a single concrete container
which wraps a map.

This breaks code which was sub-classing.
However, no external code can be found which does this.

A build() method is used instead of simple ctor so
that the ctor is private, which will cause theoretical
external sub-class code to fail to compile.

Code using getChannelProviderRegistry()
and existing methods will behave as before.

Add ChannelProviderRegistry::getFactory() for pass through
to ChannelProviderFactory (Registery is just a proxy()...)

Remove existing get/create virtual method in favor of getFactory.
Update both existing implementations.

Add SimpleChannelProviderFactory to cut down on boilerplace
for the common case.

Add method to clear mapping and release any saved sharedInstance.
2017-04-25 21:15:43 -04:00
Matej Sekoranja
5279d247ca general indent beautification 2016-03-10 23:36:16 +01:00
Matej Sekoranja
d139c42d17 destruction of shared provider 2016-03-10 10:26:33 +01:00
Matej Sekoranja
ba4102639e String -> std::string, toString methods removed 2014-06-19 14:29:41 +02:00
Matej Sekoranja
99df13dc72 completed merge 2014-06-10 00:09:08 +02:00
Andrew Johnson
a886984258 Rename pvAccessApp to src, adjust Makefiles 2014-03-28 11:53:02 -05:00