now it compiles

This commit is contained in:
Matej Sekoranja
2010-11-03 12:46:22 +01:00
parent d1ad68c164
commit 980b53256e
5 changed files with 447 additions and 402 deletions
@@ -0,0 +1,24 @@
/*ChannelAccessFactory.cpp*/
#include <lock.h>
#include "pvAccess.h"
#include "pvData.h"
#include "factory.h"
namespace epics { namespace pvAccess {
static ChannelAccess* channelAccess = 0;
ChannelAccess * getChannelAccess() {
static Mutex mutex = Mutex();
Lock guard(&mutex);
if(channelAccess==0){
//channelAccess = new ChannelAccessImpl();
}
return channelAccess;
}
}}