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