F´ Flight Software - C/C++ Documentation
NASA-v1.5.0
A framework for building embedded system applications to NASA flight quality standards.
|
Go to the documentation of this file.
20 m_component(component),
46 Fw::Time validTime = component.getTime();
51 (this->m_timeBase != validTimeBase) and
63 (this->m_timeContext != validContext) and
73 this->m_timeBase = validTimeBase;
74 this->m_timeContext = validContext;
91 U8* mem =
static_cast<U8*
>(allocator.
allocate(identifier,actualSize,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.
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 timeContextMismatch(const FwTimeContextStoreType currTimeContext, const FwTimeContextStoreType seqTimeContext)
Time context mismatch.
Fw::CmdStringArg & getFileName(void)
void allocateBuffer(const NATIVE_INT_TYPE identifier, Fw::MemAllocator &allocator, const NATIVE_UINT_TYPE bytes)
Give the sequence representation a memory buffer.
unsigned int NATIVE_UINT_TYPE
native unsigned integer type declaration
void setExtBuffer(U8 *buffPtr, NATIVE_UINT_TYPE size)
Set the external buffer.
void timeBaseMismatch(const FwTimeBaseStoreType currTimeBase, const FwTimeBaseStoreType seqTimeBase)
Time base mismatch.
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.
PROTECTED U32 const Fw::CmdStringArg & fileName
Events m_events
Event reporting.
Sequence * m_sequence
The abstract sequence.
Fw::LogStringArg & getLogFileName(void)
Fw::ExternalSerializeBuffer m_buffer
Serialize buffer to hold the binary sequence data.
int NATIVE_INT_TYPE
native integer type declaration
U8 * getBuffAddr(void)
gets buffer address for data filling