NetOceanDirectLighthouse 3.1.3
OceanDirect Lighthouse .NET API
NetLighthouseDeviceInformation.h
Go to the documentation of this file.
1#pragma once
2#include "ManagedObject.h"
3
4using oceandirect::api::LHDeviceInformationAPI;
5using NetOceanDirect::ManagedObject;
6using NetOceanDirect::MemoryCleanup;
7
8namespace NetLighthouse {
9 // force the instantiation here...otherwise we get build errors
10 typedef ManagedObject<LHDeviceInformationAPI, MemoryCleanup::noDeletion> DeviceInformationBase;
11
14 protected:
16 public:
19
25 virtual void resetDevice(unsigned int deviceID, int %errorCode);
26
33 virtual array<unsigned char>^ getRevisionFirmware(unsigned int deviceID, int %errorCode);
34
41 virtual array<unsigned char>^ getRevisionFPGA(unsigned int deviceID, int %errorCode);
42
49 virtual array<unsigned char>^ getRevisionSystem(unsigned int deviceID, int% errorCode);
50
57 virtual String^ getSerialNumber(unsigned int deviceID, int %errorCode);
58
65 virtual String^ getDeviceAlias(unsigned int deviceID, int %errorCode);
66
73 virtual unsigned short getOriginalUsbVID(unsigned int deviceID, int %errorCode);
74
81 virtual unsigned short getOriginalUsbPID(unsigned int deviceID, int %errorCode);
82
89 virtual unsigned short getUsbVID(unsigned int deviceID, int %errorCode);
90
97 virtual unsigned short getUsbPID(unsigned int deviceID, int %errorCode);
98
105 virtual String^ getOriginalManufacturer(unsigned int deviceID, int %errorCode);
106
113 virtual String^ getOriginalModel(unsigned int deviceID, int %errorCode);
114
121 virtual String^ getManufacturer(unsigned int deviceID, int %errorCode);
122
129 virtual String^ getModel(unsigned int deviceID, int %errorCode);
130 protected:
132
133 };
134}
Definition NetLighthouseDeviceInformation.h:13
virtual String getOriginalManufacturer(unsigned int deviceID, int %errorCode)
Definition NetLighthouseDeviceInformation.cpp:88
virtual array< unsigned char > getRevisionSystem(unsigned int deviceID, int% errorCode)
Definition NetLighthouseDeviceInformation.cpp:41
virtual unsigned short getUsbPID(unsigned int deviceID, int %errorCode)
Definition NetLighthouseDeviceInformation.cpp:83
virtual String getSerialNumber(unsigned int deviceID, int %errorCode)
Definition NetLighthouseDeviceInformation.cpp:50
~NetLighthouseDeviceInformation()
Definition NetLighthouseDeviceInformation.h:17
virtual String getModel(unsigned int deviceID, int %errorCode)
Definition NetLighthouseDeviceInformation.cpp:115
static NetLighthouseDeviceInformation getInstance()
Definition NetLighthouseDeviceInformation.cpp:11
virtual String getOriginalModel(unsigned int deviceID, int %errorCode)
Definition NetLighthouseDeviceInformation.cpp:97
virtual unsigned short getOriginalUsbVID(unsigned int deviceID, int %errorCode)
Definition NetLighthouseDeviceInformation.cpp:68
virtual String getManufacturer(unsigned int deviceID, int %errorCode)
Definition NetLighthouseDeviceInformation.cpp:106
virtual unsigned short getUsbVID(unsigned int deviceID, int %errorCode)
Definition NetLighthouseDeviceInformation.cpp:78
NetLighthouseDeviceInformation()
Definition NetLighthouseDeviceInformation.cpp:7
virtual String getDeviceAlias(unsigned int deviceID, int %errorCode)
Definition NetLighthouseDeviceInformation.cpp:59
virtual void resetDevice(unsigned int deviceID, int %errorCode)
Definition NetLighthouseDeviceInformation.cpp:18
static NetLighthouseDeviceInformation devInfo
Definition NetLighthouseDeviceInformation.h:131
virtual array< unsigned char > getRevisionFirmware(unsigned int deviceID, int %errorCode)
Definition NetLighthouseDeviceInformation.cpp:23
virtual unsigned short getOriginalUsbPID(unsigned int deviceID, int %errorCode)
Definition NetLighthouseDeviceInformation.cpp:73
virtual array< unsigned char > getRevisionFPGA(unsigned int deviceID, int %errorCode)
Definition NetLighthouseDeviceInformation.cpp:32
Definition NetLighthouse.h:21
ManagedObject< LHDeviceInformationAPI, MemoryCleanup::noDeletion > DeviceInformationBase
Definition NetLighthouseDeviceInformation.h:10