23#if !defined SODEVICE_H
29#include <Inventor/STL/vector>
32#pragma warning( push )
33#pragma warning(disable:4251)
132 static void exitClass();
155 static void readSystemVersion(
unsigned int& majorVersion,
unsigned int& minorVersion );
170 static void registerDevice(
SoDevice* );
172 static void unRegisterDevice(
SoDevice* );
174 static void lockDevicesList();
176 static void unlockDevicesList();
180 static std::vector< SoDevice * > s_devices;
187#pragma warning( pop )
bool SoDeviceFindFunction(SoDevice *device)
Find function type.
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.
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.