16 CmdSequencerComponentImpl::Sequence ::
18 m_component(component),
25 CmdSequencerComponentImpl::Sequence ::
31 CmdSequencerComponentImpl::Sequence::Header ::
41 bool CmdSequencerComponentImpl::Sequence::Header ::
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;
76 void CmdSequencerComponentImpl::Sequence ::
88 static_cast<U8*
>(allocator.
allocate(identifier,bytes,recoverable)),
93 void CmdSequencerComponentImpl::Sequence ::
104 CmdSequencerComponentImpl::Sequence ::
110 void CmdSequencerComponentImpl::Sequence ::
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, NATIVE_UINT_TYPE size)
Set the external buffer.
void clear()
clear external buffer
virtual void * allocate(const NATIVE_UINT_TYPE identifier, NATIVE_UINT_TYPE &size, bool &recoverable)=0
Allocate memory.
virtual void deallocate(const NATIVE_UINT_TYPE identifier, void *ptr)=0
Deallocate 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.
Header m_header
The sequence header.
Fw::LogStringArg m_logFileName
Copy of file name for events.
Fw::ExternalSerializeBuffer m_buffer
Serialize buffer to hold the binary sequence data.
NATIVE_INT_TYPE m_allocatorId
The allocator ID.
Fw::CmdStringArg m_fileName
The sequence file name.