//--------------------------------------------------------------------------
/// Handle interaction with a CommandVisitor object. The Command visitor is
/// recursing the command tree making copies of all the available commands.
/// \param rVisitor Implements a handler for this CommandProcessor
//--------------------------------------------------------------------------
void CommandProcessor::Accept(CommandVisitor& rVisitor)
{
    rVisitor.VisitCommandProcessor(this);
}