Bruno Martins
a29894ee2b
getField<T>() fail to compile when T isn't Field or a sub-class
2019-05-20 16:35:59 -07:00
Bruno Martins
b050fbbcbe
Revert {Structure,Union}::getField to previous behavior
2019-05-20 16:35:59 -07:00
Bruno Martins
caa11605fc
Add {Structure,Union}::getFieldT, fix {Structure,Union}::getField
2019-05-20 16:35:59 -07:00
Michael Davidsaver
cfcdd1a3f9
deprecate ByteBuffer::getArray()
...
in favor of identical ByteBuffer::getBuffer()
2019-05-18 18:21:06 -07:00
Michael Davidsaver
4cc9b650c5
getSubField<T>() fail to compile when T isn't PVField or a sub-class
2019-05-16 10:17:56 -07:00
Michael Davidsaver
cd2436342d
Revert "Replace display.format with .form and .precision"
...
This reverts commit 4ffddfa2f6 .
2019-05-06 10:40:54 -07:00
Michael Davidsaver
35b3403de6
remove deprecated pvCopy
2019-05-01 14:18:48 -07:00
Michael Davidsaver
f780ebdf76
remove deprecated localStaticLock
2019-05-01 14:06:33 -07:00
Michael Davidsaver
93f0518b4b
Merge remote-tracking branch 'md/display-format'
...
* md/display-format:
Replace display.format with .form and .precision
2019-05-01 14:03:57 -07:00
Michael Davidsaver
d53cb0cbc9
doc
2019-04-17 11:47:56 -07:00
Michael Davidsaver
8f0111e482
fix ByteBuffer::putArray() and getArray()
...
Erroneous mixing of byte and element indexing
introduced by a51b308cc8
2019-04-08 09:46:23 -07:00
Michael Davidsaver
f0ef0965c4
AnyScalar doc
2019-03-11 14:05:10 -07:00
Michael Davidsaver
d746e1bfb3
minor
2019-03-11 14:04:53 -07:00
MJGaughran
deccc41b9a
Disabled NEED_OLL_FUNCS for Visual Studio 2013+ ( #64 )
...
* Disabled NEED_OLL_FUNCS for Visual Studio 2013+
Both _MSC_VER (VC++ compiler version) and EPICS base version should be
checked for strtoll, strtoull definitions.
* NEED_OLL_FUNCS now defined only for VS builds
2019-03-02 11:11:42 -08:00
Michael Davidsaver
4ffddfa2f6
Replace display.format with .form and .precision
...
Remove instance accessors w/o replacement
as a prelude to deprecation.
2019-01-16 09:06:15 -08:00
Michael Davidsaver
2814c779bd
StandardField::getStandardField safety
2019-01-15 21:01:38 -08:00
Michael Davidsaver
4c73607799
cleanup StandardField
2019-01-15 21:01:38 -08:00
Michael Davidsaver
00c62cbd67
Fix deprecation message w/ gcc < 4.5
...
Apparently deprecated(msg) is newer than I thought.
2018-11-26 12:05:34 -08:00
Michael Davidsaver
727153e965
deprecate BoundedString, BoundedScalarArray, and FixedScalarArray
...
https://github.com/epics-base/pvDataCPP/issues/52
2018-11-26 10:13:08 -08:00
Michael Davidsaver
d00f54228d
quiet warning, and possible dllimport/export
...
Seen as a warning on clang, but class/struct
can result in different mangled symbol names
w/ MSVC.
2018-11-07 09:06:58 -08:00
Michael Davidsaver
77c67802a3
printer.cpp extend precision
2018-10-30 17:09:56 -07:00
Michael Davidsaver
7d68d177d7
printer.cpp update time format
2018-10-30 17:02:22 -07:00
Michael Davidsaver
9b20505dcd
stream() remove comma in NTTable
2018-10-30 14:33:15 -07:00
Michael Davidsaver
edd3e20f3c
format NTEnum
2018-10-29 13:12:01 -07:00
Michael Davidsaver
90cffa60d6
format NTTable as CSV
2018-10-29 13:12:01 -07:00
Michael Davidsaver
6171cd6867
escape and quote PVString(Array)::dumpValue()
...
Escaping for both. quote array values,
but not scalar.
Also move remaining template virtuals out of line.
2018-10-29 13:12:01 -07:00
Michael Davidsaver
fa731bf6c3
helper to escape while printing strings
2018-10-29 13:12:01 -07:00
Michael Davidsaver
818fce324c
Add PVStructure::stream()
2018-10-29 13:12:01 -07:00
Michael Davidsaver
434b9f7a9f
Timer: simply wakeup condition
2018-10-19 13:35:35 -07:00
Michael Davidsaver
f54602dead
update doc
2018-10-18 16:43:56 -07:00
Michael Davidsaver
e400d9f5fd
Timer reschedule if earlier timer added
2018-10-18 14:44:51 -07:00
Michael Davidsaver
f0fa8a2481
deprecate pvCopy.h
2018-10-16 20:52:50 -07:00
Michael Davidsaver
c3b0b49e3f
use FieldBuilder::begin() and Field::build()
2018-10-16 20:52:38 -07:00
Michael Davidsaver
45265b4f9b
Add FieldBuilder::begin() and Field::build()
...
Boilerplate reduction in structure
definition and instanciation.
2018-10-16 20:52:24 -07:00
Michael Davidsaver
aa87a2a23d
json print/parse updates
...
These functions don't create new refs,
so they don't really need to work with shared_ptr.
Fully support printing.
Add option for maskable PVStructure printing.
2018-09-21 10:28:37 -07:00
Michael Davidsaver
5a59b1da75
Status avoid extra copies
2018-09-21 10:28:37 -07:00
Michael Davidsaver
32aa0dd72f
drop extractRequestMask()
...
superceded by PVRequestMapper
2018-09-21 10:27:43 -07:00
mdavidsaver
c1188b16a1
Merge pull request #56 from mdavidsaver/pvrequestmapper
...
add PVRequestMapper
2018-09-21 10:27:08 -07:00
Michael Davidsaver
a02a60c658
Field::m_hash friends
...
Avoid additional access of m_hash by FieldCreate::Helper
which has an unclear (though I think correct) friend
relationship with Field.
Attempt to placate old gcc 3.4.4
2018-09-19 11:04:02 -07:00
Michael Davidsaver
342b1bc8ef
add PVRequestMapper
...
utility to having pvRequest .field mangling
Warn if requesting some non-existant fields.
Error if no requested fields exist.
PVRequestMapper mode enum to select between
two "styles" of interpretation.
2018-09-17 09:11:28 -07:00
Michael Davidsaver
64158376f5
PVStructure inline access to member variables
2018-07-31 16:55:15 -07:00
Michael Davidsaver
850d4ff056
PVField::copyUnchecked assert()
...
Field comparison is now O(0), so do this anyway
to help catch mistakes.
2018-07-31 16:55:15 -07:00
Michael Davidsaver
f0cfe1c85a
PVField::copy() avoid duplication with copyUnchecked()
2018-07-31 16:55:15 -07:00
Michael Davidsaver
c8b615b3ee
Field initialize m_hash
...
valgrind complain (rightly) about use of uninitialized
if Structure ctor throws (eg. duplicate field).
~Field will then try to use m_hash before it has been
initialized. This don't hurt and the subsequent equality
tests prevent any bad behavior.
2018-07-30 14:50:19 -07:00
Michael Davidsaver
c67fdafb43
add pvRequest -> bitmask processing
2018-07-14 15:10:46 -07:00
Michael Davidsaver
f66d277918
msvc 9 compat
2018-07-12 19:05:12 -07:00
Michael Davidsaver
4ef7db20f8
sharePtr.h: adjust apply/llvm compatibility
2018-07-12 15:38:49 -07:00
Michael Davidsaver
e1216dfa76
move PVValueArray dtor out of line
...
This class has out of line members, and explicit
instanciations. Move the dtor out of line as
well to maybe avoid emitting duplicate
typeinfo.
2018-07-12 15:38:49 -07:00
Michael Davidsaver
340fa8a7cb
Thread accept non-copyable std::function
2018-07-11 16:30:05 -07:00
Michael Davidsaver
a029455466
Thread reftrack
2018-07-11 16:30:04 -07:00