Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

DC_PUSMemoryDumpAbsolute Class Reference

#include <DC_PUSMemoryDumpAbsolute.h>

Inheritance diagram for DC_PUSMemoryDumpAbsolute:

PUSMemoryDump PUSTelemetryPacket TelemetryPacket CC_RootObject List of all members.

Detailed Description

PUS telemetry packet implementing the memory dump service using absolute addresses (type 6, subtype 6).

This class adds to its superclass the implementation of the data update service.

Todo:
construct a test case for this class.
Author:
Alessandro Pasetti (P&P Software GmbH)
Version:
1.0

Definition at line 26 of file DC_PUSMemoryDumpAbsolute.h.

Public Member Functions

 DC_PUSMemoryDumpAbsolute (void)
 Instantiate a PUS memory dump with absolute addresses telemetry packet.

virtual void update (void)
 Implement the data update service for the PUS memory dump with absolute addresses packet.


Constructor & Destructor Documentation

DC_PUSMemoryDumpAbsolute::DC_PUSMemoryDumpAbsolute void   ) 
 

Instantiate a PUS memory dump with absolute addresses telemetry packet.

The class identifier is set. The telemetry subtype attribute is set to PUS_ST_TM_DMP_ABS.

Definition at line 22 of file DC_PUSMemoryDumpAbsolute.cpp.


Member Function Documentation

void DC_PUSMemoryDumpAbsolute::update void   )  [virtual]
 

Implement the data update service for the PUS memory dump with absolute addresses packet.

The memory locations to be dumped are stored in the block data structure defined in the superclass. The memory dump data are collected and stored in the dump buffer which is also defined in the superclass. Both the block and dump buffer structures are declared protected in the superclass and can therefore be directly accessed here. This method uses the data in the block structure and the value of the base address to construct and image of the telemetry packet and store it in the dump buffer.

Implements TelemetryPacket.

Definition at line 27 of file DC_PUSMemoryDumpAbsolute.cpp.


The documentation for this class was generated from the following files:
Copyright 2003 P&P Software GmbH - All Rights Reserved