Skip to content
Merged
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
23 changes: 17 additions & 6 deletions Svc/BufferAccumulator/BufferAccumulator.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,19 @@

namespace Svc {

// Forward declaration for UTs
namespace Accumulate { class BufferAccumulatorTester; }
namespace Drain { class BufferAccumulatorTester; }
namespace Errors { class BufferAccumulatorTester; }

class BufferAccumulator final : public BufferAccumulatorComponentBase {
PRIVATE:

friend class BufferAccumulatorTester;
friend class Svc::Accumulate::BufferAccumulatorTester;
friend class Svc::Drain::BufferAccumulatorTester;
friend class Svc::Errors::BufferAccumulatorTester;

private:

// ----------------------------------------------------------------------
// Types
Expand Down Expand Up @@ -59,7 +70,7 @@ namespace Svc {
//! \return The capacity
FwSizeType getCapacity() const;

PRIVATE:
private:

// ----------------------------------------------------------------------
// Private member variables
Expand Down Expand Up @@ -110,7 +121,7 @@ namespace Svc {
//! Return allocated queue. Should be done during shutdown
void deallocateQueue(Fw::MemAllocator& allocator);

PRIVATE:
private:

// ----------------------------------------------------------------------
// Handler implementations for user-defined typed input ports
Expand All @@ -135,7 +146,7 @@ namespace Svc {
U32 key //!< Value to return to pinger
);

PRIVATE:
private:

// ----------------------------------------------------------------------
// Command handler implementations
Expand All @@ -156,7 +167,7 @@ namespace Svc {
BufferAccumulator_BlockMode blockMode
);

PRIVATE:
private:

// ----------------------------------------------------------------------
// Private helper methods
Expand All @@ -165,7 +176,7 @@ namespace Svc {
//! Send a stored buffer
void sendStoredBuffer();

PRIVATE:
private:

// ----------------------------------------------------------------------
// Private member variables
Expand Down
Loading