NDEVR
API Documentation
OptechScannerFactory.h
1#pragma once
2#define OPTECH_SCANNER 1
3#include "Hardware/Headers/ScannerFactory.h"
4#include "Hardware/Headers/Connection.h"
5namespace NDEVR
6{
7 class ProgressInfo;
8#if OPTECH_SCANNER
13 {
14 public:
21 OptechScannerConnection(const String& connection, const Model& model, ProgressInfo* raw_network_log = nullptr, ProgressInfo* log = nullptr, QObject* parent = nullptr);
22 };
23
26 class OptechScannerFactory : public ScannerFactory
27 {
28 protected:
31 virtual ~OptechScannerFactory();
32 public:
34 static void SetupDefault();
35 virtual Buffer<Connection*> defaultIPAddresses(const HardwareSearchPathParameters& params) const override;
36 virtual Scanner3D* connectToScanner(Connection* connection_to_try, DesignObjectLookup* lookup, ProgressInfo* log) const override;
37
38 };
39#endif
40}
The equivelent of std::vector but with a bit more control.
Definition Buffer.hpp:58
A standard interface for all types of connections that allow transmitting and receiving of data betwe...
Definition Connection.h:316
Connection(const Model &model, LogPtr raw_network_log=nullptr, LogPtr command_log=nullptr, QObject *parent=nullptr)
Constructs a Connection with the given model and optional logs.
A core class where all Design Objects including models, materials, and geometries are stored.
A core class that represents a node on model hierarchy.
Definition Model.h:292
OptechScannerConnection(const String &connection, const Model &model, ProgressInfo *raw_network_log=nullptr, ProgressInfo *log=nullptr, QObject *parent=nullptr)
Constructs the Optech scanner connection.
static void SetupDefault()
Registers the default Optech scanner factory singleton.
OptechScannerFactory()
Constructs the factory.
Used with InfoPipe to signal that the system will be using progress.
The core String class for the NDEVR API.
Definition String.h:95
The primary namespace for the NDEVR SDK.
A series of paths to use for finding potential hardware connections.