C_CPP/10_PITF/doubleDelete/LifeCycleProbe.hpp
2018-03-09 09:47:53 +01:00

24 lines
411 B
C++

// LifeCycleProbe.hpp
// DoubleDelete
#ifndef LifeCycleProbe_hpp
#define LifeCycleProbe_hpp
//#define HAS_RESOURCE_POINTER
class LifeCycleProbe {
int id;
#ifdef HAS_RESOURCE_POINTER
int *resource;
#endif
public:
LifeCycleProbe();
LifeCycleProbe(int id);
LifeCycleProbe(const LifeCycleProbe&);
LifeCycleProbe& operator=(const LifeCycleProbe&);
~LifeCycleProbe();
void printID();
};
#endif