ADTF  3.18.2
samplelogentrylist.h
Go to the documentation of this file.
1 
7 #pragma once
8 #include "samplelog_intf.h"
9 #include "samplelogentry.h"
10 #include <list>
11 
12 namespace adtf
13 {
14 namespace streaming
15 {
16 namespace ant
17 {
18 
26 {
27 
28  public:
41 
42 
55 
58 
67 
75 
81 
90 
98  tResult ToStream(ucom::ant::IStream& oOutStream, size_t& szSizeWritten);
99 
107  tResult FromStream(const ucom::ant::IStream& oInStream, size_t& szSizeRead);
108 
109  protected:
111  std::list<cSampleLogEntry> m_lstLogList;
112  private:
114  static const uint8_t m_ui8SerializedClassVersion1;
115 };
116 
117 }
118 }
119 }
Used class to callback within the the ISampleLog::GetLogEntries.
Helper class to serialize and handle an ISampleLog.
tResult GetIt(const ISampleLog::tSampleLogEntry &sLogEntry)
Implementation of the ISampleLog::IGetLogEntryCallback to get the entries of a ISampleLog.
tResult Clear()
Clear this list.
tResult GetLogEntries(ISampleLog::IGetLogEntryCallback &pGetCallback) const
Copies all entries to the given pGetCallback implementation.
tResult ToStream(ucom::ant::IStream &oOutStream, size_t &szSizeWritten)
Serializes all entries to an output stream.
std::list< cSampleLogEntry > m_lstLogList
current list of logs
cSampleLogEntryList & operator=(const cSampleLogEntryList &oCopyList)
Copy assignment which will copy the given oCopyList to this list.
tResult AddEntry(const ISampleLog::tSampleLogEntry &sEntry)
Adds an entry to the list.
cSampleLogEntryList(cSampleLogEntryList &&oMoveList)
Move CTOR which will move the internal m_List to this list.
cSampleLogEntryList()
default CTOR.
tResult FromStream(const ucom::ant::IStream &oInStream, size_t &szSizeRead)
Deserializes the internal entry from an input stream.
cSampleLogEntryList(const cSampleLogEntryList &oCopyList)
Copy CTOR which will copy the given oCopyList to this list.
virtual ~cSampleLogEntryList()
DTOR.
static const uint8_t m_ui8SerializedClassVersion1
internal serialize class version
The IStream interface provides defines methods for streaming data.
Definition: stream_intf.h:84
Namespace for entire ADTF SDK.
Copyright © Audi Electronics Venture GmbH.
Copyright © Audi Electronics Venture GmbH.
Structure for one SampleLog Entry.