Ignore:
Timestamp:
Sep 17, 2014, 10:34:02 PM (11 years ago)
Author:
Frederik Heber <heber@…>
Children:
67a9d5
Parents:
365a44
git-author:
Frederik Heber <heber@…> (05/22/14 16:19:40)
git-committer:
Frederik Heber <heber@…> (09/17/14 22:34:02)
Message:

SystemCommandJob now allows for resetting the command in derived classes.

  • command is just protected.
  • MPQCCommandJob::resetCommand() allows overwrite to MPQCCommandFragmentController.
  • MPQCCommandFragmentController::addJobsFromQueue() allows setting of new command.
  • FragmentationAutomationAction::performCalls() sets params.executable.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Fragmentation/Automation/MPQCCommandFragmentController.cpp

    r365a44 r019b96  
    6060
    6161bool MPQCCommandFragmentController::addJobsFromQueue(
     62    const std::string _command,
    6263    const MPQCData::DoLongrange_t _DoLongrange,
    6364    const MPQCData::DoValenceOnly_t _DoValenceOnly,
     
    7172      ++jobiter) {
    7273    MPQCCommandJob *job = boost::polymorphic_downcast<MPQCCommandJob *>(jobiter->get());
     74    job->resetCommand(_command);
    7375//    job->DoLongrange = _DoLongrange;
    7476//    job->DoValenceOnly = _DoValenceOnly;
Note: See TracChangeset for help on using the changeset viewer.