URI: ev4 to epics

This commit is contained in:
Matej Sekoranja
2014-10-28 20:18:08 +01:00
parent 70b30ade1a
commit 3c5e4a1db5
7 changed files with 16 additions and 16 deletions

View File

@@ -422,7 +422,7 @@ This has methods to do the following:</p>
<h2>Normative Type NTScalar</h2>
<p>This has the following fields:</p>
<pre>
ev4:nt/NTScalar:1.0
epics:nt/NTScalar:1.0
double value // mandatory and can be any numeric type
string descriptor // optional
alarm_t alarm // optional
@@ -666,7 +666,7 @@ string message = alarm.getMessage();
field is a scalar array field instead of just a scalar.</p>
<p>This has the following fields:</p>
<pre>
ev4:nt/NTScalarArray:1.0
epics:nt/NTScalarArray:1.0
double[] value // mandatory and can be any numeric type
string descriptor // optional
alarm_t alarm // optional
@@ -838,7 +838,7 @@ where
<h2>Normative Type NTNameValue</h2>
<pre>
ev4:nt/NTNameValue:1.0
epics:nt/NTNameValue:1.0
string[] name // mandatory
double[] value // madatory, can be any type, must be same length as name
string descriptor // optional
@@ -978,7 +978,7 @@ where
<h2>Normative Type NTTable</h2>
<pre>
ev4:nt/NTTable:1.0
epics:nt/NTTable:1.0
string[] labels [column0,column1,column2] // mandatory
structure value // mandatory;
double[] column0 [] // name=labels[0]; can be any scalar type
@@ -1291,7 +1291,7 @@ where
<h2>Normative Type NTNDArray</h2>
<pre>
ev4:nt/NTNDArray:1.0
epics:nt/NTNDArray:1.0
union value //mandatory
codec_t codec //mandatory
string name
@@ -1311,9 +1311,9 @@ ev4:nt/NTNDArray:1.0
long secondsPastEpoch
int nanoseconds
int userTag
ev4:nt/NTAttribute:1.0[] attribute //mandatory
ev4:nt/NTAttribute:1.0[]
ev4:nt/NTAttribute:1.0
epics:nt/NTAttribute:1.0[] attribute //mandatory
epics:nt/NTAttribute:1.0[]
epics:nt/NTAttribute:1.0
string name
any value
string description

View File

@@ -195,7 +195,7 @@ NTMultiChannelBuilder::shared_pointer NTMultiChannelBuilder::add(string const &
}
const std::string NTMultiChannel::URI("ev4:nt/NTMultiChannel:1.0");
const std::string NTMultiChannel::URI("epics:nt/NTMultiChannel:1.0");
NTMultiChannel::shared_pointer NTMultiChannel::wrap(PVStructurePtr const & structure)
{

View File

@@ -108,7 +108,7 @@ NTNameValueBuilder::shared_pointer NTNameValueBuilder::add(string const & name,
}
const std::string NTNameValue::URI("ev4:nt/NTNameValue:1.0");
const std::string NTNameValue::URI("epics:nt/NTNameValue:1.0");
NTNameValue::shared_pointer NTNameValue::wrap(PVStructurePtr const & structure)
{

View File

@@ -18,7 +18,7 @@ static NTFieldPtr ntField = NTField::get();
namespace detail {
const std::string ntAttrStr("ev4:nt/NTAttribute:1.0");
const std::string ntAttrStr("epics:nt/NTAttribute:1.0");
static FieldCreatePtr fieldCreate = getFieldCreate();
static PVDataCreatePtr pvDataCreate = getPVDataCreate();
@@ -198,8 +198,8 @@ NTNDArrayBuilder::shared_pointer NTNDArrayBuilder::add(string const & name, Fiel
}
const std::string NTNDArray::URI("ev4:nt/NTNDArray:1.0");
const std::string ntAttrStr("ev4:nt/NTAttribute:1.0");
const std::string NTNDArray::URI("epics:nt/NTNDArray:1.0");
const std::string ntAttrStr("epics:nt/NTAttribute:1.0");
static FieldCreatePtr fieldCreate = getFieldCreate();
static PVDataCreatePtr pvDataCreate = getPVDataCreate();

View File

@@ -128,7 +128,7 @@ NTScalarBuilder::shared_pointer NTScalarBuilder::add(string const & name, FieldC
}
const std::string NTScalar::URI("ev4:nt/NTScalar:1.0");
const std::string NTScalar::URI("epics:nt/NTScalar:1.0");
NTScalar::shared_pointer NTScalar::wrap(PVStructurePtr const & structure)
{

View File

@@ -125,7 +125,7 @@ NTScalarArrayBuilder::shared_pointer NTScalarArrayBuilder::add(string const & na
}
const std::string NTScalarArray::URI("ev4:nt/NTScalarArray:1.0");
const std::string NTScalarArray::URI("epics:nt/NTScalarArray:1.0");
NTScalarArray::shared_pointer NTScalarArray::wrap(PVStructurePtr const & structure)
{

View File

@@ -123,7 +123,7 @@ NTTableBuilder::shared_pointer NTTableBuilder::add(string const & name, FieldCon
}
const std::string NTTable::URI("ev4:nt/NTTable:1.0");
const std::string NTTable::URI("epics:nt/NTTable:1.0");
NTTable::shared_pointer NTTable::wrap(PVStructurePtr const & structure)
{