shared pointer def

This commit is contained in:
Matej Sekoranja
2011-05-10 10:01:14 +02:00
parent e873bdd0b6
commit fae332c09f

View File

@@ -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.
*/