Commit Graph

27 Commits

Author SHA1 Message Date
Michael Davidsaver 54bb30fd86 reftrack BlockingUDPTransport 2018-04-04 18:31:12 -07:00
Michael Davidsaver 5a86835a6f add ref-counter for Transport ABC 2018-02-01 11:17:56 -08:00
Michael Davidsaver abce3faa86 fix 'pva' provider registration during static linking
Move 'pva' provider registration into registry singleton
construction to ensure that it is done.
2018-01-31 11:51:13 -08:00
Michael Davidsaver cf7827ceab quiet mingw include order warning
#warning Please include winsock2.h before windows.h
2017-11-16 18:45:44 -06:00
Michael Davidsaver 073c77b1ef consolidate ServerChannel and ServerChannelImpl
"interface" with a single implementation.
combine and de-virtualize.
2017-11-06 15:14:41 -06:00
Michael Davidsaver 6ba8416736 reftrace Channel 2017-09-02 09:55:15 -05:00
Michael Davidsaver 79874e1811 reftrack more classes
include the common abstract bases used by all ChannelProviders.
2017-09-02 09:55:15 -05:00
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 2c530868f6 split out caprovider as libpvAccessCA
fixup multi-library build
2017-07-17 13:51:20 +02: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