include files put into include/pv
This commit is contained in:
@@ -24,3 +24,6 @@
|
||||
# define INSTALL_LOCATION here
|
||||
#INSTALL_LOCATION=<fullpathname>
|
||||
|
||||
INSTALL_INCLUDE = $(INSTALL_LOCATION)/include/pv
|
||||
USR_INCLUDES += -I $(INSTALL_LOCATION)/include
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
|
||||
#include "convert.h"
|
||||
#include <pv/convert.h>
|
||||
|
||||
#include <algorithm>
|
||||
#include <iterator>
|
||||
|
||||
@@ -8,10 +8,10 @@
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <stdexcept>
|
||||
#include "lock.h"
|
||||
#include "pvIntrospect.h"
|
||||
#include "pvData.h"
|
||||
#include "convert.h"
|
||||
#include <pv/lock.h>
|
||||
#include <pv/pvIntrospect.h>
|
||||
#include <pv/pvData.h>
|
||||
#include <pv/convert.h>
|
||||
|
||||
using std::tr1::static_pointer_cast;
|
||||
using std::tr1::const_pointer_cast;
|
||||
|
||||
@@ -8,10 +8,10 @@
|
||||
#include <cstdlib>
|
||||
#include <string>
|
||||
#include <cstdio>
|
||||
#include "pvData.h"
|
||||
#include "convert.h"
|
||||
#include "factory.h"
|
||||
#include "serializeHelper.h"
|
||||
#include <pv/pvData.h>
|
||||
#include <pv/convert.h>
|
||||
#include <pv/factory.h>
|
||||
#include <pv/serializeHelper.h>
|
||||
#include "DefaultPVStructureArray.h"
|
||||
|
||||
using std::tr1::static_pointer_cast;
|
||||
|
||||
@@ -10,10 +10,10 @@
|
||||
#include <cstdlib>
|
||||
#include <string>
|
||||
#include <cstdio>
|
||||
#include "pvData.h"
|
||||
#include "convert.h"
|
||||
#include "factory.h"
|
||||
#include "serializeHelper.h"
|
||||
#include <pv/pvData.h>
|
||||
#include <pv/convert.h>
|
||||
#include <pv/factory.h>
|
||||
#include <pv/serializeHelper.h>
|
||||
|
||||
namespace epics { namespace pvData {
|
||||
|
||||
|
||||
@@ -8,11 +8,11 @@
|
||||
#include <cstdlib>
|
||||
#include <string>
|
||||
#include <cstdio>
|
||||
#include <lock.h>
|
||||
#include "pvIntrospect.h"
|
||||
#include "convert.h"
|
||||
#include "factory.h"
|
||||
#include "CDRMonitor.h"
|
||||
#include <pv/lock.h>
|
||||
#include <pv/pvIntrospect.h>
|
||||
#include <pv/convert.h>
|
||||
#include <pv/factory.h>
|
||||
#include <pv/CDRMonitor.h>
|
||||
|
||||
using std::tr1::static_pointer_cast;
|
||||
|
||||
|
||||
@@ -9,8 +9,8 @@
|
||||
#include <cstdlib>
|
||||
#include <string>
|
||||
#include <cstdio>
|
||||
#include "pvData.h"
|
||||
#include "factory.h"
|
||||
#include <pv/pvData.h>
|
||||
#include <pv/factory.h>
|
||||
|
||||
namespace epics { namespace pvData {
|
||||
|
||||
|
||||
@@ -8,12 +8,12 @@
|
||||
#include <cstdlib>
|
||||
#include <string>
|
||||
#include <cstdio>
|
||||
#include "noDefaultMethods.h"
|
||||
#include "pvData.h"
|
||||
#include "convert.h"
|
||||
#include "factory.h"
|
||||
#include "lock.h"
|
||||
#include "CDRMonitor.h"
|
||||
#include <pv/noDefaultMethods.h>
|
||||
#include <pv/pvData.h>
|
||||
#include <pv/convert.h>
|
||||
#include <pv/factory.h>
|
||||
#include <pv/lock.h>
|
||||
#include <pv/CDRMonitor.h>
|
||||
|
||||
namespace epics { namespace pvData {
|
||||
|
||||
|
||||
@@ -8,12 +8,12 @@
|
||||
#include <cstdlib>
|
||||
#include <string>
|
||||
#include <cstdio>
|
||||
#include "lock.h"
|
||||
#include "pvIntrospect.h"
|
||||
#include "pvData.h"
|
||||
#include "convert.h"
|
||||
#include "factory.h"
|
||||
#include "serializeHelper.h"
|
||||
#include <pv/lock.h>
|
||||
#include <pv/pvIntrospect.h>
|
||||
#include <pv/pvData.h>
|
||||
#include <pv/convert.h>
|
||||
#include <pv/factory.h>
|
||||
#include <pv/serializeHelper.h>
|
||||
#include "DefaultPVStructureArray.h"
|
||||
|
||||
using std::tr1::static_pointer_cast;
|
||||
|
||||
@@ -8,11 +8,11 @@
|
||||
#include <cstdlib>
|
||||
#include <string>
|
||||
#include <cstdio>
|
||||
#include "lock.h"
|
||||
#include "pvData.h"
|
||||
#include "factory.h"
|
||||
#include "convert.h"
|
||||
#include "CDRMonitor.h"
|
||||
#include <pv/lock.h>
|
||||
#include <pv/pvData.h>
|
||||
#include <pv/factory.h>
|
||||
#include <pv/convert.h>
|
||||
#include <pv/CDRMonitor.h>
|
||||
|
||||
using std::tr1::const_pointer_cast;
|
||||
|
||||
|
||||
@@ -8,8 +8,8 @@
|
||||
#include <cstdlib>
|
||||
#include <string>
|
||||
#include <cstdio>
|
||||
#include "pvData.h"
|
||||
#include "factory.h"
|
||||
#include <pv/pvData.h>
|
||||
#include <pv/factory.h>
|
||||
|
||||
using std::tr1::static_pointer_cast;
|
||||
|
||||
|
||||
@@ -8,8 +8,8 @@
|
||||
#include <cstdlib>
|
||||
#include <string>
|
||||
#include <cstdio>
|
||||
#include "pvData.h"
|
||||
#include "factory.h"
|
||||
#include <pv/pvData.h>
|
||||
#include <pv/factory.h>
|
||||
|
||||
using std::tr1::static_pointer_cast;using std::tr1::static_pointer_cast;
|
||||
|
||||
|
||||
@@ -8,11 +8,11 @@
|
||||
#include <cstdlib>
|
||||
#include <string>
|
||||
#include <cstdio>
|
||||
#include "pvData.h"
|
||||
#include "pvIntrospect.h"
|
||||
#include "convert.h"
|
||||
#include "factory.h"
|
||||
#include "bitSet.h"
|
||||
#include <pv/pvData.h>
|
||||
#include <pv/pvIntrospect.h>
|
||||
#include <pv/convert.h>
|
||||
#include <pv/factory.h>
|
||||
#include <pv/bitSet.h>
|
||||
|
||||
using std::tr1::static_pointer_cast;
|
||||
using std::tr1::const_pointer_cast;
|
||||
|
||||
@@ -9,10 +9,10 @@
|
||||
#include <stdexcept>
|
||||
#include <epicsThread.h>
|
||||
#include <epicsExit.h>
|
||||
#include <lock.h>
|
||||
#include "pvIntrospect.h"
|
||||
#include "standardField.h"
|
||||
#include "CDRMonitor.h"
|
||||
#include <pv/lock.h>
|
||||
#include <pv/pvIntrospect.h>
|
||||
#include <pv/standardField.h>
|
||||
#include <pv/CDRMonitor.h>
|
||||
|
||||
using std::tr1::static_pointer_cast;
|
||||
|
||||
|
||||
@@ -8,13 +8,13 @@
|
||||
#include <stdexcept>
|
||||
#include <epicsThread.h>
|
||||
#include <epicsExit.h>
|
||||
#include <lock.h>
|
||||
#include "pvIntrospect.h"
|
||||
#include "pvData.h"
|
||||
#include "convert.h"
|
||||
#include "standardField.h"
|
||||
#include "standardPVField.h"
|
||||
#include "CDRMonitor.h"
|
||||
#include <pv/lock.h>
|
||||
#include <pv/pvIntrospect.h>
|
||||
#include <pv/pvData.h>
|
||||
#include <pv/convert.h>
|
||||
#include <pv/standardField.h>
|
||||
#include <pv/standardPVField.h>
|
||||
#include <pv/CDRMonitor.h>
|
||||
|
||||
namespace epics { namespace pvData {
|
||||
|
||||
|
||||
@@ -9,8 +9,8 @@
|
||||
#include <string>
|
||||
#include <cstdio>
|
||||
|
||||
#include "pvIntrospect.h"
|
||||
#include "epicsException.h"
|
||||
#include <pv/pvIntrospect.h>
|
||||
#include <pv/epicsException.h>
|
||||
|
||||
#include "dbDefs.h" // for NELEMENTS
|
||||
|
||||
|
||||
@@ -13,11 +13,11 @@
|
||||
|
||||
#include <epicsThread.h>
|
||||
|
||||
#include "noDefaultMethods.h"
|
||||
#include "lock.h"
|
||||
#include "pvType.h"
|
||||
#include "linkedList.h"
|
||||
#include "CDRMonitor.h"
|
||||
#include <pv/noDefaultMethods.h>
|
||||
#include <pv/lock.h>
|
||||
#include <pv/pvType.h>
|
||||
#include <pv/linkedList.h>
|
||||
#include <pv/CDRMonitor.h>
|
||||
|
||||
namespace epics { namespace pvData {
|
||||
|
||||
|
||||
@@ -13,9 +13,9 @@
|
||||
#include <cstdio>
|
||||
|
||||
#include <epicsThread.h>
|
||||
#include "noDefaultMethods.h"
|
||||
#include "lock.h"
|
||||
#include "pvType.h"
|
||||
#include <pv/noDefaultMethods.h>
|
||||
#include <pv/lock.h>
|
||||
#include <pv/pvType.h>
|
||||
|
||||
namespace epics { namespace pvData {
|
||||
|
||||
|
||||
@@ -6,10 +6,10 @@
|
||||
*/
|
||||
#include "string.h"
|
||||
#include "stdio.h"
|
||||
#include "bitSet.h"
|
||||
#include "lock.h"
|
||||
#include "CDRMonitor.h"
|
||||
#include "serializeHelper.h"
|
||||
#include <pv/bitSet.h>
|
||||
#include <pv/lock.h>
|
||||
#include <pv/CDRMonitor.h>
|
||||
#include <pv/serializeHelper.h>
|
||||
|
||||
namespace epics { namespace pvData {
|
||||
|
||||
|
||||
@@ -7,9 +7,9 @@
|
||||
#ifndef BITSET_H
|
||||
#define BITSET_H
|
||||
#include <stdexcept>
|
||||
#include <pvType.h>
|
||||
#include <serialize.h>
|
||||
#include <sharedPtr.h>
|
||||
#include <pv/pvType.h>
|
||||
#include <pv/serialize.h>
|
||||
#include <pv/sharedPtr.h>
|
||||
|
||||
namespace epics { namespace pvData {
|
||||
|
||||
|
||||
@@ -10,8 +10,8 @@
|
||||
* Author: Miha Vitorovic
|
||||
*/
|
||||
#include <cstring>
|
||||
#include "byteBuffer.h"
|
||||
#include "epicsException.h"
|
||||
#include <pv/byteBuffer.h>
|
||||
#include <pv/epicsException.h>
|
||||
|
||||
// TODO optimize, avoid so many checks (endianness, positions), allow wrapping of external buffer, chance of endianess
|
||||
namespace epics {
|
||||
|
||||
@@ -8,10 +8,10 @@
|
||||
#define BYTEBUFFER_H
|
||||
|
||||
#include <string>
|
||||
#include <pvType.h>
|
||||
#include <pv/pvType.h>
|
||||
#include <epicsEndian.h>
|
||||
|
||||
#include "epicsException.h"
|
||||
#include <pv/epicsException.h>
|
||||
|
||||
namespace epics {
|
||||
namespace pvData {
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
#ifndef DESTROYABLE_H
|
||||
#define DESTROYABLE_H
|
||||
|
||||
#include <sharedPtr.h>
|
||||
#include <pv/sharedPtr.h>
|
||||
|
||||
namespace epics { namespace pvData {
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
* in file LICENSE that is included with this distribution.
|
||||
*/
|
||||
|
||||
#include "epicsException.h"
|
||||
#include <pv/epicsException.h>
|
||||
|
||||
#include <sstream>
|
||||
|
||||
|
||||
@@ -16,11 +16,11 @@
|
||||
#include <epicsThread.h>
|
||||
#include <epicsMutex.h>
|
||||
#include <epicsEvent.h>
|
||||
#include "noDefaultMethods.h"
|
||||
#include "pvType.h"
|
||||
#include "lock.h"
|
||||
#include "event.h"
|
||||
#include "CDRMonitor.h"
|
||||
#include <pv/noDefaultMethods.h>
|
||||
#include <pv/pvType.h>
|
||||
#include <pv/lock.h>
|
||||
#include <pv/event.h>
|
||||
#include <pv/CDRMonitor.h>
|
||||
|
||||
namespace epics { namespace pvData {
|
||||
|
||||
|
||||
@@ -9,8 +9,8 @@
|
||||
#include <memory>
|
||||
#include <vector>
|
||||
#include <epicsEvent.h>
|
||||
#include "noDefaultMethods.h"
|
||||
#include "pvType.h"
|
||||
#include <pv/noDefaultMethods.h>
|
||||
#include <pv/pvType.h>
|
||||
|
||||
namespace epics { namespace pvData {
|
||||
|
||||
|
||||
@@ -12,12 +12,12 @@
|
||||
|
||||
#include <memory>
|
||||
#include <vector>
|
||||
#include "linkedList.h"
|
||||
#include "lock.h"
|
||||
#include "thread.h"
|
||||
#include "event.h"
|
||||
#include "executor.h"
|
||||
#include "CDRMonitor.h"
|
||||
#include <pv/linkedList.h>
|
||||
#include <pv/lock.h>
|
||||
#include <pv/thread.h>
|
||||
#include <pv/event.h>
|
||||
#include <pv/executor.h>
|
||||
#include <pv/CDRMonitor.h>
|
||||
|
||||
namespace epics { namespace pvData {
|
||||
|
||||
|
||||
@@ -8,9 +8,9 @@
|
||||
#define EXECUTOR_H
|
||||
#include <memory>
|
||||
#include <vector>
|
||||
#include "noDefaultMethods.h"
|
||||
#include "pvType.h"
|
||||
#include "thread.h"
|
||||
#include <pv/noDefaultMethods.h>
|
||||
#include <pv/pvType.h>
|
||||
#include <pv/thread.h>
|
||||
|
||||
namespace epics { namespace pvData {
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
*/
|
||||
#ifndef LINKEDLIST_H
|
||||
#define LINKEDLIST_H
|
||||
#include "linkedListVoid.h"
|
||||
#include <pv/linkedListVoid.h>
|
||||
namespace epics { namespace pvData {
|
||||
|
||||
template <typename T>
|
||||
|
||||
@@ -11,10 +11,10 @@
|
||||
#include <cstdio>
|
||||
#include <stdexcept>
|
||||
|
||||
#include "lock.h"
|
||||
#include "pvType.h"
|
||||
#include "linkedListVoid.h"
|
||||
#include "CDRMonitor.h"
|
||||
#include <pv/lock.h>
|
||||
#include <pv/pvType.h>
|
||||
#include <pv/linkedListVoid.h>
|
||||
#include <pv/CDRMonitor.h>
|
||||
|
||||
namespace epics { namespace pvData {
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
#ifndef LINKEDLISTVOID_H
|
||||
#define LINKEDLISTVOID_H
|
||||
#include "pvType.h"
|
||||
#include <pv/pvType.h>
|
||||
namespace epics { namespace pvData {
|
||||
|
||||
class LinkedListVoid;
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
#define LOCK_H
|
||||
#include <stdexcept>
|
||||
#include <epicsMutex.h>
|
||||
#include "noDefaultMethods.h"
|
||||
#include <pv/noDefaultMethods.h>
|
||||
/* This is based on item 14 of
|
||||
* Effective C++, Third Edition, Scott Meyers
|
||||
*/
|
||||
|
||||
@@ -11,13 +11,13 @@
|
||||
#include <cstdio>
|
||||
#include <stdexcept>
|
||||
|
||||
#include "pvType.h"
|
||||
#include "lock.h"
|
||||
#include "requester.h"
|
||||
#include "noDefaultMethods.h"
|
||||
#include "CDRMonitor.h"
|
||||
#include "queue.h"
|
||||
#include "messageQueue.h"
|
||||
#include <pv/pvType.h>
|
||||
#include <pv/lock.h>
|
||||
#include <pv/requester.h>
|
||||
#include <pv/noDefaultMethods.h>
|
||||
#include <pv/CDRMonitor.h>
|
||||
#include <pv/queue.h>
|
||||
#include <pv/messageQueue.h>
|
||||
|
||||
namespace epics { namespace pvData {
|
||||
|
||||
|
||||
@@ -6,9 +6,9 @@
|
||||
*/
|
||||
#ifndef MESSAGEQUEUE_H
|
||||
#define MESSAGEQUEUE_H
|
||||
#include "pvType.h"
|
||||
#include "requester.h"
|
||||
#include "noDefaultMethods.h"
|
||||
#include <pv/pvType.h>
|
||||
#include <pv/requester.h>
|
||||
#include <pv/noDefaultMethods.h>
|
||||
|
||||
namespace epics { namespace pvData {
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
*/
|
||||
#ifndef QUEUE_H
|
||||
#define QUEUE_H
|
||||
#include "queueVoid.h"
|
||||
#include <pv/queueVoid.h>
|
||||
namespace epics { namespace pvData {
|
||||
|
||||
template <typename T>
|
||||
|
||||
@@ -11,10 +11,10 @@
|
||||
#include <cstdio>
|
||||
#include <stdexcept>
|
||||
|
||||
#include "lock.h"
|
||||
#include "pvType.h"
|
||||
#include "queueVoid.h"
|
||||
#include "CDRMonitor.h"
|
||||
#include <pv/lock.h>
|
||||
#include <pv/pvType.h>
|
||||
#include <pv/queueVoid.h>
|
||||
#include <pv/CDRMonitor.h>
|
||||
|
||||
namespace epics { namespace pvData {
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
* in file LICENSE that is included with this distribution.
|
||||
*/
|
||||
#include <string>
|
||||
#include "requester.h"
|
||||
#include <pv/requester.h>
|
||||
namespace epics { namespace pvData {
|
||||
|
||||
static std::string typeName[] = {
|
||||
|
||||
@@ -7,8 +7,8 @@
|
||||
#ifndef REQUESTER_H
|
||||
#define REQUESTER_H
|
||||
#include <string>
|
||||
#include "pvType.h"
|
||||
#include "sharedPtr.h"
|
||||
#include <pv/pvType.h>
|
||||
#include <pv/sharedPtr.h>
|
||||
|
||||
namespace epics { namespace pvData {
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
*/
|
||||
#ifndef SERIALIZE_H
|
||||
#define SERIALIZE_H
|
||||
#include "byteBuffer.h"
|
||||
#include <pv/byteBuffer.h>
|
||||
namespace epics { namespace pvData {
|
||||
|
||||
class SerializableControl;
|
||||
|
||||
@@ -11,11 +11,11 @@
|
||||
*/
|
||||
|
||||
#include <algorithm>
|
||||
#include <pvType.h>
|
||||
#include <pv/pvType.h>
|
||||
|
||||
#include "epicsException.h"
|
||||
#include "byteBuffer.h"
|
||||
#include "serializeHelper.h"
|
||||
#include <pv/epicsException.h>
|
||||
#include <pv/byteBuffer.h>
|
||||
#include <pv/serializeHelper.h>
|
||||
|
||||
|
||||
using namespace std;
|
||||
|
||||
@@ -13,10 +13,10 @@
|
||||
#ifndef SERIALIZEHELPER_H_
|
||||
#define SERIALIZEHELPER_H_
|
||||
|
||||
#include "serialize.h"
|
||||
#include "byteBuffer.h"
|
||||
#include "noDefaultMethods.h"
|
||||
#include <pvIntrospect.h>
|
||||
#include <pv/serialize.h>
|
||||
#include <pv/byteBuffer.h>
|
||||
#include <pv/noDefaultMethods.h>
|
||||
#include <pv/pvIntrospect.h>
|
||||
|
||||
namespace epics {
|
||||
namespace pvData {
|
||||
|
||||
@@ -4,9 +4,9 @@
|
||||
* EPICS pvDataCPP is distributed subject to a Software License Agreement found
|
||||
* in file LICENSE that is included with this distribution.
|
||||
*/
|
||||
#include "status.h"
|
||||
#include "epicsException.h"
|
||||
#include "serializeHelper.h"
|
||||
#include <pv/status.h>
|
||||
#include <pv/epicsException.h>
|
||||
#include <pv/serializeHelper.h>
|
||||
|
||||
namespace epics { namespace pvData {
|
||||
|
||||
@@ -132,4 +132,4 @@ void Status::toString(StringBuilder buffer, int indentLevel) const
|
||||
*buffer += ']';
|
||||
}
|
||||
|
||||
}}
|
||||
}}
|
||||
|
||||
@@ -7,8 +7,8 @@
|
||||
#ifndef STATUS_H
|
||||
#define STATUS_H
|
||||
|
||||
#include "serialize.h"
|
||||
#include "byteBuffer.h"
|
||||
#include <pv/serialize.h>
|
||||
#include <pv/byteBuffer.h>
|
||||
|
||||
namespace epics { namespace pvData {
|
||||
|
||||
|
||||
@@ -7,8 +7,8 @@
|
||||
#ifndef THREAD_H
|
||||
#define THREAD_H
|
||||
#include <memory>
|
||||
#include "noDefaultMethods.h"
|
||||
#include "pvType.h"
|
||||
#include <pv/noDefaultMethods.h>
|
||||
#include <pv/pvType.h>
|
||||
|
||||
#include <epicsThread.h>
|
||||
|
||||
|
||||
@@ -4,9 +4,9 @@
|
||||
* EPICS pvDataCPP is distributed subject to a Software License Agreement found
|
||||
* in file LICENSE that is included with this distribution.
|
||||
*/
|
||||
#include "noDefaultMethods.h"
|
||||
#include "pvType.h"
|
||||
#include "timeStamp.h"
|
||||
#include <pv/noDefaultMethods.h>
|
||||
#include <pv/pvType.h>
|
||||
#include <pv/timeStamp.h>
|
||||
|
||||
namespace epics { namespace pvData {
|
||||
|
||||
|
||||
@@ -6,8 +6,8 @@
|
||||
*/
|
||||
#ifndef TIMEFUNCTION_H
|
||||
#define TIMEFUNCTION_H
|
||||
#include "noDefaultMethods.h"
|
||||
#include "pvType.h"
|
||||
#include <pv/noDefaultMethods.h>
|
||||
#include <pv/pvType.h>
|
||||
|
||||
namespace epics { namespace pvData {
|
||||
|
||||
|
||||
@@ -11,15 +11,15 @@
|
||||
#include <stdio.h>
|
||||
#include <stdexcept>
|
||||
|
||||
#include "pvType.h"
|
||||
#include "lock.h"
|
||||
#include "noDefaultMethods.h"
|
||||
#include "CDRMonitor.h"
|
||||
#include "linkedList.h"
|
||||
#include "thread.h"
|
||||
#include "timeStamp.h"
|
||||
#include "timer.h"
|
||||
#include "event.h"
|
||||
#include <pv/pvType.h>
|
||||
#include <pv/lock.h>
|
||||
#include <pv/noDefaultMethods.h>
|
||||
#include <pv/CDRMonitor.h>
|
||||
#include <pv/linkedList.h>
|
||||
#include <pv/thread.h>
|
||||
#include <pv/timeStamp.h>
|
||||
#include <pv/timer.h>
|
||||
#include <pv/event.h>
|
||||
|
||||
namespace epics { namespace pvData {
|
||||
|
||||
|
||||
@@ -13,10 +13,10 @@
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include "pvType.h"
|
||||
#include "thread.h"
|
||||
#include "noDefaultMethods.h"
|
||||
#include "sharedPtr.h"
|
||||
#include <pv/pvType.h>
|
||||
#include <pv/thread.h>
|
||||
#include <pv/noDefaultMethods.h>
|
||||
#include <pv/sharedPtr.h>
|
||||
|
||||
namespace epics { namespace pvData {
|
||||
|
||||
|
||||
@@ -7,11 +7,11 @@
|
||||
#ifndef MONITOR_H
|
||||
#define MONITOR_H
|
||||
|
||||
#include <status.h>
|
||||
#include <destroyable.h>
|
||||
#include <pvData.h>
|
||||
#include <sharedPtr.h>
|
||||
#include <bitSet.h>
|
||||
#include <pv/status.h>
|
||||
#include <pv/destroyable.h>
|
||||
#include <pv/pvData.h>
|
||||
#include <pv/sharedPtr.h>
|
||||
#include <pv/bitSet.h>
|
||||
|
||||
namespace epics { namespace pvData {
|
||||
|
||||
|
||||
@@ -5,9 +5,9 @@
|
||||
* in file LICENSE that is included with this distribution.
|
||||
*/
|
||||
/* Marty Kraimer 2011.03 */
|
||||
#include <bitSet.h>
|
||||
#include <pv/bitSet.h>
|
||||
|
||||
#include "monitorQueue.h"
|
||||
#include <pv/monitorQueue.h>
|
||||
|
||||
|
||||
namespace epics { namespace pvData {
|
||||
|
||||
@@ -12,10 +12,10 @@
|
||||
#include <memory>
|
||||
#include <vector>
|
||||
|
||||
#include <pvData.h>
|
||||
#include <monitor.h>
|
||||
#include <queue.h>
|
||||
#include <sharedPtr.h>
|
||||
#include <pv/pvData.h>
|
||||
#include <pv/monitor.h>
|
||||
#include <pv/queue.h>
|
||||
#include <pv/sharedPtr.h>
|
||||
|
||||
namespace epics { namespace pvData {
|
||||
|
||||
|
||||
@@ -6,10 +6,10 @@
|
||||
*/
|
||||
#include <string>
|
||||
#include <stdexcept>
|
||||
#include "pvType.h"
|
||||
#include "pvIntrospect.h"
|
||||
#include "pvData.h"
|
||||
#include "alarm.h"
|
||||
#include <pv/pvType.h>
|
||||
#include <pv/pvIntrospect.h>
|
||||
#include <pv/pvData.h>
|
||||
#include <pv/alarm.h>
|
||||
namespace epics { namespace pvData {
|
||||
|
||||
static String severityNames[4] =
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
* in file LICENSE that is included with this distribution.
|
||||
*/
|
||||
#include <string>
|
||||
#include "pvType.h"
|
||||
#include <pv/pvType.h>
|
||||
#ifndef ALARM_H
|
||||
#define ALARM_H
|
||||
namespace epics { namespace pvData {
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
* in file LICENSE that is included with this distribution.
|
||||
*/
|
||||
#include <string>
|
||||
#include "pvType.h"
|
||||
#include "pvData.h"
|
||||
#include <pv/pvType.h>
|
||||
#include <pv/pvData.h>
|
||||
#ifndef DISPLAY_H
|
||||
#define DISPLAY_H
|
||||
namespace epics { namespace pvData {
|
||||
|
||||
@@ -6,10 +6,10 @@
|
||||
*/
|
||||
#include <string>
|
||||
#include <stdexcept>
|
||||
#include "pvType.h"
|
||||
#include "pvIntrospect.h"
|
||||
#include "pvData.h"
|
||||
#include "pvAlarm.h"
|
||||
#include <pv/pvType.h>
|
||||
#include <pv/pvIntrospect.h>
|
||||
#include <pv/pvData.h>
|
||||
#include <pv/pvAlarm.h>
|
||||
namespace epics { namespace pvData {
|
||||
|
||||
static String noAlarmFound("No alarm structure found");
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
* in file LICENSE that is included with this distribution.
|
||||
*/
|
||||
#include <string>
|
||||
#include "pvType.h"
|
||||
#include "alarm.h"
|
||||
#include <pv/pvType.h>
|
||||
#include <pv/alarm.h>
|
||||
#ifndef PVALARM_H
|
||||
#define PVALARM_H
|
||||
namespace epics { namespace pvData {
|
||||
|
||||
@@ -6,10 +6,10 @@
|
||||
*/
|
||||
#include <string>
|
||||
#include <stdexcept>
|
||||
#include "pvType.h"
|
||||
#include "pvIntrospect.h"
|
||||
#include "pvData.h"
|
||||
#include "pvControl.h"
|
||||
#include <pv/pvType.h>
|
||||
#include <pv/pvIntrospect.h>
|
||||
#include <pv/pvData.h>
|
||||
#include <pv/pvControl.h>
|
||||
namespace epics { namespace pvData {
|
||||
|
||||
static String noControlFound("No control structure found");
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
* EPICS pvDataCPP is distributed subject to a Software License Agreement found
|
||||
* in file LICENSE that is included with this distribution.
|
||||
*/
|
||||
#include "control.h"
|
||||
#include "pvData.h"
|
||||
#include <pv/control.h>
|
||||
#include <pv/pvData.h>
|
||||
#ifndef PVCONTROL_H
|
||||
#define PVCONTROL_H
|
||||
namespace epics { namespace pvData {
|
||||
|
||||
@@ -6,10 +6,10 @@
|
||||
*/
|
||||
#include <string>
|
||||
#include <stdexcept>
|
||||
#include "pvType.h"
|
||||
#include "pvIntrospect.h"
|
||||
#include "pvData.h"
|
||||
#include "pvDisplay.h"
|
||||
#include <pv/pvType.h>
|
||||
#include <pv/pvIntrospect.h>
|
||||
#include <pv/pvData.h>
|
||||
#include <pv/pvDisplay.h>
|
||||
namespace epics { namespace pvData {
|
||||
|
||||
static String noDisplayFound("No display structure found");
|
||||
|
||||
@@ -5,9 +5,9 @@
|
||||
* in file LICENSE that is included with this distribution.
|
||||
*/
|
||||
#include <string>
|
||||
#include "pvType.h"
|
||||
#include "pvData.h"
|
||||
#include "display.h"
|
||||
#include <pv/pvType.h>
|
||||
#include <pv/pvData.h>
|
||||
#include <pv/display.h>
|
||||
#ifndef PVDISPLAY_H
|
||||
#define PVDISPLAY_H
|
||||
namespace epics { namespace pvData {
|
||||
|
||||
@@ -6,10 +6,10 @@
|
||||
*/
|
||||
#include <string>
|
||||
#include <stdexcept>
|
||||
#include "pvType.h"
|
||||
#include "pvIntrospect.h"
|
||||
#include "pvData.h"
|
||||
#include "pvEnumerated.h"
|
||||
#include <pv/pvType.h>
|
||||
#include <pv/pvIntrospect.h>
|
||||
#include <pv/pvData.h>
|
||||
#include <pv/pvEnumerated.h>
|
||||
namespace epics { namespace pvData {
|
||||
|
||||
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
* in file LICENSE that is included with this distribution.
|
||||
*/
|
||||
#include <string>
|
||||
#include "pvType.h"
|
||||
#include "pvData.h"
|
||||
#include <pv/pvType.h>
|
||||
#include <pv/pvData.h>
|
||||
#ifndef PVENUMERATED_H
|
||||
#define PVENUMERATED_H
|
||||
namespace epics { namespace pvData {
|
||||
|
||||
@@ -6,10 +6,10 @@
|
||||
*/
|
||||
#include <string>
|
||||
#include <stdexcept>
|
||||
#include "pvType.h"
|
||||
#include "timeStamp.h"
|
||||
#include "pvData.h"
|
||||
#include "pvTimeStamp.h"
|
||||
#include <pv/pvType.h>
|
||||
#include <pv/timeStamp.h>
|
||||
#include <pv/pvData.h>
|
||||
#include <pv/pvTimeStamp.h>
|
||||
namespace epics { namespace pvData {
|
||||
|
||||
static String noTimeStamp("No timeStamp structure found");
|
||||
|
||||
@@ -6,9 +6,9 @@
|
||||
*/
|
||||
#include <string>
|
||||
#include <stdexcept>
|
||||
#include "pvType.h"
|
||||
#include "timeStamp.h"
|
||||
#include "pvData.h"
|
||||
#include <pv/pvType.h>
|
||||
#include <pv/timeStamp.h>
|
||||
#include <pv/pvData.h>
|
||||
#ifndef PVTIMESTAMP_H
|
||||
#define PVTIMESTAMP_H
|
||||
namespace epics { namespace pvData {
|
||||
|
||||
@@ -11,9 +11,9 @@
|
||||
#include <cstdio>
|
||||
|
||||
#include <epicsTime.h>
|
||||
#include "noDefaultMethods.h"
|
||||
#include "pvType.h"
|
||||
#include "timeStamp.h"
|
||||
#include <pv/noDefaultMethods.h>
|
||||
#include <pv/pvType.h>
|
||||
#include <pv/timeStamp.h>
|
||||
|
||||
namespace epics { namespace pvData {
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
#define TIMESTAMP_H
|
||||
#include <ctime>
|
||||
#include "epicsTime.h"
|
||||
#include "pvType.h"
|
||||
#include <pv/pvType.h>
|
||||
|
||||
namespace epics { namespace pvData {
|
||||
|
||||
|
||||
@@ -9,8 +9,8 @@
|
||||
#include <string>
|
||||
#include <stdexcept>
|
||||
|
||||
#include "pvIntrospect.h"
|
||||
#include "pvData.h"
|
||||
#include <pv/pvIntrospect.h>
|
||||
#include <pv/pvData.h>
|
||||
#include <vector>
|
||||
|
||||
namespace epics { namespace pvData {
|
||||
|
||||
@@ -8,12 +8,12 @@
|
||||
#define PVDATA_H
|
||||
#include <string>
|
||||
#include <stdexcept>
|
||||
#include "pvType.h"
|
||||
#include "pvIntrospect.h"
|
||||
#include "noDefaultMethods.h"
|
||||
#include "requester.h"
|
||||
#include "byteBuffer.h"
|
||||
#include "serialize.h"
|
||||
#include <pv/pvType.h>
|
||||
#include <pv/pvIntrospect.h>
|
||||
#include <pv/noDefaultMethods.h>
|
||||
#include <pv/requester.h>
|
||||
#include <pv/byteBuffer.h>
|
||||
#include <pv/serialize.h>
|
||||
namespace epics { namespace pvData {
|
||||
|
||||
class PVAuxInfo;
|
||||
|
||||
@@ -9,9 +9,9 @@
|
||||
#include <string>
|
||||
#include <stdexcept>
|
||||
|
||||
#include "noDefaultMethods.h"
|
||||
#include "sharedPtr.h"
|
||||
#include "pvType.h"
|
||||
#include <pv/noDefaultMethods.h>
|
||||
#include <pv/sharedPtr.h>
|
||||
#include <pv/pvType.h>
|
||||
namespace epics { namespace pvData {
|
||||
|
||||
class Field;
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
#define STANDARDFIELD_H
|
||||
#include <string>
|
||||
#include <stdexcept>
|
||||
#include "pvIntrospect.h"
|
||||
#include <pv/pvIntrospect.h>
|
||||
|
||||
namespace epics { namespace pvData {
|
||||
|
||||
|
||||
@@ -8,8 +8,8 @@
|
||||
#define STANDARDPVFIELD_H
|
||||
#include <string>
|
||||
#include <stdexcept>
|
||||
#include "pvIntrospect.h"
|
||||
#include "pvData.h"
|
||||
#include <pv/pvIntrospect.h>
|
||||
#include <pv/pvData.h>
|
||||
|
||||
namespace epics { namespace pvData {
|
||||
|
||||
|
||||
@@ -4,9 +4,9 @@
|
||||
* EPICS pvDataCPP is distributed subject to a Software License Agreement found
|
||||
* in file LICENSE that is included with this distribution.
|
||||
*/
|
||||
#include "noDefaultMethods.h"
|
||||
#include "pvData.h"
|
||||
#include "bitSetUtil.h"
|
||||
#include <pv/noDefaultMethods.h>
|
||||
#include <pv/pvData.h>
|
||||
#include <pv/bitSetUtil.h>
|
||||
|
||||
namespace epics { namespace pvData {
|
||||
|
||||
|
||||
@@ -6,9 +6,9 @@
|
||||
*/
|
||||
#ifndef BITSETUTIL_H
|
||||
#define BITSETUTIL_H
|
||||
#include "noDefaultMethods.h"
|
||||
#include "pvData.h"
|
||||
#include "bitSet.h"
|
||||
#include <pv/noDefaultMethods.h>
|
||||
#include <pv/pvData.h>
|
||||
#include <pv/bitSet.h>
|
||||
|
||||
namespace epics { namespace pvData {
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@ There is a logic_error
|
||||
On line 68 of ../testBaseException.cpp
|
||||
../bin/linux-x86/testBaseException[0x80497b9]
|
||||
../bin/linux-x86/testBaseException[0x8049a54]
|
||||
/lib/libc.so.6(__libc_start_main+0xe6)[0x3ede36]
|
||||
/lib/libc.so.6(__libc_start_main+0xe6)[0x126e36]
|
||||
../bin/linux-x86/testBaseException[0x80490e1]
|
||||
To translate run 'addr2line -e execname 0xXXXXXXX ...'
|
||||
Note: Must be compiled with debug symbols
|
||||
@@ -17,7 +17,7 @@ On line 75 of ../testBaseException.cpp
|
||||
../bin/linux-x86/testBaseException() [0x8049cec]
|
||||
../bin/linux-x86/testBaseException() [0x8049923]
|
||||
../bin/linux-x86/testBaseException() [0x8049a54]
|
||||
/lib/libc.so.6(__libc_start_main+0xe6) [0x3ede36]
|
||||
/lib/libc.so.6(__libc_start_main+0xe6) [0x126e36]
|
||||
../bin/linux-x86/testBaseException() [0x80490e1]
|
||||
|
||||
testBaseException...
|
||||
@@ -26,7 +26,7 @@ all is OK
|
||||
On line 48 of ../testBaseException.cpp
|
||||
../bin/linux-x86/testBaseException() [0x8049581]
|
||||
../bin/linux-x86/testBaseException() [0x8049a5c]
|
||||
/lib/libc.so.6(__libc_start_main+0xe6) [0x3ede36]
|
||||
/lib/libc.so.6(__libc_start_main+0xe6) [0x126e36]
|
||||
../bin/linux-x86/testBaseException() [0x80490e1]
|
||||
|
||||
|
||||
@@ -38,7 +38,7 @@ On line 57 of ../testBaseException.cpp
|
||||
../bin/linux-x86/testBaseException() [0x80491ec]
|
||||
../bin/linux-x86/testBaseException() [0x80496f9]
|
||||
../bin/linux-x86/testBaseException() [0x8049a5c]
|
||||
/lib/libc.so.6(__libc_start_main+0xe6) [0x3ede36]
|
||||
/lib/libc.so.6(__libc_start_main+0xe6) [0x126e36]
|
||||
../bin/linux-x86/testBaseException() [0x80490e1]
|
||||
|
||||
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
testPVType.sh
|
||||
33
test/testBaseException.sh
Executable file
33
test/testBaseException.sh
Executable file
@@ -0,0 +1,33 @@
|
||||
#!/bin/sh
|
||||
|
||||
SELF="`basename "$0"`"
|
||||
TEST="${SELF%.sh}"
|
||||
|
||||
if [ -z "$EPICS_HOST_ARCH" ]; then
|
||||
echo "Please set EPICS_HOST_ARCH and run again"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
rm -f $TEST ${TEST}Diff ${TEST}Aux
|
||||
|
||||
if ../bin/${EPICS_HOST_ARCH}/$TEST $TEST ${TEST}Aux 2>&1 >/dev/null
|
||||
then
|
||||
printf "" # OK
|
||||
else
|
||||
printf "$TEST Failed to complete\n"
|
||||
fi
|
||||
|
||||
if [ -e $TEST -a -e ${TEST}Gold ]
|
||||
then
|
||||
diff -u ${TEST}Gold $TEST >> ${TEST}Diff
|
||||
if [ -s "${TEST}Diff" ]
|
||||
then
|
||||
printf "$TEST Does not match expectations\n"
|
||||
cat ${TEST}Diff
|
||||
printf "\n\n"
|
||||
else
|
||||
printf "$TEST OK\n"
|
||||
fi
|
||||
else
|
||||
printf "$TEST OK\n"
|
||||
fi
|
||||
@@ -1,5 +1,5 @@
|
||||
--- testBaseExceptionGold 2011-04-27 13:11:55.000000000 -0400
|
||||
+++ testBaseException 2011-05-10 07:36:37.000000000 -0400
|
||||
+++ testBaseException 2011-06-07 07:20:29.000000000 -0400
|
||||
@@ -1,37 +1,46 @@
|
||||
+
|
||||
+
|
||||
@@ -8,7 +8,7 @@
|
||||
+On line 68 of ../testBaseException.cpp
|
||||
+../bin/linux-x86/testBaseException[0x80497b9]
|
||||
+../bin/linux-x86/testBaseException[0x8049a54]
|
||||
+/lib/libc.so.6(__libc_start_main+0xe6)[0x3ede36]
|
||||
+/lib/libc.so.6(__libc_start_main+0xe6)[0x126e36]
|
||||
+../bin/linux-x86/testBaseException[0x80490e1]
|
||||
+To translate run 'addr2line -e execname 0xXXXXXXX ...'
|
||||
+ Note: Must be compiled with debug symbols
|
||||
@@ -20,7 +20,7 @@
|
||||
+../bin/linux-x86/testBaseException() [0x8049cec]
|
||||
+../bin/linux-x86/testBaseException() [0x8049923]
|
||||
+../bin/linux-x86/testBaseException() [0x8049a54]
|
||||
+/lib/libc.so.6(__libc_start_main+0xe6) [0x3ede36]
|
||||
+/lib/libc.so.6(__libc_start_main+0xe6) [0x126e36]
|
||||
+../bin/linux-x86/testBaseException() [0x80490e1]
|
||||
+
|
||||
testBaseException...
|
||||
@@ -34,7 +34,7 @@
|
||||
+On line 48 of ../testBaseException.cpp
|
||||
+../bin/linux-x86/testBaseException() [0x8049581]
|
||||
+../bin/linux-x86/testBaseException() [0x8049a5c]
|
||||
+/lib/libc.so.6(__libc_start_main+0xe6) [0x3ede36]
|
||||
+/lib/libc.so.6(__libc_start_main+0xe6) [0x126e36]
|
||||
+../bin/linux-x86/testBaseException() [0x80490e1]
|
||||
+
|
||||
|
||||
@@ -67,7 +67,7 @@
|
||||
+../bin/linux-x86/testBaseException() [0x80491ec]
|
||||
+../bin/linux-x86/testBaseException() [0x80496f9]
|
||||
+../bin/linux-x86/testBaseException() [0x8049a5c]
|
||||
+/lib/libc.so.6(__libc_start_main+0xe6) [0x3ede36]
|
||||
+/lib/libc.so.6(__libc_start_main+0xe6) [0x126e36]
|
||||
+../bin/linux-x86/testBaseException() [0x80490e1]
|
||||
+
|
||||
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
testPVType.sh
|
||||
33
test/testBitSet.sh
Executable file
33
test/testBitSet.sh
Executable file
@@ -0,0 +1,33 @@
|
||||
#!/bin/sh
|
||||
|
||||
SELF="`basename "$0"`"
|
||||
TEST="${SELF%.sh}"
|
||||
|
||||
if [ -z "$EPICS_HOST_ARCH" ]; then
|
||||
echo "Please set EPICS_HOST_ARCH and run again"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
rm -f $TEST ${TEST}Diff ${TEST}Aux
|
||||
|
||||
if ../bin/${EPICS_HOST_ARCH}/$TEST $TEST ${TEST}Aux 2>&1 >/dev/null
|
||||
then
|
||||
printf "" # OK
|
||||
else
|
||||
printf "$TEST Failed to complete\n"
|
||||
fi
|
||||
|
||||
if [ -e $TEST -a -e ${TEST}Gold ]
|
||||
then
|
||||
diff -u ${TEST}Gold $TEST >> ${TEST}Diff
|
||||
if [ -s "${TEST}Diff" ]
|
||||
then
|
||||
printf "$TEST Does not match expectations\n"
|
||||
cat ${TEST}Diff
|
||||
printf "\n\n"
|
||||
else
|
||||
printf "$TEST OK\n"
|
||||
fi
|
||||
else
|
||||
printf "$TEST OK\n"
|
||||
fi
|
||||
@@ -1 +0,0 @@
|
||||
testPVType.sh
|
||||
33
test/testByteBuffer.sh
Executable file
33
test/testByteBuffer.sh
Executable file
@@ -0,0 +1,33 @@
|
||||
#!/bin/sh
|
||||
|
||||
SELF="`basename "$0"`"
|
||||
TEST="${SELF%.sh}"
|
||||
|
||||
if [ -z "$EPICS_HOST_ARCH" ]; then
|
||||
echo "Please set EPICS_HOST_ARCH and run again"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
rm -f $TEST ${TEST}Diff ${TEST}Aux
|
||||
|
||||
if ../bin/${EPICS_HOST_ARCH}/$TEST $TEST ${TEST}Aux 2>&1 >/dev/null
|
||||
then
|
||||
printf "" # OK
|
||||
else
|
||||
printf "$TEST Failed to complete\n"
|
||||
fi
|
||||
|
||||
if [ -e $TEST -a -e ${TEST}Gold ]
|
||||
then
|
||||
diff -u ${TEST}Gold $TEST >> ${TEST}Diff
|
||||
if [ -s "${TEST}Diff" ]
|
||||
then
|
||||
printf "$TEST Does not match expectations\n"
|
||||
cat ${TEST}Diff
|
||||
printf "\n\n"
|
||||
else
|
||||
printf "$TEST OK\n"
|
||||
fi
|
||||
else
|
||||
printf "$TEST OK\n"
|
||||
fi
|
||||
@@ -1 +0,0 @@
|
||||
testPVType.sh
|
||||
33
test/testIntrospect.sh
Executable file
33
test/testIntrospect.sh
Executable file
@@ -0,0 +1,33 @@
|
||||
#!/bin/sh
|
||||
|
||||
SELF="`basename "$0"`"
|
||||
TEST="${SELF%.sh}"
|
||||
|
||||
if [ -z "$EPICS_HOST_ARCH" ]; then
|
||||
echo "Please set EPICS_HOST_ARCH and run again"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
rm -f $TEST ${TEST}Diff ${TEST}Aux
|
||||
|
||||
if ../bin/${EPICS_HOST_ARCH}/$TEST $TEST ${TEST}Aux 2>&1 >/dev/null
|
||||
then
|
||||
printf "" # OK
|
||||
else
|
||||
printf "$TEST Failed to complete\n"
|
||||
fi
|
||||
|
||||
if [ -e $TEST -a -e ${TEST}Gold ]
|
||||
then
|
||||
diff -u ${TEST}Gold $TEST >> ${TEST}Diff
|
||||
if [ -s "${TEST}Diff" ]
|
||||
then
|
||||
printf "$TEST Does not match expectations\n"
|
||||
cat ${TEST}Diff
|
||||
printf "\n\n"
|
||||
else
|
||||
printf "$TEST OK\n"
|
||||
fi
|
||||
else
|
||||
printf "$TEST OK\n"
|
||||
fi
|
||||
@@ -1 +0,0 @@
|
||||
testPVType.sh
|
||||
33
test/testLinkedList.sh
Executable file
33
test/testLinkedList.sh
Executable file
@@ -0,0 +1,33 @@
|
||||
#!/bin/sh
|
||||
|
||||
SELF="`basename "$0"`"
|
||||
TEST="${SELF%.sh}"
|
||||
|
||||
if [ -z "$EPICS_HOST_ARCH" ]; then
|
||||
echo "Please set EPICS_HOST_ARCH and run again"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
rm -f $TEST ${TEST}Diff ${TEST}Aux
|
||||
|
||||
if ../bin/${EPICS_HOST_ARCH}/$TEST $TEST ${TEST}Aux 2>&1 >/dev/null
|
||||
then
|
||||
printf "" # OK
|
||||
else
|
||||
printf "$TEST Failed to complete\n"
|
||||
fi
|
||||
|
||||
if [ -e $TEST -a -e ${TEST}Gold ]
|
||||
then
|
||||
diff -u ${TEST}Gold $TEST >> ${TEST}Diff
|
||||
if [ -s "${TEST}Diff" ]
|
||||
then
|
||||
printf "$TEST Does not match expectations\n"
|
||||
cat ${TEST}Diff
|
||||
printf "\n\n"
|
||||
else
|
||||
printf "$TEST OK\n"
|
||||
fi
|
||||
else
|
||||
printf "$TEST OK\n"
|
||||
fi
|
||||
@@ -1,20 +1,20 @@
|
||||
|
||||
Time test
|
||||
diff 23.025222 milliSeconds
|
||||
time per iteration 23.025222 microseconds
|
||||
time per addTail/removeHead 0.011513 microseconds
|
||||
diff 22.284825 milliSeconds
|
||||
time per iteration 22.284825 microseconds
|
||||
time per addTail/removeHead 0.011142 microseconds
|
||||
|
||||
Time test locked
|
||||
diff 221.055746 milliSeconds
|
||||
time per iteration 221.055746 microseconds
|
||||
time per addTail/removeHead 0.110528 microseconds
|
||||
diff 204.476572 milliSeconds
|
||||
time per iteration 204.476572 microseconds
|
||||
time per addTail/removeHead 0.102238 microseconds
|
||||
|
||||
Time std::list test
|
||||
diff 658.326477 milliSeconds
|
||||
time per iteration 658.326477 microseconds
|
||||
time per addTail/removeHead 0.329163 microseconds
|
||||
diff 629.578567 milliSeconds
|
||||
time per iteration 629.578567 microseconds
|
||||
time per addTail/removeHead 0.314789 microseconds
|
||||
|
||||
Time std::list test locked
|
||||
diff 825.914024 milliSeconds
|
||||
time per iteration 825.914024 microseconds
|
||||
time per addTail/removeHead 0.412957 microseconds
|
||||
diff 784.572710 milliSeconds
|
||||
time per iteration 784.572710 microseconds
|
||||
time per addTail/removeHead 0.392286 microseconds
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
testPVType.sh
|
||||
33
test/testMessageQueue.sh
Executable file
33
test/testMessageQueue.sh
Executable file
@@ -0,0 +1,33 @@
|
||||
#!/bin/sh
|
||||
|
||||
SELF="`basename "$0"`"
|
||||
TEST="${SELF%.sh}"
|
||||
|
||||
if [ -z "$EPICS_HOST_ARCH" ]; then
|
||||
echo "Please set EPICS_HOST_ARCH and run again"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
rm -f $TEST ${TEST}Diff ${TEST}Aux
|
||||
|
||||
if ../bin/${EPICS_HOST_ARCH}/$TEST $TEST ${TEST}Aux 2>&1 >/dev/null
|
||||
then
|
||||
printf "" # OK
|
||||
else
|
||||
printf "$TEST Failed to complete\n"
|
||||
fi
|
||||
|
||||
if [ -e $TEST -a -e ${TEST}Gold ]
|
||||
then
|
||||
diff -u ${TEST}Gold $TEST >> ${TEST}Diff
|
||||
if [ -s "${TEST}Diff" ]
|
||||
then
|
||||
printf "$TEST Does not match expectations\n"
|
||||
cat ${TEST}Diff
|
||||
printf "\n\n"
|
||||
else
|
||||
printf "$TEST OK\n"
|
||||
fi
|
||||
else
|
||||
printf "$TEST OK\n"
|
||||
fi
|
||||
@@ -1 +0,0 @@
|
||||
testPVType.sh
|
||||
33
test/testPVAppend.sh
Executable file
33
test/testPVAppend.sh
Executable file
@@ -0,0 +1,33 @@
|
||||
#!/bin/sh
|
||||
|
||||
SELF="`basename "$0"`"
|
||||
TEST="${SELF%.sh}"
|
||||
|
||||
if [ -z "$EPICS_HOST_ARCH" ]; then
|
||||
echo "Please set EPICS_HOST_ARCH and run again"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
rm -f $TEST ${TEST}Diff ${TEST}Aux
|
||||
|
||||
if ../bin/${EPICS_HOST_ARCH}/$TEST $TEST ${TEST}Aux 2>&1 >/dev/null
|
||||
then
|
||||
printf "" # OK
|
||||
else
|
||||
printf "$TEST Failed to complete\n"
|
||||
fi
|
||||
|
||||
if [ -e $TEST -a -e ${TEST}Gold ]
|
||||
then
|
||||
diff -u ${TEST}Gold $TEST >> ${TEST}Diff
|
||||
if [ -s "${TEST}Diff" ]
|
||||
then
|
||||
printf "$TEST Does not match expectations\n"
|
||||
cat ${TEST}Diff
|
||||
printf "\n\n"
|
||||
else
|
||||
printf "$TEST OK\n"
|
||||
fi
|
||||
else
|
||||
printf "$TEST OK\n"
|
||||
fi
|
||||
@@ -1 +0,0 @@
|
||||
testPVType.sh
|
||||
33
test/testPVAuxInfo.sh
Executable file
33
test/testPVAuxInfo.sh
Executable file
@@ -0,0 +1,33 @@
|
||||
#!/bin/sh
|
||||
|
||||
SELF="`basename "$0"`"
|
||||
TEST="${SELF%.sh}"
|
||||
|
||||
if [ -z "$EPICS_HOST_ARCH" ]; then
|
||||
echo "Please set EPICS_HOST_ARCH and run again"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
rm -f $TEST ${TEST}Diff ${TEST}Aux
|
||||
|
||||
if ../bin/${EPICS_HOST_ARCH}/$TEST $TEST ${TEST}Aux 2>&1 >/dev/null
|
||||
then
|
||||
printf "" # OK
|
||||
else
|
||||
printf "$TEST Failed to complete\n"
|
||||
fi
|
||||
|
||||
if [ -e $TEST -a -e ${TEST}Gold ]
|
||||
then
|
||||
diff -u ${TEST}Gold $TEST >> ${TEST}Diff
|
||||
if [ -s "${TEST}Diff" ]
|
||||
then
|
||||
printf "$TEST Does not match expectations\n"
|
||||
cat ${TEST}Diff
|
||||
printf "\n\n"
|
||||
else
|
||||
printf "$TEST OK\n"
|
||||
fi
|
||||
else
|
||||
printf "$TEST OK\n"
|
||||
fi
|
||||
@@ -1 +0,0 @@
|
||||
testPVType.sh
|
||||
33
test/testPVData.sh
Executable file
33
test/testPVData.sh
Executable file
@@ -0,0 +1,33 @@
|
||||
#!/bin/sh
|
||||
|
||||
SELF="`basename "$0"`"
|
||||
TEST="${SELF%.sh}"
|
||||
|
||||
if [ -z "$EPICS_HOST_ARCH" ]; then
|
||||
echo "Please set EPICS_HOST_ARCH and run again"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
rm -f $TEST ${TEST}Diff ${TEST}Aux
|
||||
|
||||
if ../bin/${EPICS_HOST_ARCH}/$TEST $TEST ${TEST}Aux 2>&1 >/dev/null
|
||||
then
|
||||
printf "" # OK
|
||||
else
|
||||
printf "$TEST Failed to complete\n"
|
||||
fi
|
||||
|
||||
if [ -e $TEST -a -e ${TEST}Gold ]
|
||||
then
|
||||
diff -u ${TEST}Gold $TEST >> ${TEST}Diff
|
||||
if [ -s "${TEST}Diff" ]
|
||||
then
|
||||
printf "$TEST Does not match expectations\n"
|
||||
cat ${TEST}Diff
|
||||
printf "\n\n"
|
||||
else
|
||||
printf "$TEST OK\n"
|
||||
fi
|
||||
else
|
||||
printf "$TEST OK\n"
|
||||
fi
|
||||
@@ -1 +0,0 @@
|
||||
testPVType.sh
|
||||
33
test/testPVStructureArray.sh
Executable file
33
test/testPVStructureArray.sh
Executable file
@@ -0,0 +1,33 @@
|
||||
#!/bin/sh
|
||||
|
||||
SELF="`basename "$0"`"
|
||||
TEST="${SELF%.sh}"
|
||||
|
||||
if [ -z "$EPICS_HOST_ARCH" ]; then
|
||||
echo "Please set EPICS_HOST_ARCH and run again"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
rm -f $TEST ${TEST}Diff ${TEST}Aux
|
||||
|
||||
if ../bin/${EPICS_HOST_ARCH}/$TEST $TEST ${TEST}Aux 2>&1 >/dev/null
|
||||
then
|
||||
printf "" # OK
|
||||
else
|
||||
printf "$TEST Failed to complete\n"
|
||||
fi
|
||||
|
||||
if [ -e $TEST -a -e ${TEST}Gold ]
|
||||
then
|
||||
diff -u ${TEST}Gold $TEST >> ${TEST}Diff
|
||||
if [ -s "${TEST}Diff" ]
|
||||
then
|
||||
printf "$TEST Does not match expectations\n"
|
||||
cat ${TEST}Diff
|
||||
printf "\n\n"
|
||||
else
|
||||
printf "$TEST OK\n"
|
||||
fi
|
||||
else
|
||||
printf "$TEST OK\n"
|
||||
fi
|
||||
@@ -1 +0,0 @@
|
||||
testPVType.sh
|
||||
33
test/testProperty.sh
Executable file
33
test/testProperty.sh
Executable file
@@ -0,0 +1,33 @@
|
||||
#!/bin/sh
|
||||
|
||||
SELF="`basename "$0"`"
|
||||
TEST="${SELF%.sh}"
|
||||
|
||||
if [ -z "$EPICS_HOST_ARCH" ]; then
|
||||
echo "Please set EPICS_HOST_ARCH and run again"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
rm -f $TEST ${TEST}Diff ${TEST}Aux
|
||||
|
||||
if ../bin/${EPICS_HOST_ARCH}/$TEST $TEST ${TEST}Aux 2>&1 >/dev/null
|
||||
then
|
||||
printf "" # OK
|
||||
else
|
||||
printf "$TEST Failed to complete\n"
|
||||
fi
|
||||
|
||||
if [ -e $TEST -a -e ${TEST}Gold ]
|
||||
then
|
||||
diff -u ${TEST}Gold $TEST >> ${TEST}Diff
|
||||
if [ -s "${TEST}Diff" ]
|
||||
then
|
||||
printf "$TEST Does not match expectations\n"
|
||||
cat ${TEST}Diff
|
||||
printf "\n\n"
|
||||
else
|
||||
printf "$TEST OK\n"
|
||||
fi
|
||||
else
|
||||
printf "$TEST OK\n"
|
||||
fi
|
||||
@@ -1 +1 @@
|
||||
2011.05.10 07:36:42 565871670 nanoSeconds isDst true
|
||||
2011.06.07 07:20:33 714092060 nanoSeconds isDst true
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
testPVType.sh
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user