Dave Hickin
000dde0454
Make attach* functions return bool in multi-channel types
...
The attachAlarm and attachTimeStamps() return true if successful, false
otherwise in other classes. In NTMultiChannel and NTScalarMultiChannel
they returned void. Bring multi-channel behaviour in line.
2015-08-20 17:23:59 +01:00
Dave Hickin
5076057d8d
Make isConnected optional field of multi-channel types
...
A boolean[] isConnected field was included in all constructed
NTMultiChannels and NTScalarMultiChannels. However this is neither a
required nor optional field of these types. Applications use this
though, (specifically pvaClient) so treat as if optional field. Add
addIsConnected() function to builders and retain isConnected() in
wrapper classes. Leave isConnected field in structures until clients
updated.
2015-08-20 17:19:18 +01:00
Dave Hickin
fd60732a8c
Rename add() addColumn() in NTTable
...
Function for adding columns to table (i.e. to value subfield) was
add(ScalarType). However add(Field) adds extra field to top-level
structure. Rename former to avoid confusion and as more meaningful
name. Update unit tests.
2015-08-20 17:07:27 +01:00
Dave Hickin
002a465705
Clear up confusion between labels and column names
...
The labels are strings used in the displaying of the columns of a table
e.g. column titles or headers. The column names of an NTTable are the
names of the fields containing the column data. There was some confusion
in the implementation between these. Rename the labels variable
columnNames and correct the comments. Tables were created with labels
equal to the column names. Retain this behaviour for backwards
compatibility, as a sensible default and to always create a valid table,
but document this.
2015-08-20 17:03:27 +01:00
Dave Hickin
5ddcc70993
Add getName() and getTags() functions to NTAttribute
2015-08-20 16:16:34 +01:00
Dave Hickin
b40eca79cf
Add NTAttribute including builder
2015-08-20 08:43:27 +01:00
Dave Hickin
f6f5539f7b
Add NTAggregate including builder and unit tests
2015-08-20 08:41:45 +01:00
Dave Hickin
0d66034092
Add NTUnion including builder and unit tests
2015-08-20 08:01:29 +01:00
Dave Hickin
1de2666993
Add NTEnum including builder and unit tests
2015-08-20 07:59:29 +01:00
Dave Hickin
7d0b6d86ea
Add NTMatrix including builder and unit tests
2015-08-20 07:56:20 +01:00
Bruno Martins
b52fc4fce8
Fix extra fields not being created
...
FieldBuilder::createStructure() was being called too early inside NTTableBuilder::createStructure(), preventing extra fields from being properly created.
2015-08-12 22:46:46 -04:00
Dave Hickin
b1143fea9e
Make #endif comments match #ifdef in inclusion guards
2015-08-06 14:06:14 +01:00
Dave Hickin
efa9dff1d4
Change references to NTTableBuilder to NTScalarBuilder in NTScalar
2015-08-06 14:04:47 +01:00
Dave Hickin
3b9f8a26c0
Include ntscalarMultiChannel.h in nt.h
2015-08-06 13:57:11 +01:00
Dave Hickin
5381a0c294
Add NTScalarMultiChannel
2015-08-04 21:30:13 +01:00
Andrew Johnson
ec02b9f7ee
Cleanup: Remove extraneous / from SRC
2015-06-08 17:47:14 -05:00
dhickin
efff7f5041
Improve thread-safety of NTNDArray.
2015-06-08 10:34:10 +01:00
dhickin
8c292eeebc
Reorder optional fields to consistent order to match new NT spec.
2015-05-11 14:02:18 +01:00
dhickin
25e8c65bb0
Reorder declarations/definitions.
2015-04-22 14:55:40 +01:00
dhickin
f47b059a5b
Add definition of missing uniqueId() function.
2015-04-22 14:47:34 +01:00
Marty Kraimer
acd986c19d
work on doxygen
2014-12-15 08:31:41 -05:00
Matej Sekoranja
a25a89fadc
win32 build, all test pass
2014-11-10 21:52:10 +01:00
Matej Sekoranja
49312d62d5
added epicsShared export declarations
2014-11-10 10:24:10 +01:00
Matej Sekoranja
42fb15211a
NTUtils added, is_a for new URI scheme
2014-11-10 10:04:32 +01:00
Matej Sekoranja
95e9b394c4
fixed NTNDArray::isCompatible
2014-10-29 13:25:33 +01:00
Matej Sekoranja
3c5e4a1db5
URI: ev4 to epics
2014-10-28 20:18:08 +01:00
Marty Kraimer
4ee19f4dd1
URI of form ev4:nt/NTType:1.0 ; narrow, narrow_unsafe, is_compatible => wrap, wrapUnsafe, isCompatible
2014-10-01 08:34:34 -04:00
dhickin
3765a0567c
Put back caching of ntndarray types when not extended and for sub-structure types.
2014-09-24 16:50:18 +01:00
dhickin
b06c13c5d8
Removed type caching for NTNDArray since incompatible with new adding extra fields feature.
2014-09-24 11:03:10 +01:00
Marty Kraimer
dbc5c434cb
NTField::createAlarmLimit removed; NTNameValue names,values changed to name,value
2014-09-23 08:50:49 -04:00
dhickin
9c7cd05437
Correct a field name in NTNDArray (attribute.description->attribute.descriptor).
2014-09-23 11:02:13 +01:00
dhickin
6a187d274e
Reordered fields in NTNDArray
2014-09-23 10:50:20 +01:00
Marty Kraimer
0d21cb267a
mostly changes to ntCPP.html; in NTMultiChannel addValue changed to value
2014-09-19 09:52:53 -04:00
Marty Kraimer
eba5aa6c8b
change implementation of createPVStructure in nttable.cpp
2014-09-12 16:28:55 -04:00
Marty Kraimer
7465da3217
implemented is_compatible
2014-09-12 15:41:36 -04:00
Marty Kraimer
ddee226a49
added "add(name,field)" to each bulder; added is_compatible to each NT(code is not complete)
2014-09-12 09:56:08 -04:00
Guobao Shen
76546d22b4
fix clang compiling
2014-09-05 14:27:08 -04:00
Matej Sekoranja
63eb1aa703
ntnameValue: extra fields can be added now
2014-09-04 12:30:02 +02:00
Matej Sekoranja
89396a7455
narrow and narrow_unsafe methods added
2014-08-31 23:29:45 +02:00
Marty Kraimer
f1aca7e20f
fix bug for userTag
2014-08-26 06:30:30 -04:00
Marty Kraimer
f2bbec36ef
added connectionState
2014-08-25 06:23:52 -04:00
Matej Sekoranja
887b453bac
NTScalarArray added
2014-08-25 08:58:40 +02:00
dhickin
594aa52a20
Merge.
2014-08-22 23:27:06 +01:00
dhickin
8058a389d7
NTNDArray. Reorder uniqueId and dataTimeStamp fields.
2014-08-22 23:21:42 +01:00
dhickin
52ab0ff37b
NTNDArray. Created builder. Removed create and clone.
2014-08-22 22:32:31 +01:00
Matej Sekoranja
9df8d3cb2a
merge
2014-08-22 22:56:51 +02:00
Matej Sekoranja
f27e741eca
NTScalr value is cached
2014-08-22 22:56:05 +02:00
dhickin
53c89e5a73
updates to NTNDArray
2014-08-22 19:32:30 +01:00
dhickin
1fdcfb7ad1
Added first implementation of NTNDArray.
2014-08-22 16:56:43 +01:00
Matej Sekoranja
379a132cd7
NTScalar added
2014-08-22 09:12:24 +02:00