reftrack more classes
include the common abstract bases used by all ChannelProviders.
This commit is contained in:
@@ -4,6 +4,8 @@
|
||||
* in file LICENSE that is included with this distribution.
|
||||
*/
|
||||
|
||||
#include <pv/reftrack.h>
|
||||
|
||||
#define epicsExportSharedSymbols
|
||||
#include <pv/serverChannelImpl.h>
|
||||
|
||||
@@ -12,6 +14,8 @@ using namespace epics::pvData;
|
||||
namespace epics {
|
||||
namespace pvAccess {
|
||||
|
||||
size_t ServerChannelImpl::num_instances;
|
||||
|
||||
ServerChannelImpl::ServerChannelImpl(Channel::shared_pointer const & channel,
|
||||
const ChannelRequester::shared_pointer &requester,
|
||||
pvAccessID cid, pvAccessID sid,
|
||||
@@ -23,6 +27,7 @@ ServerChannelImpl::ServerChannelImpl(Channel::shared_pointer const & channel,
|
||||
_destroyed(false),
|
||||
_channelSecuritySession(css)
|
||||
{
|
||||
REFTRACE_INCREMENT(num_instances);
|
||||
if (!channel.get())
|
||||
{
|
||||
THROW_BASE_EXCEPTION("non-null channel required");
|
||||
@@ -109,6 +114,7 @@ void ServerChannelImpl::destroy()
|
||||
ServerChannelImpl::~ServerChannelImpl()
|
||||
{
|
||||
destroy();
|
||||
REFTRACE_DECREMENT(num_instances);
|
||||
}
|
||||
|
||||
void ServerChannelImpl::printInfo()
|
||||
|
||||
Reference in New Issue
Block a user