Table of Contents

SteerParameterCommand

Description

The SteerParameterCommand gives you the opportunity to enable a simulation for parameter steering. The command is provided by the Steereo library and automatically loaded into the command map. You can see it in “action” in the Howto.

Use in the simulation

In the simulation the only thing to do is to register the parameters, you want to be steerable with on of these static functions (T and TC are template parameters, of which you shouldn't have to take care). For each scalar and array you can either register the parameter with a pointer or getter and setter methods.

Parameters

How does the client request parameters

The easiest would be to use the SteerParameterClient, which helps you making requests and handling the responses. But you can use the usual makeRequest:

ClientSteering clientSteer;
clientSteer->addAction("steerParameter", &processParameter);
clientSteer->makeRequest ("steerParameter", requestString);
//or 
clientSteer->makeRequest ("steerParameter", requestString, additionalData);

The requestString can be: