 |
F´ Flight Software - C/C++ Documentation
NASA-v1.6.0
A framework for building embedded system applications to NASA flight quality standards.
|
Go to the documentation of this file.
18 m_component(component),
44 Fw::Time validTime = component.getTime();
49 (this->m_timeBase != validTimeBase) and
61 (this->m_timeContext != validContext) and
71 this->m_timeBase = validTimeBase;
72 this->m_timeContext = validContext;
88 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.
Header m_header
The sequence header.
virtual ~Sequence()
Destroy a Sequence object.
void timeBaseMismatch(const TimeBase currTimeBase, const TimeBase seqTimeBase)
Time base mismatch.
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 void * allocate(const NATIVE_UINT_TYPE identifier, NATIVE_UINT_TYPE &size, bool &recoverable)=0
Allocate memory.
void clear()
clear external buffer
Fw::CmdStringArg & getFileName()
#define FwTimeContextStoreType
Storage conversion for time context in scripts/ground interface.
Fw::LogStringArg & getLogFileName()
Fw::LogStringArg m_logFileName
Copy of file name for events.
const Header & getHeader() const
Get the sequence header.
@ TB_DONT_CARE
Don't care value for sequences. If FwTimeBaseStoreType is changed, value should be changed.
FwTimeContextStoreType getContext() const
void timeContextMismatch(const FwTimeContextStoreType currTimeContext, const FwTimeContextStoreType seqTimeContext)
Time context mismatch.
unsigned int NATIVE_UINT_TYPE
native unsigned integer type declaration
void setExtBuffer(U8 *buffPtr, NATIVE_UINT_TYPE size)
Set the external buffer.
Sequence event reporting.
void setFileName(const Fw::CmdStringArg &fileName)
Set the file name. Also sets the log file name.
TimeBase getTimeBase() const
Events m_events
Event reporting.
U8 * getBuffAddr()
gets buffer address for data filling
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.