Skip to content

Commit 56d2fea

Browse files
committed
Formatting
1 parent cf23880 commit 56d2fea

6 files changed

Lines changed: 29 additions & 21 deletions

File tree

Svc/CmdSequencer/CmdSequencerImpl.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,9 @@ void CmdSequencerComponentImpl::doSequenceRun(const Fw::StringBase& filename) {
176176
this->log_ACTIVITY_HI_CS_PortSequenceStarted(this->m_sequence->getLogFileName());
177177
}
178178

179-
void CmdSequencerComponentImpl::seqRunIn_handler(FwIndexType portNum, const Fw::StringBase& filename, const Svc::SeqArgs& args) {
179+
void CmdSequencerComponentImpl::seqRunIn_handler(FwIndexType portNum,
180+
const Fw::StringBase& filename,
181+
const Svc::SeqArgs& args) {
180182
(void)args; // Suppress unused parameter warning
181183
this->doSequenceRun(filename);
182184
}

Svc/CmdSequencer/CmdSequencerImpl.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -519,9 +519,9 @@ class CmdSequencerComponentImpl final : public CmdSequencerComponentBase {
519519
) override;
520520

521521
//! Handler for input port seqRunIn
522-
void seqRunIn_handler(FwIndexType portNum, //!< The port number
523-
const Fw::StringBase& filename, //!< The sequence file
524-
const Svc::SeqArgs& args //!< Sequence arguments (not currently used)
522+
void seqRunIn_handler(FwIndexType portNum, //!< The port number
523+
const Fw::StringBase& filename, //!< The sequence file
524+
const Svc::SeqArgs& args //!< Sequence arguments (not currently used)
525525
) override;
526526

527527
//! Handler implementation for seqDispatchIn

Svc/SeqDispatcher/SeqDispatcher.cpp

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,10 @@ FwIndexType SeqDispatcher::getNextAvailableSequencerIdx() {
2626
return -1;
2727
}
2828

29-
void SeqDispatcher::runSequence(FwIndexType sequencerIdx, const Fw::ConstStringBase& fileName, Fw::Wait block, const Svc::SeqArgs& args) {
29+
void SeqDispatcher::runSequence(FwIndexType sequencerIdx,
30+
const Fw::ConstStringBase& fileName,
31+
Fw::Wait block,
32+
const Svc::SeqArgs& args) {
3033
// this function is only designed for internal usage
3134
// we can guarantee it cannot be called with input that would fail
3235
FW_ASSERT(sequencerIdx >= 0 && sequencerIdx < SeqDispatcherSequencerPorts,
@@ -50,9 +53,9 @@ void SeqDispatcher::runSequence(FwIndexType sequencerIdx, const Fw::ConstStringB
5053
this->seqRunOut_out(sequencerIdx, this->m_entryTable[sequencerIdx].sequenceRunning, args);
5154
}
5255

53-
void SeqDispatcher::seqStartIn_handler(FwIndexType portNum, //!< The port number
54-
const Fw::StringBase& fileName, //!< The sequence file name
55-
const Svc::SeqArgs& args //!< Sequence arguments (not currently used)
56+
void SeqDispatcher::seqStartIn_handler(FwIndexType portNum, //!< The port number
57+
const Fw::StringBase& fileName, //!< The sequence file name
58+
const Svc::SeqArgs& args //!< Sequence arguments (not currently used)
5659
) {
5760
(void)args; // Suppress unused parameter warning
5861
FW_ASSERT(portNum >= 0 && portNum < SeqDispatcherSequencerPorts, static_cast<FwAssertArgType>(portNum));

Svc/SeqDispatcher/SeqDispatcher.hpp

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -39,15 +39,15 @@ class SeqDispatcher final : public SeqDispatcherComponentBase {
3939
);
4040

4141
//! Handler for input port seqStartIn
42-
void seqStartIn_handler(FwIndexType portNum, //!< The port number
43-
const Fw::StringBase& fileName, //!< The sequence file
44-
const Svc::SeqArgs& args //!< Optional sequence arguments
42+
void seqStartIn_handler(FwIndexType portNum, //!< The port number
43+
const Fw::StringBase& fileName, //!< The sequence file
44+
const Svc::SeqArgs& args //!< Optional sequence arguments
4545
);
4646

4747
//! Handler for input port seqRunIn
48-
void seqRunIn_handler(FwIndexType portNum, //!< The port number
49-
const Fw::StringBase& fileName, //!< The sequence file
50-
const Svc::SeqArgs& args //!< Optional sequence arguments
48+
void seqRunIn_handler(FwIndexType portNum, //!< The port number
49+
const Fw::StringBase& fileName, //!< The sequence file
50+
const Svc::SeqArgs& args //!< Optional sequence arguments
5151
);
5252

5353
private:
@@ -70,7 +70,10 @@ class SeqDispatcher final : public SeqDispatcherComponentBase {
7070

7171
FwIndexType getNextAvailableSequencerIdx();
7272

73-
void runSequence(FwIndexType sequencerIdx, const Fw::ConstStringBase& fileName, Fw::Wait block, const Svc::SeqArgs& args);
73+
void runSequence(FwIndexType sequencerIdx,
74+
const Fw::ConstStringBase& fileName,
75+
Fw::Wait block,
76+
const Svc::SeqArgs& args);
7477

7578
// ----------------------------------------------------------------------
7679
// Command handler implementations

Svc/SeqDispatcher/test/ut/SeqDispatcherTester.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,9 @@ void SeqDispatcherTester::testLogStatus() {
8585
ASSERT_CMD_RESPONSE(0, SeqDispatcher::OPCODE_LOG_STATUS, 0, Fw::CmdResponse::OK);
8686
}
8787

88-
void SeqDispatcherTester::seqRunOut_handler(FwIndexType portNum, //!< The port number
89-
const Fw::StringBase& filename, //!< The sequence file
90-
const Svc::SeqArgs& args //!< Sequence arguments
88+
void SeqDispatcherTester::seqRunOut_handler(FwIndexType portNum, //!< The port number
89+
const Fw::StringBase& filename, //!< The sequence file
90+
const Svc::SeqArgs& args //!< Sequence arguments
9191
) {
9292
this->pushFromPortEntry_seqRunOut(filename, args);
9393
}

Svc/SeqDispatcher/test/ut/SeqDispatcherTester.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,9 @@ class SeqDispatcherTester : public SeqDispatcherGTestBase {
5050
// Handlers for typed from ports
5151
// ----------------------------------------------------------------------
5252

53-
void seqRunOut_handler(FwIndexType portNum, //!< The port number
54-
const Fw::StringBase& filename, //!< The sequence file
55-
const Svc::SeqArgs& args //!< Sequence arguments
53+
void seqRunOut_handler(FwIndexType portNum, //!< The port number
54+
const Fw::StringBase& filename, //!< The sequence file
55+
const Svc::SeqArgs& args //!< Sequence arguments
5656
);
5757

5858
private:

0 commit comments

Comments
 (0)