diff options
author | Andrew Stitcher <astitcher@apache.org> | 2008-03-24 17:43:55 +0000 |
---|---|---|
committer | Andrew Stitcher <astitcher@apache.org> | 2008-03-24 17:43:55 +0000 |
commit | 3f8a466daf6eba9717c27a635f2a7307cc4d03bd (patch) | |
tree | 08aa12215ccf68d2ba046d8154f1fcb902d3487c /cpp/src/qpid/broker/NullMessageStore.h | |
parent | e7541b7deff38a74fe454f3b031ad013f71155ee (diff) | |
download | qpid-python-3f8a466daf6eba9717c27a635f2a7307cc4d03bd.tar.gz |
- Refactored RefCounted class to avoid virtual inheritance
- Removed extraneous includes and definitions from RefCounted.h
- Fixed all the places that were relying on RefCounted.h to be including the
intrusive_ptr header file and were assuming that something had imported
intrusive_ptr into the qpid namespace
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@640479 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/broker/NullMessageStore.h')
-rw-r--r-- | cpp/src/qpid/broker/NullMessageStore.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/cpp/src/qpid/broker/NullMessageStore.h b/cpp/src/qpid/broker/NullMessageStore.h index 9c5631b75d..7cde4db70b 100644 --- a/cpp/src/qpid/broker/NullMessageStore.h +++ b/cpp/src/qpid/broker/NullMessageStore.h @@ -25,6 +25,8 @@ #include "MessageStore.h" #include "Queue.h" +#include <boost/intrusive_ptr.hpp> + namespace qpid { namespace broker { @@ -56,16 +58,16 @@ public: virtual void unbind(const PersistableExchange& exchange, const PersistableQueue& queue, const std::string& key, const framing::FieldTable& args); virtual void recover(RecoveryManager& queues); - virtual void stage(intrusive_ptr<PersistableMessage>& msg); + virtual void stage(boost::intrusive_ptr<PersistableMessage>& msg); virtual void destroy(PersistableMessage& msg); - virtual void appendContent(intrusive_ptr<const PersistableMessage>& msg, + virtual void appendContent(boost::intrusive_ptr<const PersistableMessage>& msg, const std::string& data); virtual void loadContent(const qpid::broker::PersistableQueue& queue, - intrusive_ptr<const PersistableMessage>& msg, std::string& data, + boost::intrusive_ptr<const PersistableMessage>& msg, std::string& data, uint64_t offset, uint32_t length); - virtual void enqueue(TransactionContext* ctxt, intrusive_ptr<PersistableMessage>& msg, + virtual void enqueue(TransactionContext* ctxt, boost::intrusive_ptr<PersistableMessage>& msg, const PersistableQueue& queue); - virtual void dequeue(TransactionContext* ctxt, intrusive_ptr<PersistableMessage>& msg, + virtual void dequeue(TransactionContext* ctxt, boost::intrusive_ptr<PersistableMessage>& msg, const PersistableQueue& queue); virtual u_int32_t outstandingQueueAIO(const PersistableQueue& queue); virtual void flush(const qpid::broker::PersistableQueue& queue); |