reduce the number of public symbols

This commit is contained in:
Michael Davidsaver
2017-06-26 20:17:18 +02:00
parent 04c2df53a1
commit 8a35fbb11e
4 changed files with 30 additions and 6 deletions

View File

@@ -47,14 +47,18 @@ using namespace epics::pvData;
namespace epics {
namespace pvAccess {
class ChannelGetFieldRequestImpl;
Status ChannelImpl::channelDestroyed(
Status::STATUSTYPE_WARNING, "channel destroyed");
Status ChannelImpl::channelDisconnected(
Status::STATUSTYPE_WARNING, "channel disconnected");
string emptyString;
}}
namespace {
using namespace epics::pvAccess;
class ChannelGetFieldRequestImpl;
// TODO consider std::unordered_map
//typedef std::tr1::unordered_map<pvAccessID, ResponseRequest::weak_pointer> IOIDResponseRequestMap;
typedef std::map<pvAccessID, ResponseRequest::weak_pointer> IOIDResponseRequestMap;
@@ -4886,6 +4890,10 @@ void InternalClientContextImpl::InternalChannelImpl::getField(GetFieldRequester:
// activate() stores self in channel
}
}//namespace
namespace epics {
namespace pvAccess {
ChannelProvider::shared_pointer createClientProvider(const Configuration::shared_pointer& conf)
{
InternalClientContextImpl::shared_pointer internal(new InternalClientContextImpl(conf)),