Files
2020-05-05 23:30:52 +08:00

29 lines
480 B
C++

#pragma once
#include "Camera.h"
#include "CameraPointGrey.h"
#include "ProjectorLC4500.h"
class Device
{
public:
static Device* instance;
static Device* getInstance();
Camera* getCamera();
Projector* getProjector();
bool getHasCamera();
bool getHasProjector();
private:
Device();
Camera *camera;
Projector *projector;
// variable indicate whether the camera and projector
// have been initialized or not
bool hasCamera = false;
bool hasProjector = false;
};