Commit Graph

108 Commits

Author SHA1 Message Date
Michael Davidsaver
bed4108ffd update test baselines 2011-02-02 10:11:07 -05:00
Michael Davidsaver
8adb8b7766 rename showConstructDestruct.h to CDRMonitor.h 2011-02-02 10:11:07 -05:00
Michael Davidsaver
3dd943d3b3 undercounting field
The reference count is 1 on construction
2011-02-02 10:11:07 -05:00
Michael Davidsaver
103e4bf2cb switch tests to CDRMonitor
Explicit call to epicsExitCallAtExits is needed to
preserve previous order between AtExit cleanup list
and static class destructors.

update llist gold
2011-02-02 10:11:07 -05:00
Michael Davidsaver
4a65bf9342 switch remaining to use REFCOUNT macros 2011-02-02 10:11:07 -05:00
Michael Davidsaver
099215986f Use epicsThreadOnce for safe lazy initialization
Also use epicsAtExit to handle cleanup.
2011-02-02 10:11:07 -05:00
Michael Davidsaver
d8fe325dc0 replace ShowConstructDestruct with simpler CDRMonitor
Hold counters internally instead of exposing (and duplicating)
counting code in other compile units

Remove deleteFunc list.  This should be handled by another mechanism.
CDRMonitor is debugging code.

Use internal singly linked list to avoid special handling of
LinkedList.
2011-02-02 10:11:07 -05:00
Michael Davidsaver
302d3fe5d2 executor: remove redundant allocations 2011-02-02 09:14:46 -05:00
Michael Davidsaver
b4c48449a8 lock: Partial implementation of Boost lock templates
lock_guard - simple RAII for a mutex

unique_lock - Also allows release/re-acquire after
construction while ensuring that the mutex is
unlocked when the object is destructed.
2011-02-02 09:14:46 -05:00
Marty Kraimer
5e45b5fabd did a pull then commit 2011-02-01 05:50:23 -05:00
Marty Kraimer
52ee919845 Massive name changes to factory.
The changes make it clear what is a default implementation and
what implements base classes defined in pvData.h.
2011-02-01 05:31:55 -05:00
Marty Kraimer
ca3e22fd81 add methods append and remove to PVStructureArray 2011-01-31 09:38:12 -05:00
Matej Sekoranja
698f4911ba BaseException fix and cleanup. 2011-01-28 19:50:05 +01:00
Marty Kraimer
ad9633c8f6 moved pvType.h from misc to pv.
Made changes to make it clear that is defining the pvData primitive types for pvData.
2011-01-28 08:22:46 -05:00
Matej Sekoranja
62e0495c3d structure equals fix 2011-01-26 00:00:38 +01:00
Matej Sekoranja
4f85a0c4a1 merge 2011-01-23 23:41:20 +01:00
Matej Sekoranja
7f23d511bf deserialization fix 2011-01-23 23:32:29 +01:00
Marty Kraimer
d79a24208e added include to status.h 2011-01-21 10:04:51 -05:00
Marty Kraimer
d16bc519c0 added inc/dec test to testPVStructureArray.cpp 2011-01-21 06:27:58 -05:00
Marty Kraimer
f4a1173e7a More work on introspection memory management.
Required changes to pvIntrospect.h and pvData.h
2011-01-20 09:16:33 -05:00
Marty Kraimer
85811ffb69 pulled changes 2011-01-19 14:31:54 -05:00
Marty Kraimer
f73f18d692 fix problem in PVField::replaceStructure.
There is still a memory leak
2011-01-19 14:29:12 -05:00
Matej Sekoranja
12b7a51ea7 bitSet serialization 2011-01-16 23:50:56 +01:00
Matej Sekoranja
fb664aa4bd fixed macro 2011-01-13 00:52:30 +01:00
Marty Kraimer
bb6437fd86 update doc 2011-01-12 14:49:54 -05:00
Marty Kraimer
608d74c400 Fix many memory leaks 2011-01-12 10:28:00 -05:00
Marty Kraimer
f04a4faccd create .hgignore 2011-01-03 07:17:56 -05:00
Matej Sekoranja
571405d6b2 fixed wrong delete 2011-01-03 12:47:22 +01:00
Matej Sekoranja
7d9b5ce725 added convenience macros 2011-01-02 10:47:08 +01:00
Matej Sekoranja
3f9852bd58 random access byteBuffer 2011-01-01 21:25:23 +01:00
Matej Sekoranja
b5cc749a94 Field equality test 2010-12-28 11:01:03 +01:00
Matej Sekoranja
990bb6316e make ref. counting public 2010-12-27 11:33:53 +01:00
Matej Sekoranja
8f8502f6e0 fixed SerializeHelper include and delete 2010-12-27 11:33:34 +01:00
Matej Sekoranja
9cbd953c34 ByteBuffer.setPosition(int) added 2010-12-27 10:30:59 +01:00
Matej Sekoranja
20945f7802 moved StatusTypeNames to .cpp 2010-12-27 10:01:28 +01:00
Marty Kraimer
531a63f913 fix append problem
still may have memory leak problem
2010-12-26 15:34:26 -05:00
Marty Kraimer
ee1fe3b1a3 merged with changes from Matej 2010-12-22 09:19:58 -05:00
Marty Kraimer
e717e7c45c Minor changes to doc 2010-12-22 08:50:53 -05:00
Matej Sekoranja
6a91bddf15 Convenience toString() method added. 2010-12-22 12:57:32 +01:00
Matej Sekoranja
e06ff2b898 Destruction of status. 2010-12-20 19:47:36 +01:00
Matej Sekoranja
f522fe8e07 StatusCreateFactory moved to misc, bitSet ref. counting added, minor Status mods 2010-12-20 16:17:48 +01:00
Marty Kraimer
b7f5dc5444 resolve diffs with committs for status; some Gold changes in test. 2010-12-20 06:53:49 -05:00
Marty Kraimer
fdf2342157 minor changes 2010-12-20 06:30:48 -05:00
Matej Sekoranja
e4ea15aff3 Status factory added. 2010-12-19 21:17:59 +01:00
Matej Sekoranja
1f7c6f5520 Moved status and monitor out of pvAccessCPP; interfaces only. 2010-12-19 13:28:30 +01:00
Marty Kraimer
188c256dda documentation more complete 2010-12-13 13:12:43 -05:00
Marty Kraimer
ca968cacd0 remove Test from directory names in testApp 2010-12-08 08:30:48 -05:00
Marty Kraimer
d0c4e78b4d added bitSetUtil 2010-12-08 07:48:40 -05:00
Marty Kraimer
3c060afedb continuation of last commit 2010-12-08 07:10:01 -05:00
Marty Kraimer
381c6de7e9 change build so that only one library pvData gets built 2010-12-08 07:08:42 -05:00