3#include <NDEVR/PhysicalCameraView.h>
4#include <NDEVR/String.h>
5#include <NDEVR/Resource.h>
A thread that executes a user-provided callback function concurrently.
Provides a modifiable pointer that has shared ownership of a dynamically allocated object.
Logic for reading or writing to a file as well as navigating filesystems or other common file operati...
virtual ConstPointer< Camera > camera() const override
Returns a read-only pointer to the Camera.
PhysicalCameraView()
Default constructor for subclass use only.
The core String View class for the NDEVR API.
The core String class for the NDEVR API.
A TcpServer allows the software to receive socket connections from external sources.
void createVNCInstance()
Creates and initializes the VNC client connection.
virtual ToolButtonSettings defaultButtonSettings() const override
Returns the default toolbar button visibility settings for this camera type.
virtual void setPassword(const StringView &password)
Sets the VNC authentication password.
BasicThread * m_start_thread
Thread for asynchronous VNC connection startup.
QPointer< QWidget > settingsWidget() override
Returns the settings widget for this camera view.
virtual void setResizeTcpServer(TcpServer *server, fltp08 size_multiplier)
Associates a TCP server for dynamic window resizing over the VNC connection.
virtual void showToolRibbon(bool show_ribbon) override
Shows or hides the tool ribbon overlay.
VncCameraView(DynamicPointer< Camera > &camera, QWidget *parent=nullptr)
Constructs a VNC camera view for the given camera.
void cleanup() override
Performs cleanup of camera resources before destruction.
virtual void refreshInstance() override
Refreshes the camera instance, reconnecting if needed.
virtual bool setCameraSource(const StringView &connection_id) override
Sets the camera source by connection string or identifier.
virtual void invertScreenColors(bool) override
Inverts the screen colors for the camera display.
virtual bool takeImage(const File &) override
Captures a single image and saves it to the specified file.
VncCameraView()
Default constructor.
The primary namespace for the NDEVR SDK.
double fltp08
Defines an alias representing an 8 byte floating-point number.