TrackingPointer.hpp
1 /*---------------------------------------------------------------------------*\
2  *
3  * mimmo
4  *
5  * Copyright (C) 2015-2021 OPTIMAD engineering Srl
6  *
7  * -------------------------------------------------------------------------
8  * License
9  * This file is part of mimmo.
10  *
11  * mimmo is free software: you can redistribute it and/or modify it
12  * under the terms of the GNU Lesser General Public License v3 (LGPL)
13  * as published by the Free Software Foundation.
14  *
15  * mimmo is distributed in the hope that it will be useful, but WITHOUT
16  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
17  * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
18  * License for more details.
19  *
20  * You should have received a copy of the GNU Lesser General Public License
21  * along with mimmo. If not, see <http://www.gnu.org/licenses/>.
22  *
23 \*---------------------------------------------------------------------------*/
24 
25 #ifndef __TRACKINGPOINTER_HPP__
26 #define __TRACKINGPOINTER_HPP__
27 
28 namespace mimmo{
29 
41 public:
42  TrackingPointer(){};
43  virtual ~TrackingPointer(){};
44 
48  virtual std::string whichClass() = 0;
49 };
50 
55 }
56 
57 #endif /* __TRACKINGPOINTER_HPP__ */
Basic virtual class to derive a generic object whose pointer can return an identifying name through t...
virtual std::string whichClass()=0