|
ReplicaNet and RNLobby
1
|
#include <PlatformInfo.h>
Static Public Member Functions | |
| static bool | IsThreaded (void) |
| static bool | IsLittleEndian (void) |
| static void | SetThreaded (const bool allow) |
| static void | SetProcessorReplicaNet (const int processor=kReplicaNetPreferredProcessorOSChoice) |
| static int | GetProcessorReplicaNet (void) |
| static void | SetProcessorXPSession (const int processor=kReplicaNetPreferredProcessorOSChoice) |
| static int | GetProcessorXPSession (void) |
| static void | SetProcessorXPURL (const int processor=kReplicaNetPreferredProcessorOSChoice) |
| static int | GetProcessorXPURL (void) |
| static int | GetNumberOfCores (void) |
A class designed to read various platform specific attributes
|
static |
Gets the number of CPU cores.
|
static |
Tests for endianness of the machine
|
static |
Supplies information on if the library is compiled with threading on or off.
|
static |
Sets the preferred processor for the ReplicaNet thread. See Thread::SetPreferredProcessor() for more information. This must be called before any ReplicaNet class is allocated. This configuration information is remembered for the lifetime of the application.
|
static |
Sets the preferred processor for the XPSession thread. See Thread::SetPreferredProcessor() for more information. This must be called before any ReplicaNet class is allocated. This configuration information is remembered for the lifetime of the application.
|
static |
Sets the preferred processor for the XPURL thread. See Thread::SetPreferredProcessor() for more information. This must be called before any ReplicaNet class is allocated. This configuration information is remembered for the lifetime of the application.
|
static |
Sets if threads are allowed on this system. Allowing threads with single threaded libraries may result in unexpected results.
| allow | true means allow threads, false does not allow threads |
1.8.6