-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Only print replay results at the full end of the replay command
- Loading branch information
Showing
20 changed files
with
1,021 additions
and
557 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
#pragma once | ||
|
||
#include <span> | ||
|
||
#include "coincentercommand.hpp" | ||
#include "queryresultprinter.hpp" | ||
#include "transferablecommandresult.hpp" | ||
|
||
namespace cct { | ||
|
||
class Coincenter; | ||
class CoincenterInfo; | ||
class CoincenterCommands; | ||
|
||
class CoincenterCommandsProcessor { | ||
public: | ||
explicit CoincenterCommandsProcessor(Coincenter &coincenter); | ||
|
||
/// Launch given commands and return the number of processed commands. | ||
int process(const CoincenterCommands &coincenterCommands); | ||
|
||
private: | ||
TransferableCommandResultVector processGroupedCommands( | ||
std::span<const CoincenterCommand> groupedCommands, | ||
std::span<const TransferableCommandResult> previousTransferableResults); | ||
|
||
Coincenter &_coincenter; | ||
QueryResultPrinter _queryResultPrinter; | ||
}; | ||
} // namespace cct |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.