This repository has been archived on 2021-11-03. You can view files and clone it, but cannot push or open issues or pull requests.
2019-11-14 22:12:20 +01:00
|
|
|
#include <iostream>
|
|
|
|
#ifndef HOUSING_HH
|
|
|
|
#define HOUSING_HH
|
|
|
|
|
|
|
|
#include "Chassis.hh"
|
|
|
|
#include "Shell.hh"
|
|
|
|
|
|
|
|
class Housing {
|
|
|
|
public:
|
|
|
|
|
|
|
|
Housing() { std::cout << "Housing Constructor " << this << std::endl ; }
|
2020-07-01 14:34:41 +02:00
|
|
|
Housing(const Housing& h) :
|
|
|
|
chassis( h.chassis ),
|
|
|
|
shell( h.shell )
|
|
|
|
{
|
|
|
|
std::cout << "Housing Copy Constructor " << this << std::endl ;
|
|
|
|
}
|
2019-11-14 22:12:20 +01:00
|
|
|
~Housing() { std::cout << "Housing Destructor " << this << std::endl ; }
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
|
|
|
Chassis chassis ;
|
|
|
|
Shell shell ;
|
|
|
|
|
|
|
|
} ;
|
|
|
|
|
|
|
|
#endif
|