// @topic T51004 Miscellaneous small samples developed in class // @brief 10/04/2012 -- creating/deleting objects -- Sensor and Gate implementation #include "sensor_and_gate.h" using namespace std; Sensor::Sensor() { cout << "Sensor created\n"; } Sensor::~Sensor() { cout << "Sensor destroyed\n"; } Gate::Gate() { cout << "Gate created\n"; } Gate::~Gate() { cout << "Gate destroyed\n"; }