17 : m_component(component), m_events(*this), m_allocatorId(0) {}
40 this->m_timeBase = validTimeBase;
41 this->m_timeContext = validContext;
void clear()
Clear external buffer.
virtual void * allocate(const FwEnumStoreType identifier, FwSizeType &size, bool &recoverable, FwSizeType alignment=alignof(std::max_align_t))=0
Header m_header
The sequence header.
PlatformSizeType FwSizeType
Don't care value for sequences. If FwTimeBaseStoreType is changed, value should be changed (Required)...
TimeBase getTimeBase() const
U8 FwTimeContextStoreType
The type used to serialize a time context value.
void allocateBuffer(FwEnumStoreType identifier, Fw::MemAllocator &allocator, FwSizeType bytes)
Give the sequence representation a memory buffer.
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.
FwEnumStoreType m_allocatorId
The allocator ID.
void timeBaseMismatch(const TimeBase currTimeBase, const TimeBase seqTimeBase)
Time base mismatch.
void deallocateBuffer(Fw::MemAllocator &allocator)
Deallocate the buffer.
Sequence event reporting.
void setFileName(const Fw::ConstStringBase &fileName)
Set the file name. Also sets the log file name.
Sequence(CmdSequencerComponentImpl &component)
Construct a Sequence object.
Events m_events
Event reporting.
void setExtBuffer(U8 *buffPtr, Serializable::SizeType size)
Set the external buffer.
Memory Allocation base class.
FwTimeContextStoreType getContext() const
virtual ~Sequence()
Destroy a Sequence object.
Fw::LogStringArg & getLogFileName()
A read-only abstract superclass for StringBase.
Fw::CmdStringArg & getFileName()
RateGroupDivider component implementation.
virtual void deallocate(const FwEnumStoreType identifier, void *ptr)=0
Define enumeration for Time base types.
Fw::String m_stringFileName
Copy of file name for ports.
Fw::String & getStringFileName()
const Header & getHeader() const
Get the sequence header.
U8 * getBuffAddr()
Get buffer address for data filling (non-const version)