added epicsShared export declarations

This commit is contained in:
Matej Sekoranja
2014-11-10 10:24:10 +01:00
parent 42fb15211a
commit 49312d62d5
16 changed files with 128 additions and 17 deletions

View File

@@ -6,6 +6,8 @@
*/
#include <pv/lock.h>
#define epicsExportSharedSymbols
#include <pv/ntfield.h>
using namespace epics::pvData;

View File

@@ -9,6 +9,11 @@
#include <cstdarg>
#ifdef epicsExportSharedSymbols
# define ntfieldEpicsExportSharedSymbols
# undef epicsExportSharedSymbols
#endif
#include <pv/standardField.h>
#include <pv/standardPVField.h>
#include <pv/alarm.h>
@@ -17,6 +22,13 @@
#include <pv/pvTimeStamp.h>
#include <pv/sharedVector.h>
#ifdef ntfieldEpicsExportSharedSymbols
# define epicsExportSharedSymbols
# undef ntfieldEpicsExportSharedSymbols
#endif
#include <shareLib.h>
namespace epics { namespace nt {
/**
* Convenience Class for introspection fields of a Normative Type
@@ -30,7 +42,7 @@ typedef std::tr1::shared_ptr<NTField> NTFieldPtr;
class PVNTField;
typedef std::tr1::shared_ptr<PVNTField> PVNTFieldPtr;
class NTField {
class epicsShareClass NTField {
public:
POINTER_DEFINITIONS(NTField);
/**
@@ -131,7 +143,7 @@ private:
* @author mrk
*
*/
class PVNTField {
class epicsShareClass PVNTField {
public:
POINTER_DEFINITIONS(PVNTField);
/**

View File

@@ -5,9 +5,11 @@
* in file LICENSE that is included with this distribution.
*/
#include <algorithm>
#define epicsExportSharedSymbols
#include <pv/ntmultiChannel.h>
#include <pv/ntutils.h>
#include <algorithm>
using namespace std;
using namespace epics::pvData;

View File

@@ -7,10 +7,26 @@
#ifndef NTMULTICHANNEL_H
#define NTMULTICHANNEL_H
#include <pv/ntfield.h>
#include <vector>
#include <string>
#ifdef epicsExportSharedSymbols
# define ntmultiChannelEpicsExportSharedSymbols
# undef epicsExportSharedSymbols
#endif
#include <pv/pvDisplay.h>
#include <pv/pvControl.h>
#ifdef ntmultiChannelEpicsExportSharedSymbols
# define epicsExportSharedSymbols
# undef ntmultiChannelEpicsExportSharedSymbols
#endif
#include <pv/ntfield.h>
#include <shareLib.h>
namespace epics { namespace nt {
@@ -140,7 +156,7 @@ namespace detail {
typedef std::tr1::shared_ptr<detail::NTMultiChannelBuilder> NTMultiChannelBuilderPtr;
class NTMultiChannel
class epicsShareClass NTMultiChannel
{
public:
POINTER_DEFINITIONS(NTMultiChannel);

View File

@@ -5,6 +5,7 @@
* in file LICENSE that is included with this distribution.
*/
#define epicsExportSharedSymbols
#include <pv/ntnameValue.h>
#include <pv/ntutils.h>

View File

@@ -7,8 +7,23 @@
#ifndef NTNAMEVALUE_H
#define NTNAMEVALUE_H
#ifdef epicsExportSharedSymbols
# define ntnameValueEpicsExportSharedSymbols
# undef epicsExportSharedSymbols
#endif
#include <pv/pvDisplay.h>
#include <pv/pvControl.h>
#ifdef ntnameValueEpicsExportSharedSymbols
# define epicsExportSharedSymbols
# undef ntnameValueEpicsExportSharedSymbols
#endif
#include <pv/ntfield.h>
#include <shareLib.h>
namespace epics { namespace nt {
class NTNameValue;
@@ -111,7 +126,7 @@ typedef std::tr1::shared_ptr<detail::NTNameValueBuilder> NTNameValueBuilderPtr;
* Convenience Class for NTNameValue
* @author mrk
*/
class NTNameValue
class epicsShareClass NTNameValue
{
public:
POINTER_DEFINITIONS(NTNameValue);

View File

@@ -7,6 +7,7 @@
#include <algorithm>
#define epicsExportSharedSymbols
#include <pv/ntndarray.h>
#include <pv/ntutils.h>

View File

@@ -7,11 +7,26 @@
#ifndef NTNDARRAY_H
#define NTNDARRAY_H
#include <pv/ntfield.h>
#include <vector>
#include <string>
#ifdef epicsExportSharedSymbols
# define ntscalarArrayEpicsExportSharedSymbols
# undef epicsExportSharedSymbols
#endif
#include <pv/pvDisplay.h>
#include <pv/pvControl.h>
#ifdef ntscalarArrayEpicsExportSharedSymbols
# define epicsExportSharedSymbols
# undef ntscalarArrayEpicsExportSharedSymbols
#endif
#include <pv/ntfield.h>
#include <shareLib.h>
namespace epics { namespace nt {
class NTNDArray;
@@ -108,7 +123,7 @@ typedef std::tr1::shared_ptr<detail::NTNDArrayBuilder> NTNDArrayBuilderPtr;
* Convenience Class for NTNDArray
* @author dgh
*/
class NTNDArray
class epicsShareClass NTNDArray
{
public:
POINTER_DEFINITIONS(NTNDArray);

View File

@@ -5,6 +5,7 @@
* in file LICENSE that is included with this distribution.
*/
#define epicsExportSharedSymbols
#include <pv/ntscalar.h>
#include <pv/ntutils.h>

View File

@@ -7,10 +7,23 @@
#ifndef NTSCALAR_H
#define NTSCALAR_H
#include <pv/ntfield.h>
#ifdef epicsExportSharedSymbols
# define ntscalarEpicsExportSharedSymbols
# undef epicsExportSharedSymbols
#endif
#include <pv/pvDisplay.h>
#include <pv/pvControl.h>
#ifdef ntscalarEpicsExportSharedSymbols
# define epicsExportSharedSymbols
# undef ntscalarEpicsExportSharedSymbols
#endif
#include <pv/ntfield.h>
#include <shareLib.h>
namespace epics { namespace nt {
class NTScalar;
@@ -126,7 +139,7 @@ typedef std::tr1::shared_ptr<detail::NTScalarBuilder> NTScalarBuilderPtr;
* Convenience Class for NTScalar
* @author mrk
*/
class NTScalar
class epicsShareClass NTScalar
{
public:
POINTER_DEFINITIONS(NTScalar);

View File

@@ -5,6 +5,7 @@
* in file LICENSE that is included with this distribution.
*/
#define epicsExportSharedSymbols
#include <pv/ntscalarArray.h>
#include <pv/ntutils.h>

View File

@@ -7,10 +7,24 @@
#ifndef NTSCALARARRAY_H
#define NTSCALARARRAY_H
#include <pv/ntfield.h>
#ifdef epicsExportSharedSymbols
# define ntscalarArrayEpicsExportSharedSymbols
# undef epicsExportSharedSymbols
#endif
#include <pv/pvDisplay.h>
#include <pv/pvControl.h>
#ifdef ntscalarArrayEpicsExportSharedSymbols
# define epicsExportSharedSymbols
# undef ntscalarArrayEpicsExportSharedSymbols
#endif
#include <pv/ntfield.h>
#include <shareLib.h>
namespace epics { namespace nt {
class NTScalarArray;
@@ -126,7 +140,7 @@ typedef std::tr1::shared_ptr<detail::NTScalarArrayBuilder> NTScalarArrayBuilderP
* Convenience Class for NTScalarArray
* @author mrk
*/
class NTScalarArray
class epicsShareClass NTScalarArray
{
public:
POINTER_DEFINITIONS(NTScalarArray);

View File

@@ -7,6 +7,7 @@
#include <algorithm>
#define epicsExportSharedSymbols
#include <pv/nttable.h>
#include <pv/ntutils.h>

View File

@@ -7,11 +7,26 @@
#ifndef NTTABLE_H
#define NTTABLE_H
#include <pv/ntfield.h>
#include <vector>
#include <string>
#ifdef epicsExportSharedSymbols
# define nttableEpicsExportSharedSymbols
# undef epicsExportSharedSymbols
#endif
#include <pv/pvDisplay.h>
#include <pv/pvControl.h>
#ifdef nttableEpicsExportSharedSymbols
# define epicsExportSharedSymbols
# undef nttableEpicsExportSharedSymbols
#endif
#include <pv/ntfield.h>
#include <shareLib.h>
namespace epics { namespace nt {
class NTTable;
@@ -114,7 +129,7 @@ typedef std::tr1::shared_ptr<detail::NTTableBuilder> NTTableBuilderPtr;
* Convenience Class for NTTable
* @author mrk
*/
class NTTable
class epicsShareClass NTTable
{
public:
POINTER_DEFINITIONS(NTTable);

View File

@@ -5,6 +5,7 @@
* in file LICENSE that is included with this distribution.
*/
#define epicsExportSharedSymbols
#include <pv/ntutils.h>
using namespace std;

View File

@@ -8,6 +8,7 @@
#define NTUTILS_H
#include <string>
#include <shareLib.h>
namespace epics { namespace nt {
@@ -15,7 +16,7 @@ namespace epics { namespace nt {
* Utility methods for NT types.
* @author mse
*/
class NTUtils {
class epicsShareClass NTUtils {
public:
/**