#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 bool IsThreaded | ( | void | ) | [static] |
Supplies information on if the library is compiled with threading on or off.
| static bool IsLittleEndian | ( | void | ) | [static] |
Tests for endianness of the machine
| static void SetThreaded | ( | const bool | allow | ) | [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 |
| static void SetProcessorReplicaNet | ( | const int | processor = kReplicaNetPreferredProcessorOSChoice |
) | [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 void SetProcessorXPSession | ( | const int | processor = kReplicaNetPreferredProcessorOSChoice |
) | [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 void SetProcessorXPURL | ( | const int | processor = kReplicaNetPreferredProcessorOSChoice |
) | [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.
1.5.3