major changes to dbdToPv

This commit is contained in:
mrkraimer
2018-04-13 10:06:44 -04:00
parent 46c1cc3b38
commit 1e5f44d26e
4 changed files with 404 additions and 618 deletions

View File

@@ -38,10 +38,10 @@ CAChannel::shared_pointer CAChannel::create(CAChannelProvider::shared_pointer co
if(DEBUG_LEVEL>0) {
cout<< "CAChannel::create " << channelName << endl;
}
CAChannelPtr thisPtr(
CAChannelPtr caChannel(
new CAChannel(channelName, channelProvider, channelRequester));
thisPtr->activate(priority);
return thisPtr;
caChannel->activate(priority);
return caChannel;
}
static void ca_connection_handler(struct connection_handler_args args)
@@ -487,6 +487,8 @@ void CAChannelGet::channelStateChange(
throw std::runtime_error(mess);
}
std::string CAChannelGet::getRequesterName() { return "CAChannelGet";}
void CAChannelGet::channelDisconnect(bool destroy)
{
if(DEBUG_LEVEL>0) {
@@ -498,8 +500,6 @@ void CAChannelGet::channelDisconnect(bool destroy)
if(!destroy) channel->addChannelGet(shared_from_this());
}
/* --------------- epics::pvAccess::ChannelGet --------------- */
namespace {
static void ca_get_handler(struct event_handler_args args)
@@ -622,6 +622,8 @@ void CAChannelPut::channelStateChange(
throw std::runtime_error(mess);
}
std::string CAChannelPut::getRequesterName() { return "CAChannelPut";}
void CAChannelPut::channelDisconnect(bool destroy)
{
if(DEBUG_LEVEL>0) {
@@ -866,6 +868,7 @@ void CAChannelMonitor::channelStateChange(
throw std::runtime_error(mess);
}
std::string CAChannelMonitor::getRequesterName() { return "CAChannelMonitor";}
void CAChannelMonitor::channelDisconnect(bool destroy)
{