Add getTemperature method
This commit is contained in:
parent
5071da304b
commit
7af2622012
|
@ -40,7 +40,7 @@ public:
|
|||
class Description
|
||||
{
|
||||
private:
|
||||
size_t hash = 0;
|
||||
uint64_t hash = 0;
|
||||
std::string vendor_;
|
||||
std::string serial_;
|
||||
std::string model_;
|
||||
|
@ -53,7 +53,7 @@ public:
|
|||
hash = std::hash<std::string>{}(vendor_ + serial_ + model_);
|
||||
}
|
||||
|
||||
size_t getId() const
|
||||
uint64_t getId() const
|
||||
{
|
||||
return hash;
|
||||
}
|
||||
|
@ -172,6 +172,7 @@ public:
|
|||
bool startAcquisition();
|
||||
bool stopAcquisition();
|
||||
bool setMtu(int mtu);
|
||||
bool getTemperature(double& temperature);
|
||||
void getSize(unsigned int* x, unsigned int* y);
|
||||
void setBayerMode(Camera::BayerMode mode);
|
||||
Camera::BayerMode getBayerMode();
|
||||
|
|
Loading…
Reference in a new issue