 |
F´ Flight Software - C/C++ Documentation
NASA-v2.1.0
A framework for building embedded system applications to NASA flight quality standards.
|
Go to the documentation of this file.
17 m_component(component),
43 Fw::Time validTime = component.getTime();
48 (this->m_timeBase != validTimeBase) and
60 (this->m_timeContext != validContext) and
70 this->m_timeBase = validTimeBase;
71 this->m_timeContext = validContext;
87 static_cast<U8*
>(allocator.
allocate(identifier,bytes,recoverable)),
Sequence(CmdSequencerComponentImpl &component)
Construct a Sequence object.
NATIVE_INT_TYPE m_allocatorId
The allocator ID.
void deallocateBuffer(Fw::MemAllocator &allocator)
Deallocate the buffer.
void timeContextMismatch(const U32 currTimeContext, const U32 seqTimeContext)
Time context mismatch.
Header m_header
The sequence header.
TimeBase getTimeBase(void) const
virtual void deallocate(const NATIVE_UINT_TYPE identifier, void *ptr)=0
Deallocate memory.
uint8_t U8
8-bit unsigned integer
#define FW_CONTEXT_DONT_CARE
Don't care value for time contexts in sequences.
Fw::CmdStringArg m_fileName
The sequence file name.
virtual ~Sequence(void)
Destroy a Sequence object.
virtual void * allocate(const NATIVE_UINT_TYPE identifier, NATIVE_UINT_TYPE &size, bool &recoverable)=0
Allocate memory.
#define FwTimeContextStoreType
Storage conversion for time context in scripts/ground interface.
void clear(void)
clear external buffer
Fw::LogStringArg m_logFileName
Copy of file name for events.
@ TB_DONT_CARE
Don't care value for sequences. If FwTimeBaseStoreType is changed, value should be changed.
void timeBaseMismatch(const U32 currTimeBase, const U32 seqTimeBase)
Time base mismatch.
Fw::CmdStringArg & getFileName(void)
unsigned int NATIVE_UINT_TYPE
native unsigned integer type declaration
void setExtBuffer(U8 *buffPtr, NATIVE_UINT_TYPE size)
Set the external buffer.
FwTimeContextStoreType getContext(void) const
Sequence event reporting.
void setFileName(const Fw::CmdStringArg &fileName)
Set the file name. Also sets the log file name.
const Header & getHeader(void) const
Get the sequence header.
Events m_events
Event reporting.
Fw::LogStringArg & getLogFileName(void)
Fw::ExternalSerializeBuffer m_buffer
Serialize buffer to hold the binary sequence data.
int NATIVE_INT_TYPE
native integer type declaration
void allocateBuffer(NATIVE_INT_TYPE identifier, Fw::MemAllocator &allocator, NATIVE_UINT_TYPE bytes)
Give the sequence representation a memory buffer.
U8 * getBuffAddr(void)
gets buffer address for data filling