Add Ready State Function
This commit is contained in:
@@ -53,6 +53,14 @@ void StreamManager::SetEmissivity(double emissivity)
|
||||
lDeviceParams->SetFloatValue("ObjectEmissivity", emissivity);
|
||||
}
|
||||
|
||||
bool StreamManager::GetReadyState()
|
||||
{
|
||||
bool cold = false;
|
||||
if (lDeviceParams)
|
||||
lDeviceParams->GetBooleanValue("FPACold", cold);
|
||||
return cold;
|
||||
}
|
||||
|
||||
PvResult StreamManager::FindDevice()
|
||||
{
|
||||
PvResult lResult = PvResult();
|
||||
|
||||
@@ -22,6 +22,8 @@ public:
|
||||
StreamManager(QObject *parent);
|
||||
virtual ~StreamManager();
|
||||
|
||||
bool GetReadyState();
|
||||
|
||||
public slots:
|
||||
void SetEmissivity(double emissivity);
|
||||
void SendForProcessing(int width, int height, uint8_t *imgPointer);
|
||||
|
||||
Reference in New Issue
Block a user