diff options
| author | Andrew Stitcher <astitcher@apache.org> | 2010-04-14 02:13:08 +0000 |
|---|---|---|
| committer | Andrew Stitcher <astitcher@apache.org> | 2010-04-14 02:13:08 +0000 |
| commit | 2fe82baa3cd7361c20892e3c208eb5904d54bd9d (patch) | |
| tree | d6cb554db09028893e850fe0d90d97b0b768d244 /cpp/include/qpid/management/ManagementObject.h | |
| parent | 18a2f54ec0b5790e35b4fd9e245610a51573d909 (diff) | |
| download | qpid-python-2fe82baa3cd7361c20892e3c208eb5904d54bd9d.tar.gz | |
Remove final vestiges of old client API references from messaging and agent header files
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@933842 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/include/qpid/management/ManagementObject.h')
| -rw-r--r-- | cpp/include/qpid/management/ManagementObject.h | 18 |
1 files changed, 5 insertions, 13 deletions
diff --git a/cpp/include/qpid/management/ManagementObject.h b/cpp/include/qpid/management/ManagementObject.h index 9538a3e831..da255d7879 100644 --- a/cpp/include/qpid/management/ManagementObject.h +++ b/cpp/include/qpid/management/ManagementObject.h @@ -21,11 +21,11 @@ * under the License. * */ +#include "qpid/CommonImportExport.h" -#include "qpid/sys/Time.h" #include "qpid/management/Mutex.h" -#include "qpid/CommonImportExport.h" #include "qpid/types/Variant.h" + #include <map> #include <vector> @@ -158,11 +158,7 @@ protected: //typedef void (*writeSchemaCall_t) (qpid::framing::Buffer&); typedef void (*writeSchemaCall_t) (std::string&); - ManagementObject(Manageable* _core) : - createTime(uint64_t(qpid::sys::Duration(qpid::sys::now()))), - destroyTime(0), updateTime(createTime), configChanged(true), - instChanged(true), deleted(false), - coreObject(_core), forcePublish(false) {} + QPID_COMMON_EXTERN ManagementObject(Manageable* _core); virtual ~ManagementObject() {} virtual writeSchemaCall_t getWriteSchemaCall() = 0; @@ -201,12 +197,8 @@ protected: virtual bool hasInst() { return true; } inline void setForcePublish(bool f) { forcePublish = f; } inline bool getForcePublish() { return forcePublish; } - inline void setUpdateTime() { updateTime = (uint64_t(sys::Duration(sys::now()))); } - - inline void resourceDestroy() { - destroyTime = uint64_t (qpid::sys::Duration(qpid::sys::now())); - deleted = true; - } + QPID_COMMON_EXTERN void setUpdateTime(); + QPID_COMMON_EXTERN void resourceDestroy(); inline bool isDeleted() { return deleted; } inline void setFlags(uint32_t f) { flags = f; } inline uint32_t getFlags() { return flags; } |
