Commit Graph

19 Commits

Author SHA1 Message Date
Michael Davidsaver
61bf1bfdc3 fix dllimport/export 2017-08-30 22:18:39 -05:00
Michael Davidsaver
98df225583 insturment with reftrack 2017-08-30 11:17:03 -05:00
Michael Davidsaver
a8d44dd8c5 remove deprecated form of ChannelProviderRegistry::getProviderNames()
I'm tired of sifting through all the auto_ptr deprecation warnings...
2017-07-17 12:00:11 +02:00
Michael Davidsaver
f1bc69816b remove compat ChannelProviderRegistry
signal effective API compatibility break due
to change in shared_ptr ownership rules
surrounding ChannelProvder.
2017-07-14 14:37:47 +02:00
Michael Davidsaver
749e8d71d1 replace all internal use of getChannelProviderRegistry() 2017-07-03 19:24:00 +02:00
Michael Davidsaver
77bf33700e default ChannelProvider::channelList 2017-06-21 19:51:30 +02:00
Michael Davidsaver
35d2c610bf separate ChannelProviderRegistry for client/server 2017-06-21 14:41:24 +02:00
Michael Davidsaver
fabb85c5e3 stupid typo
oops
2017-06-08 18:56:00 +02:00
Michael Davidsaver
0468bd0d08 getChannelProviderRegistry() avoid global init order issues 2017-06-06 10:55:10 +02:00
Michael Davidsaver
de84fadeb7 ChannelProviderRegistry::add w/ factory function 2017-06-06 10:35:13 +02:00
Michael Davidsaver
860054a7a2 ChannelProviderRegistry update add()/remove()
add() return created SimpleChannelProviderFactory instance.

remove()

missing Lock
and remove by instance as well as by name.
2017-06-06 08:28:08 +02:00
Michael Davidsaver
24c9b31cf6 update pvAccess.h doc comments
describe how things should be!
2017-05-24 17:20:17 -04:00
Michael Davidsaver
d404769133 add default for first Channel::createChannel()
default for first form which calls the second
2017-05-24 17:20:17 -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