shared pointer def
This commit is contained in:
1 parent
e873bdd0b6
commit
fae332c09f
1 file changed
+5
@@ -6,6 +6,9 @@
|
||||
*/
|
||||
#ifndef DESTROYABLE_H
|
||||
#define DESTROYABLE_H
|
||||
|
||||
#include <sharedPtr.h>
|
||||
|
||||
namespace epics { namespace pvData {
|
||||
|
||||
|
||||
@@ -15,6 +18,8 @@ namespace epics { namespace pvData {
|
||||
*/
|
||||
class Destroyable {
|
||||
public:
|
||||
typedef std::tr1::shared_ptr<Destroyable> shared_pointer;
|
||||
typedef std::tr1::shared_ptr<const Destroyable> const_shared_pointer;
|
||||
/**
|
||||
* Destroy this instance.
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user