OnCommand() is called each time a command is received by the application. Most often, commands will come up from the Skin from controls. Each time a button is clicked or a knob turned, for example. The commands are a class, primarily containing a command string that the application should check to see if it supports. If so, the command should be performed.
App level commands Reimplemented in GASPilot. Definition at line 465 of file CATApp.cpp. References CAT_SUCCESS, CATFAILED, CATString::Compare(), DisplayError(), CATCommand::GetCmdString(), and OnHelp(). Referenced by GASPilot::OnCommand(), and CATSkin::OnCommand().
|