APIs, concepts, guides, and more

◆ ProcessorTypeGet()

RSIProcessorType ProcessorTypeGet ( )
Description:
This returns the type of the controller's processor, XMP or ZMP.
Returns
(RSIProcessorType) A value to represent a XMP or ZMP controller type.
Sample Code:
Get the processor type and report its Type.
// -- C++ -- //
RSIProcessorType processorType = controller->ProcessorTypeGet();
printf("ProcessorTypeGet identifies the controller as a %s.\n", processorType == RSIProcessorType::RSIProcessorTypeXMP ? "RSIProcessorType::RSIProcessorTypeXMP" : "RSIProcessorType::RSIProcessorTypeZMP");
RSIProcessorType ProcessorTypeGet()
Get the processor type.
RSIProcessorType
Controller's processor type.
Definition rsienums.h:294
// -- C# -- //
Console.Writeline("ProcessorTypeGet identifies the controller as a {0}", ((RSIProcessorType)controller.ProcessorTypeGet()).ToString());
See also
RSIProcessorType