porting tests and utils

This commit is contained in:
Matej Sekoranja
2014-05-22 22:31:20 +02:00
parent fbb108652e
commit cdc03d8e97
18 changed files with 181 additions and 137 deletions

View File

@@ -112,7 +112,7 @@ namespace epics {
static Status pvRequestNull;
static PVStructure::shared_pointer nullPVStructure;
static Structure::shared_pointer nullStructure;
static Structure::const_shared_pointer nullStructure;
static BitSet::shared_pointer nullBitSet;
static BitSet::shared_pointer createBitSetFor(
@@ -291,6 +291,10 @@ namespace epics {
}
}
virtual Channel::shared_pointer getChannel() {
return m_channel;
}
virtual void destroy() {
destroy(false);
@@ -396,6 +400,7 @@ namespace epics {
Status BaseRequestImpl::pvRequestNull = Status(Status::STATUSTYPE_ERROR, "pvRequest == 0");
PVStructure::shared_pointer BaseRequestImpl::nullPVStructure;
Structure::const_shared_pointer BaseRequestImpl::nullStructure;
BitSet::shared_pointer BaseRequestImpl::nullBitSet;
PVACCESS_REFCOUNT_MONITOR_DEFINE(channelProcess);
@@ -510,6 +515,11 @@ namespace epics {
}
}
virtual Channel::shared_pointer getChannel()
{
return BaseRequestImpl::getChannel();
}
virtual void cancel()
{
BaseRequestImpl::cancel();
@@ -717,6 +727,11 @@ namespace epics {
}
}
virtual Channel::shared_pointer getChannel()
{
return BaseRequestImpl::getChannel();
}
virtual void cancel()
{
BaseRequestImpl::cancel();
@@ -976,6 +991,11 @@ namespace epics {
}
}
virtual Channel::shared_pointer getChannel()
{
return BaseRequestImpl::getChannel();
}
virtual void cancel()
{
BaseRequestImpl::cancel();
@@ -1299,6 +1319,11 @@ namespace epics {
}
}
virtual Channel::shared_pointer getChannel()
{
return BaseRequestImpl::getChannel();
}
virtual void cancel()
{
BaseRequestImpl::cancel();
@@ -1488,6 +1513,11 @@ namespace epics {
}
}
virtual Channel::shared_pointer getChannel()
{
return BaseRequestImpl::getChannel();
}
virtual void cancel()
{
BaseRequestImpl::cancel();
@@ -1847,6 +1877,11 @@ namespace epics {
}
}
virtual Channel::shared_pointer getChannel()
{
return BaseRequestImpl::getChannel();
}
virtual void cancel()
{
BaseRequestImpl::cancel();
@@ -1964,6 +1999,11 @@ namespace epics {
}
virtual Channel::shared_pointer getChannel()
{
return m_channel;
}
virtual void cancel() {
// TODO
// noop
@@ -2885,7 +2925,7 @@ namespace epics {
return m_provider;
};
virtual void cancelChannelFind()
virtual void cancel()
{
throw std::runtime_error("not supported");
}