c++_api/inc/opals/ObjectBase.hpp
1 #pragma once
2 
3 #include <opals/config.hpp>
4 
5 namespace opals
6 {
7  /// \brief base class for objects which are controlled using the SharedPtr class.
8  /// the virutal Delete function is used to delete the object in same heap where it was created
9  class OPALS_API ObjectBase {
10  public:
11  virtual ~ObjectBase() {}
12 
13  //delete function
14  virtual void Delete();
15  };
16 
17  /// deleter function for opals::BaseObject objects that can be used e.g. in std::shared_ptr class
19 }
void object_base_deleter(ObjectBase *)
deleter function for opals::BaseObject objects that can be used e.g. in std::shared_ptr class
Contains the public interface of OPALS.
Definition: AbsValueOrQuantile.hpp:8
base class for objects which are controlled using the SharedPtr class. the virutal Delete function is...
Definition: c++_api/inc/opals/ObjectBase.hpp:9