Skip to content

Commit 56a3020

Browse files
authored
PRIVATE->private and PROTECTED->protected updates in Svc/Fprime* and Svc/Frame* (#3446) (#3660)
1 parent abc9b52 commit 56a3020

File tree

6 files changed

+12
-9
lines changed

6 files changed

+12
-9
lines changed

Svc/FprimeDeframer/FprimeDeframer.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,14 @@ class FprimeDeframer final : public FprimeDeframerComponentBase {
2727
//! Destroy FprimeDeframer object
2828
~FprimeDeframer();
2929

30-
PRIVATE:
30+
private:
3131
// ----------------------------------------------------------------------
3232
// Handler implementations for user-defined typed input ports
3333
// ----------------------------------------------------------------------
3434

3535
//! Handler implementation for frame
3636
//!
37-
//! Port to receive framed data. The handler will strip the header and trailer from the frame
37+
//! Port to receive framed data. The handler will strip the header and trailer from the frame
3838
//! and pass the deframed data to the deframed output port.
3939
void dataIn_handler(FwIndexType portNum, //!< The port number
4040
Fw::Buffer& data,

Svc/FprimeFramer/FprimeFramer.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class FprimeFramer final : public FprimeFramerComponentBase {
2424
//! Destroy FprimeFramer object
2525
~FprimeFramer();
2626

27-
PRIVATE:
27+
private:
2828
// ----------------------------------------------------------------------
2929
// Handler implementations for typed input ports
3030
// ----------------------------------------------------------------------

Svc/FprimeRouter/FprimeRouter.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class FprimeRouter final : public FprimeRouterComponentBase {
2424
//! Destroy FprimeRouter object
2525
~FprimeRouter();
2626

27-
PRIVATE:
27+
private:
2828
// ----------------------------------------------------------------------
2929
// Handler implementations for user-defined typed input ports
3030
// ----------------------------------------------------------------------

Svc/FrameAccumulator/FrameAccumulator.hpp

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@
1515
namespace Svc {
1616

1717
class FrameAccumulator final : public FrameAccumulatorComponentBase {
18+
19+
friend class FrameAccumulatorTester;
20+
1821
public:
1922
// ----------------------------------------------------------------------
2023
// Component construction and destruction
@@ -41,7 +44,7 @@ class FrameAccumulator final : public FrameAccumulatorComponentBase {
4144
void cleanup();
4245

4346

44-
PRIVATE:
47+
private:
4548
// ----------------------------------------------------------------------
4649
// Handler implementations for user-defined typed input ports
4750
// ----------------------------------------------------------------------
@@ -58,10 +61,10 @@ class FrameAccumulator final : public FrameAccumulatorComponentBase {
5861
//! Port receiving ownership back of buffers sent on dataOut
5962
void dataReturnIn_handler(FwIndexType portNum, //!< The port number
6063
Fw::Buffer& fwBuffer, //!< The buffer
61-
const ComCfg::FrameContext& context //!< The context object
64+
const ComCfg::FrameContext& context //!< The context object
6265
) override;
6366

64-
PRIVATE:
67+
private:
6568
//! \brief process raw buffer
6669
//! \return raw data buffer
6770
void processBuffer(Fw::Buffer& buffer);

Svc/FramingProtocol/DeframingProtocol.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ class DeframingProtocol {
5959
U32& needed /*!< Return needed number of bytes */
6060
) = 0;
6161

62-
PROTECTED:
62+
protected:
6363
DeframingProtocolInterface* m_interface;
6464
};
6565
}

Svc/FramingProtocol/FramingProtocol.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ class FramingProtocol {
4545
//! \param packet_type: type of data supplied for File downlink packets
4646
virtual void frame(const U8* const data, const U32 size, Fw::ComPacket::ComPacketType packet_type) = 0;
4747

48-
PROTECTED:
48+
protected:
4949
FramingProtocolInterface* m_interface;
5050
};
5151
}

0 commit comments

Comments
 (0)