예제 #1
0
Object::Pointer ParameterizedCommand::ExecuteWithChecks(const Object::ConstPointer& trigger,
    const Object::Pointer& applicationContext)
{
  ExecutionEvent::Pointer excEvent(new ExecutionEvent(command,
          this->GetParameterMap(), trigger, applicationContext));
  return command->ExecuteWithChecks(excEvent);
}
예제 #2
0
Object::Pointer ParameterizedCommand::ExecuteWithChecks(const Object::ConstPointer trigger,
    const Object::ConstPointer applicationContext) throw(ExecutionException,
    NotDefinedException, NotEnabledException, NotHandledException)
{
  ExecutionEvent::Pointer excEvent(new ExecutionEvent(command,
          this->GetParameterMap(), trigger, applicationContext));
  return command->ExecuteWithChecks(excEvent);
}