|  | 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.
   11 #include <Fw/Types/Assert.hpp> 
   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.
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.
Fw::CmdStringArg & getFileName()
Fw::LogStringArg & getLogFileName()
void clear(void)
clear external buffer
Fw::LogStringArg m_logFileName
Copy of file name for events.
const Header & getHeader() const
Get the sequence header.
FwTimeContextStoreType getContext() const
void timeContextMismatch(const FwTimeContextStoreType currTimeContext, const FwTimeContextStoreType seqTimeContext)
Time context mismatch.
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(void)
gets buffer address for data filling
Fw::ExternalSerializeBuffer m_buffer
Serialize buffer to hold the binary sequence data.
void allocateBuffer(NATIVE_INT_TYPE identifier, Fw::MemAllocator &allocator, NATIVE_UINT_TYPE bytes)
Give the sequence representation a memory buffer.