18 m_component(component),
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(static_cast<NATIVE_UINT_TYPE>(identifier),bytes,recoverable)),
PlatformUIntType NATIVE_UINT_TYPE
void clear()
clear external buffer
Header m_header
The sequence header.
NATIVE_INT_TYPE m_allocatorId
The allocator ID.
PlatformIntType NATIVE_INT_TYPE
virtual void * allocate(const NATIVE_UINT_TYPE identifier, NATIVE_UINT_TYPE &size, bool &recoverable)=0
Allocate memory.
TimeBase getTimeBase() const
void allocateBuffer(NATIVE_INT_TYPE identifier, Fw::MemAllocator &allocator, NATIVE_UINT_TYPE bytes)
Give the sequence representation a memory buffer.
void setFileName(const Fw::StringBase &fileName)
Set the file name. Also sets the log file name.
U8 FwTimeContextStoreType
void timeContextMismatch(const FwTimeContextStoreType currTimeContext, const FwTimeContextStoreType seqTimeContext)
Time context mismatch.
Fw::ExternalSerializeBuffer m_buffer
Serialize buffer to hold the binary sequence data.
Fw::CmdStringArg m_fileName
The sequence file name.
Fw::LogStringArg m_logFileName
Copy of file name for events.
void timeBaseMismatch(const TimeBase currTimeBase, const TimeBase seqTimeBase)
Time base mismatch.
void deallocateBuffer(Fw::MemAllocator &allocator)
Deallocate the buffer.
Don't care value for sequences. If FwTimeBaseStoreType is changed, value should be changed...
virtual void deallocate(const NATIVE_UINT_TYPE identifier, void *ptr)=0
Deallocate memory.
Sequence event reporting.
Sequence(CmdSequencerComponentImpl &component)
Construct a Sequence object.
Events m_events
Event reporting.
void setExtBuffer(U8 *buffPtr, Serializable::SizeType size)
FwTimeContextStoreType getContext() const
virtual ~Sequence()
Destroy a Sequence object.
Fw::LogStringArg & getLogFileName()
Fw::CmdStringArg & getFileName()
#define FW_CONTEXT_DONT_CARE
Don't care value for time contexts in sequences.
Fw::String m_stringFileName
Copy of file name for ports.
Fw::String & getStringFileName()
const Header & getHeader() const
Get the sequence header.
U8 * getBuffAddr()
gets buffer address for data filling