APIs, concepts, guides, and more

◆ Cleanup()

static void Cleanup ( MotionController * controller)
static
static void Cleanup(MotionController* controller)
{
// Restore the object counts to the original values
if (initialAxisCount != -1) { controller->AxisCountSet(initialAxisCount); }
// Reset the object counts
}
Examples
AxisConfiguration.cpp, CalculateAccelerationFromVelocity.cpp, DifferenceOfPositionUserLimit.cpp, PhantomAxis.cpp, PointToPoint.cpp, and SampleAppsHelper.h.

Definition at line 393 of file SampleAppsHelper.h.