23#if !defined SODEVICE_H
26#include <Inventor/threads/SbThreadMutex.h>
27#include <Inventor/SbString.h>
29#include <Inventor/STL/vector>
32#pragma warning( push )
33#pragma warning(disable:4251)
136 static void exitClass();
159 static void readSystemVersion(
unsigned int& majorVersion,
unsigned int& minorVersion );
174 static void registerDevice(
SoDevice* );
176 static void unRegisterDevice(
SoDevice* );
178 static void lockDevicesList();
180 static void unlockDevicesList();
184 static std::vector< SoDevice * > s_devices;
191#pragma warning( pop )
Class for smart character strings.
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Portable mutex c...
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Abstract device ...
virtual SbString getDeviceName() const =0
Returns the name of this device.
static SoDevice * find(SoDeviceFindFunction *findFunction)
Performs a generic search on the list of devices.
virtual unsigned long long getTotalMemory() const =0
Returns the total memory of this device in bytes.
static unsigned int getDevicesCount()
Returns the number of devices.
static SoDevice * getDevice(int index)
Returns the SoDevice pointed by index.
virtual unsigned long long getAvailableMemory() const =0
Returns the current available memory of this device in bytes.
bool SoDeviceFindFunction(SoDevice *device)
Find function type.
virtual unsigned int getLogicalUnits() const =0
Returns the number of logical units of this device.
virtual SbString getDriverVersion() const =0
Returns the driver version of this device.