API Documentation
Loading...
Searching...
No Matches
VncCameraView.h
Go to the documentation of this file.
1#pragma once
2#include "DLLInfo.h"
6#include "Base/Headers/File.h"
7namespace NDEVR
8{
9 class BasicThread;
10 class VncClientWidget;
11 class TcpServer;
12 class VNC_INTERFACE_API VncCameraView : public PhysicalCameraView
13 {
14 Q_OBJECT
15 public:
17 VncCameraView(DynamicPointer<Camera>& camera, QWidget* parent = nullptr);
18 virtual ~VncCameraView();
19 virtual bool setCameraSource(const String& connection_id) override;
20 virtual void refreshInstance() override;
21 virtual void setPassword(const String& password);
22 virtual void setResizeTcpServer(TcpServer* server, fltp08 size_multiplier);
23 void cleanup() override;
24 protected:
25 virtual void showToolRibbon(bool show_ribbon) override;
26 virtual bool takeImage(const File&) override { return false; };
27 virtual void invertScreenColors(bool) override {};
29 virtual ToolButtonSettings defaultButtonSettings() const override;
30 QPointer<QWidget> settingsWidget() override;
31 private:
32 VncClientWidget* m_client_widget;
33 String m_password;
34 public:
36 };
37}
#define VNC_INTERFACE_API
Definition DLLInfo.h:78
A class that allows user to use a function inline to execute something.
Definition BasicThread.h:45
Provides a modifiable pointer that has shared ownership of a dynamically allocated object.
Definition Pointer.hpp:319
Logic for reading or writing to a file as well as navigating filesystems.
Definition File.h:48
The core String class for the software.
Definition String.h:47
Definition TcpServer.h:14
Definition VncCameraView.h:13
virtual void setPassword(const String &password)
virtual ~VncCameraView()
VncCameraView(DynamicPointer< Camera > &camera, QWidget *parent=nullptr)
virtual void setResizeTcpServer(TcpServer *server, fltp08 size_multiplier)
virtual void refreshInstance() override
void cleanup() override
virtual void invertScreenColors(bool) override
Definition VncCameraView.h:27
virtual void showToolRibbon(bool show_ribbon) override
virtual bool setCameraSource(const String &connection_id) override
virtual ToolButtonSettings defaultButtonSettings() const override
virtual bool takeImage(const File &) override
Definition VncCameraView.h:26
BasicThread * m_start_thread
Definition VncCameraView.h:35
QPointer< QWidget > settingsWidget() override
Definition VncClientWidget.h:94
Definition ACIColor.h:37
double fltp08
Defines an alias representing an 8 byte floating-point number.
Definition BaseValues.hpp:146