Commit Graph

49 Commits

Author SHA1 Message Date
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
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
Marty Kraimer
d79a24208e added include to status.h 2011-01-21 10:04:51 -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
608d74c400 Fix many memory leaks 2011-01-12 10:28:00 -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
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
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
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
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
Marty Kraimer
3b90f6b719 property and propertyTest now ready. doc not updated 2010-12-07 14:21:15 -05:00
Marty Kraimer
e82101b9c6 Implemented Queue. 2010-12-03 15:40:02 -05:00
Marty Kraimer
358923d064 started on documentation and changes to misc as a result 2010-12-02 15:28:09 -05:00
Marty Kraimer
9db054cc54 timer and timeStamp added to misc. copyright and license info added 2010-11-23 07:30:13 -05:00
Marty Kraimer
28aad96b34 redid showConstructDestruct 2010-11-17 15:28:18 -05:00
Marty Kraimer
6e90ae7f12 added event thread executor timeFunction showConstructDestruct timeStamp 2010-11-17 11:14:38 -05:00
Marty Kraimer
5b4c642b5b fix dependencies between include files 2010-11-09 14:38:34 -05:00
Marty Kraimer
5a7438e028 added linkedList and test for linkedList 2010-11-09 14:23:30 -05:00
Marty Kraimer
4f871aae05 a complete set of tests for PVData now exists 2010-11-04 09:38:53 -04:00
Marty Kraimer
7f03a52200 Merged conflicts with matej's push 2010-11-02 08:54:15 -04:00
Matej Sekoranja
f751d075c5 serialization added 2010-11-01 23:28:03 +01:00
Marty Kraimer
c8e3f82ac3 added include <cstring> 2010-10-26 09:20:49 -04:00
Marty Kraimer
b8275f1108 pull from sourceforge 2010-10-26 09:14:17 -04:00
Marty Kraimer
59eeadcd10 BasePVStructure now complete 2010-10-26 06:12:44 -04:00
Matej Sekoranja
ccb53b7bf2 serializeHelper added, not tested 2010-10-25 11:33:30 +02:00
Matej Sekoranja
969047991d merge 2010-10-25 00:21:36 +02:00
Matej Sekoranja
d97e9c12ed exception stack trace 2010-10-25 00:16:43 +02:00
Marty Kraimer
a2b35d1e82 AbstractPVField now finished 2010-10-22 10:41:17 -04:00
Matej Sekoranja
ef709eb6b9 BaseException 2010-10-21 17:18:16 +02:00
Matej Sekoranja
7cf33be144 byteBuffer added 2010-10-21 14:28:34 +02:00
Matej Sekoranja
f7c89f2ed9 BitSet implementation added 2010-10-19 23:43:37 +02:00
Marty Kraimer
e5aac3b8e4 Main change is epicsBoolean=>bool
equuals => operator==
Additional implementation in Convert.cpp
2010-10-19 14:52:07 -04:00
Marty Kraimer
419f340aaa All PVScalar interfaces now implemented 2010-09-30 07:49:29 -04:00
Marty Kraimer
355ac3aa1d Fixed const mess 2010-09-29 09:24:17 -04:00
Marty Kraimer
f6c9b0eea3 1) implemented noDefaultMethods. See effective C++ Item 6. There it is called Uncopyable
2) implemented Lock. See effective C++ item 14.
     This is as easy to use as Java synchronize.
3) wrapper on top of std::string. All usage of string in pvData is one of:
      String - Just a std::string
     StringBuilder - Used where StringBuilder is used in Java
     StringConst - Just a "std::string const". This is used wherever String is used in Java
     StringConstArray - Just like a String[] in Java.
4) The reference counting (incReferenceCount and decReferenceCount) are now private. It is completely handled by the implenentaion.
    NO code that uses pvData needs even know about reference counting.
2010-09-27 08:33:10 -04:00
Marty Kraimer
2c6a99a6cb add directory misc and move stuff to it. 2010-09-23 14:47:47 -04:00