Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Svc/ActiveLogger/ActiveLoggerImpl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ namespace Svc {
public:
ActiveLoggerImpl(const char* compName); //!< constructor
virtual ~ActiveLoggerImpl(); //!< destructor
PROTECTED:
PRIVATE:
protected:
private:
void LogRecv_handler(FwIndexType portNum, FwEventIdType id, Fw::Time &timeTag, const Fw::LogSeverity& severity, Fw::LogBuffer &args);
void loqQueue_internalInterfaceHandler(FwEventIdType id, const Fw::Time &timeTag, const Fw::LogSeverity& severity, const Fw::LogBuffer &args);

Expand Down
5 changes: 4 additions & 1 deletion Svc/ActiveRateGroup/ActiveRateGroup.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ namespace Svc {
//!

class ActiveRateGroup final : public ActiveRateGroupComponentBase {

friend class ActiveRateGroupImplTester;

public:
static constexpr FwIndexType CONNECTION_COUNT_MAX = NUM_RATEGROUPMEMBEROUT_OUTPUT_PORTS;

Expand Down Expand Up @@ -58,7 +61,7 @@ namespace Svc {

~ActiveRateGroup();

PRIVATE:
private:

//! \brief Input cycle port handler
//!
Expand Down
4 changes: 3 additions & 1 deletion Svc/ActiveTextLogger/ActiveTextLogger.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ namespace Svc {

class ActiveTextLogger final : public ActiveTextLoggerComponentBase {

friend class ActiveTextLoggerTester;

public:

//! \brief Component constructor
Expand Down Expand Up @@ -52,7 +54,7 @@ namespace Svc {
bool set_log_file(const char* fileName, const U32 maxSize, const U32 maxBackups = 10);


PRIVATE:
private:

// ----------------------------------------------------------------------
// Prohibit Copying
Expand Down
4 changes: 3 additions & 1 deletion Svc/BufferManager/BufferManagerComponentImpl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ namespace Svc
class BufferManagerComponentImpl final : public BufferManagerComponentBase
{

friend class BufferManagerTester;

public:

// ----------------------------------------------------------------------
Expand Down Expand Up @@ -98,7 +100,7 @@ namespace Svc
//!
~BufferManagerComponentImpl();

PRIVATE :
private :

// ----------------------------------------------------------------------
// Handler implementations for user-defined typed input ports
Expand Down
2 changes: 1 addition & 1 deletion Svc/ChronoTime/ChronoTime.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class ChronoTime final : public ChronoTimeComponentBase {
//! Destroy ChronoTime object
~ChronoTime();

PRIVATE:
private:
// ----------------------------------------------------------------------
// Handler implementations for user-defined typed input ports
// ----------------------------------------------------------------------
Expand Down
7 changes: 5 additions & 2 deletions Svc/CmdDispatcher/CommandDispatcherImpl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ namespace Svc {
//! as the port that submitted the command, the command status will be returned.

class CommandDispatcherImpl final : public CommandDispatcherComponentBase {

friend class CommandDispatcherImplTester;

public:
//! \brief Command Dispatcher constructor
//!
Expand All @@ -43,8 +46,8 @@ namespace Svc {
//!
//! The destructor for this component is empty
virtual ~CommandDispatcherImpl();
PROTECTED:
PRIVATE:
protected:
private:
//! \brief component command status handler
//!
//! The command status handler is called when a component
Expand Down
2 changes: 1 addition & 1 deletion Svc/CmdSplitter/CmdSplitter.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class CmdSplitter final : public CmdSplitterComponentBase {
//!
void configure(const FwOpcodeType remoteBaseOpcode /*!< Base remote opcode*/);

PRIVATE:
private:

// ----------------------------------------------------------------------
// Handler implementations for user-defined typed input ports
Expand Down
4 changes: 2 additions & 2 deletions Svc/ComQueue/ComQueue.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -187,15 +187,15 @@ class ComQueue final : public ComQueueComponentBase {
//! Send a chosen Fw::Buffer
//!
void sendBuffer(Fw::Buffer& buffer, //!< Reference to buffer to send
FwIndexType queueIndex //!< Index of the queue emitting the message
FwIndexType queueIndex //!< Index of the queue emitting the message
);

//! Process the queues to select the next priority message
//!
void processQueue();


PRIVATE:
private:
// ----------------------------------------------------------------------
// Member variables
// ----------------------------------------------------------------------
Expand Down
8 changes: 4 additions & 4 deletions Svc/DpManager/DpManager.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ class DpManager final : public DpManagerComponentBase {
//! Destroy the DpManager
~DpManager();

PRIVATE:
private:
// ----------------------------------------------------------------------
// Handler implementations for user-defined typed input ports
// ----------------------------------------------------------------------
Expand Down Expand Up @@ -86,7 +86,7 @@ class DpManager final : public DpManagerComponentBase {
U32 context //!< The call order
) final;

PRIVATE:
private:
// ----------------------------------------------------------------------
// Handler implementations for commands
// ----------------------------------------------------------------------
Expand All @@ -98,7 +98,7 @@ class DpManager final : public DpManagerComponentBase {
U32 cmdSeq //!< The command sequence number
) override;

PRIVATE:
private:
// ----------------------------------------------------------------------
// Private helper functions
// ----------------------------------------------------------------------
Expand All @@ -111,7 +111,7 @@ class DpManager final : public DpManagerComponentBase {
Fw::Buffer& buffer //!< The buffer (output)
);

PRIVATE:
private:
// ----------------------------------------------------------------------
// Private member variables
// ----------------------------------------------------------------------
Expand Down
11 changes: 7 additions & 4 deletions Svc/DpWriter/DpWriter.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
namespace Svc {

class DpWriter final : public DpWriterComponentBase {

friend class DpWriterTester;

public:
// ----------------------------------------------------------------------
// Construction, initialization, and destruction
Expand All @@ -36,7 +39,7 @@ class DpWriter final : public DpWriterComponentBase {
void configure(const Fw::StringBase& dpFileNamePrefix //!< The file name prefix for writing DP files
);

PRIVATE:
private:
// ----------------------------------------------------------------------
// Handler implementations for user-defined typed input ports
// ----------------------------------------------------------------------
Expand All @@ -53,7 +56,7 @@ class DpWriter final : public DpWriterComponentBase {
U32 context //!< The call order
) final;

PRIVATE:
private:
// ----------------------------------------------------------------------
// Handler implementations for commands
// ----------------------------------------------------------------------
Expand All @@ -65,7 +68,7 @@ class DpWriter final : public DpWriterComponentBase {
U32 cmdSeq //!< The command sequence number
) final;

PRIVATE:
private:
// ----------------------------------------------------------------------
// Private helper functions
// ----------------------------------------------------------------------
Expand Down Expand Up @@ -93,7 +96,7 @@ class DpWriter final : public DpWriterComponentBase {
FwSizeType packetSize //!< The packet size
);

PRIVATE:
private:
// ----------------------------------------------------------------------
// Private member variables
// ----------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion Svc/FatalHandler/FatalHandlerComponentImpl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ namespace Svc {
//!
~FatalHandlerComponentImpl();

PRIVATE:
private:

// ----------------------------------------------------------------------
// Handler implementations for user-defined typed input ports
Expand Down
2 changes: 1 addition & 1 deletion Svc/GenericHub/GenericHubComponentImpl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class GenericHubComponentImpl final : public GenericHubComponentBase {
//!
~GenericHubComponentImpl();

PRIVATE:
private:
// ----------------------------------------------------------------------
// Handler implementations for user-defined typed input ports
// ----------------------------------------------------------------------
Expand Down
6 changes: 4 additions & 2 deletions Svc/Health/HealthComponentImpl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ namespace Svc {

class HealthImpl final : public HealthComponentBase {

friend class HealthTester;

public:
//! \brief struct for ping entry
//!
Expand Down Expand Up @@ -77,14 +79,14 @@ namespace Svc {
//! The destructor for HealthImpl is empty
~HealthImpl();

PROTECTED:
protected:

//! \brief additional checks function
//!
//! Does additional checks based on the platform
virtual void doOtherChecks();

PRIVATE:
private:

//! \brief ping return handler
//!
Expand Down
2 changes: 1 addition & 1 deletion Svc/LinuxTimer/LinuxTimerComponentImpl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ namespace Svc {
//! Quit timer
void quit();

PRIVATE:
private:

Os::Mutex m_mutex; //!< mutex for quit flag

Expand Down
4 changes: 2 additions & 2 deletions Svc/OsTime/OsTime.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class OsTime final : public OsTimeComponentBase {
//! future Os::RawTime readings
void set_epoch(const Fw::Time& fw_time, const Os::RawTime& os_time);

PRIVATE:
private:
// ----------------------------------------------------------------------
// Handler implementations for user-defined typed input ports
// ----------------------------------------------------------------------
Expand All @@ -49,7 +49,7 @@ class OsTime final : public OsTimeComponentBase {
const Fw::Time& fw_time,
const Os::RawTime& os_time) override;


//! Handler implementation for command SetCurrentTime
void SetCurrentTime_cmdHandler(FwOpcodeType opCode, //!< The opcode
U32 cmdSeq, //!< The command sequence number
Expand Down
2 changes: 1 addition & 1 deletion Svc/PassiveRateGroup/PassiveRateGroup.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ class PassiveRateGroup final : public PassiveRateGroupComponentBase {
//! The destructor of the class is empty
~PassiveRateGroup();

PRIVATE:
private:
//! \brief Input cycle port handler
//!
//! The cycle port handler calls each component in the rate group in turn,
Expand Down
6 changes: 4 additions & 2 deletions Svc/RateGroupDriver/RateGroupDriver.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ namespace Svc {

class RateGroupDriver final : public RateGroupDriverComponentBase {

friend class RateGroupDriverImplTester;

public:
//! Size of the divider table, provided as a constants to users passing the table in
static const FwIndexType DIVIDER_SIZE = NUM_CYCLEOUT_OUTPUT_PORTS;
Expand All @@ -41,7 +43,7 @@ namespace Svc {
//! Initializes divisor and offset to 0 (unused)
Divider() : divisor(0), offset(0)
{}
//! Initializes divisor and offset to passed-in pair
//! Initializes divisor and offset to passed-in pair
Divider(FwSizeType divisorIn, FwSizeType offsetIn) :
divisor(divisorIn), offset(offsetIn)
{}
Expand Down Expand Up @@ -76,7 +78,7 @@ namespace Svc {

~RateGroupDriver();

PRIVATE:
private:

//! downcall for input port
//! NOTE: This port can execute in ISR context.
Expand Down
8 changes: 4 additions & 4 deletions Svc/SeqDispatcher/SeqDispatcher.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class SeqDispatcher final : public SeqDispatcherComponentBase {
//!
~SeqDispatcher();

PROTECTED:
protected:

//! Handler for input port seqDoneIn
void
Expand All @@ -50,7 +50,7 @@ class SeqDispatcher final : public SeqDispatcherComponentBase {
const Fw::StringBase& fileName //!< The sequence file
);

PRIVATE:
private:

// number of sequences dispatched (successful or otherwise)
U32 m_dispatchedCount = 0;
Expand All @@ -71,8 +71,8 @@ class SeqDispatcher final : public SeqDispatcherComponentBase {

FwIndexType getNextAvailableSequencerIdx();

void runSequence(FwIndexType sequencerIdx,
const Fw::StringBase& fileName,
void runSequence(FwIndexType sequencerIdx,
const Fw::StringBase& fileName,
Fw::Wait block);

// ----------------------------------------------------------------------
Expand Down
5 changes: 4 additions & 1 deletion Svc/StaticMemory/StaticMemoryComponentImpl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@
namespace Svc {

class StaticMemoryComponentImpl final : public StaticMemoryComponentBase {

friend class StaticMemoryTester;

public:
// ----------------------------------------------------------------------
// Construction, initialization, and destruction
Expand All @@ -33,7 +36,7 @@ class StaticMemoryComponentImpl final : public StaticMemoryComponentBase {
//!
~StaticMemoryComponentImpl();

PRIVATE:
private:

// ----------------------------------------------------------------------
// Handler implementations for user-defined typed input ports
Expand Down
2 changes: 1 addition & 1 deletion Svc/SystemResources/SystemResources.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class SystemResources final : public SystemResourcesComponentBase {

typedef void (SystemResourcesComponentBase::*cpuTlmFunc)(F32, Fw::Time) const;

PRIVATE :
private :

// ----------------------------------------------------------------------
// Handler implementations for user-defined typed input ports
Expand Down
7 changes: 5 additions & 2 deletions Svc/TlmChan/TlmChan.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,18 @@
namespace Svc {

class TlmChan final : public TlmChanComponentBase {

friend class TlmChanTester;

public:
TlmChan(const char* compName);
virtual ~TlmChan();

PROTECTED:
protected:
// can be overridden for alternate algorithms
virtual FwChanIdType doHash(FwChanIdType id);

PRIVATE:
private:
// Port functions
void TlmRecv_handler(FwIndexType portNum, FwChanIdType id, Fw::Time& timeTag, Fw::TlmBuffer& val);
Fw::TlmValid TlmGet_handler(FwIndexType portNum, FwChanIdType id, Fw::Time& timeTag, Fw::TlmBuffer& val);
Expand Down
2 changes: 1 addition & 1 deletion Svc/TlmPacketizer/TlmPacketizer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class TlmPacketizer final : public TlmPacketizerComponentBase {
//!
~TlmPacketizer(void);

PRIVATE:
private:
// ----------------------------------------------------------------------
// Handler implementations for user-defined typed input ports
// ----------------------------------------------------------------------
Expand Down
Loading
Loading