Rename pvDataApp to src, adjust Makefiles.
This commit is contained in:
33
src/factory/PVScalarArray.cpp
Normal file
33
src/factory/PVScalarArray.cpp
Normal file
@@ -0,0 +1,33 @@
|
||||
/*PVScalarArray.cpp*/
|
||||
/**
|
||||
* Copyright - See the COPYRIGHT that is included with this distribution.
|
||||
* EPICS pvData is distributed subject to a Software License Agreement found
|
||||
* in file LICENSE that is included with this distribution.
|
||||
*/
|
||||
/**
|
||||
* @author mrk
|
||||
*/
|
||||
#include <cstddef>
|
||||
#include <cstdlib>
|
||||
#include <string>
|
||||
#include <cstdio>
|
||||
|
||||
#define epicsExportSharedSymbols
|
||||
#include <pv/pvData.h>
|
||||
#include <pv/factory.h>
|
||||
|
||||
using std::tr1::static_pointer_cast;using std::tr1::static_pointer_cast;
|
||||
|
||||
namespace epics { namespace pvData {
|
||||
|
||||
PVScalarArray::~PVScalarArray() {}
|
||||
|
||||
PVScalarArray::PVScalarArray(ScalarArrayConstPtr const & scalarArray)
|
||||
: PVArray(scalarArray) {}
|
||||
|
||||
const ScalarArrayConstPtr PVScalarArray::getScalarArray() const
|
||||
{
|
||||
return static_pointer_cast<const ScalarArray>(PVField::getField());
|
||||
}
|
||||
|
||||
}}
|
||||
Reference in New Issue
Block a user