35 #include "camera_definitions.h" 36 #include "sdk_exports.h" 37 #include "status_definitions.h" 46 class DepthSensorInterface;
47 class StorageInterface;
48 class TemperatureSensorInterface;
59 virtual ~
Camera() =
default;
66 virtual Status initialize() = 0;
73 virtual Status start() = 0;
89 virtual Status setMode(
const std::string &mode,
90 const std::string &modeFilename = {}) = 0;
98 getAvailableModes(std::vector<std::string> &availableModes)
const = 0;
105 virtual Status setFrameType(
const std::string &frameType) = 0;
112 virtual Status getAvailableFrameTypes(
113 std::vector<std::string> &availableFrameTypes)
const = 0;
141 getAvailableControls(std::vector<std::string> &controls)
const = 0;
149 virtual Status setControl(
const std::string &control,
150 const std::string &value) = 0;
158 virtual Status getControl(
const std::string &control,
159 std::string &value)
const = 0;
167 virtual Status getImageSensors(
168 std::vector<std::shared_ptr<DepthSensorInterface>> &sensors) = 0;
177 getEeproms(std::vector<std::shared_ptr<StorageInterface>> &eeproms) = 0;
185 virtual Status getTemperatureSensors(
186 std::vector<std::shared_ptr<TemperatureSensorInterface>> &sensors) = 0;
Manipulates the underlying camera system.
std::function< void(Status, Frame *)> FrameUpdateCallback
Callback for frame updates.
Status
Status of any operation that the TOF sdk performs.
Describes the properties of a camera.