Commands sent by the client

Top  Previous  Next

These are the backbone of the Whisker system. They are issued by the client sending the relevant formatted message to the WhiskerServer, which will respond with information about the success of the command.

 

The commands all have SDK functions of the same name. Usage of these is often simpler than using the raw message, especially when the functions are requests for information. The SDK function declarations, along with the raw messages that are actually used to carry out the functions, are outlined below, with notes on their usage.

 

All SDK Control functions are ActiveX Methods or Properties, and are called in the standard way, using the period (full stop) operator, after the SDK control's name. For example, in Visual Basic, for a Control named Whisker, the following would be possible:

 

result = Whisker.TimerSetEvent("tick",1000,-1)

Whisker.TimerSetEvent "tick", 1000, -1

Call Whisker.TimerSetEvent("tick",1000,-1)

 

For the C++ Client Library, all commands are declared in WhiskerTask.h, as public members of CWhiskerTask.