#include <iostream>
using namespace std;
	
#include "ubloxGPS.hpp"
#include "BuoyancyEngine.hpp"

//class GPS1 : public uBloxGPS
//{
//public:
//	static GPS1& getInstance()
//	{
//		static GPS1 instance;
//		return instance;
//	}
//	
//private:
//	GPS1() : uBloxGPS{ "GPS1" } 
//	{}
//};
class GPS1 : public ubloxGPS
{
public:
	static GPS1& getInstance()
	{
		static GPS1 instance;
		return instance;
	}
	
private:
	GPS1() : ubloxGPS{ "GPS1" } 
	{}
};

class BEngine1 : public BuoyancyEngine
{
public:
	static  BEngine1& getInstance()
	{
		static BEngine1 instance;
		return instance;
	}
private:
	BEngine1() : BuoyancyEngine {}
	{}
};