| 
    HDK
    
   | 
 
#include <collection.h>
Classes | |
| class | Visitor | 
Public Types | |
| using | This = TraceCollection | 
| using | EventList = TraceEventList | 
| using | EventListPtr = std::unique_ptr< EventList > | 
Public Member Functions | |
| TF_MALLOC_TAG_NEW ("Trace","TraceCollection") | |
| TraceCollection ()=default | |
| Constructor.  More... | |
| TraceCollection (TraceCollection &&)=default | |
| Move constructor.  More... | |
| TraceCollection & | operator= (TraceCollection &&)=default | 
| Move assignment operator.  More... | |
| TraceCollection (const TraceCollection &)=delete | |
| TraceCollection & | operator= (const TraceCollection &)=delete | 
| TRACE_API void | AddToCollection (const TraceThreadId &id, EventListPtr &&events) | 
| TRACE_API void | Iterate (Visitor &visitor) const | 
| TRACE_API void | ReverseIterate (Visitor &visitor) const | 
This class owns lists of TraceEvent instances per thread, and allows read access to them.
Definition at line 32 of file collection.h.
Definition at line 38 of file collection.h.
| using TraceCollection::EventListPtr = std::unique_ptr<EventList> | 
Definition at line 39 of file collection.h.
| using TraceCollection::This = TraceCollection | 
Definition at line 36 of file collection.h.
      
  | 
  default | 
Constructor.
      
  | 
  default | 
Move constructor.
      
  | 
  delete | 
| TRACE_API void TraceCollection::AddToCollection | ( | const TraceThreadId & | id, | 
| EventListPtr && | events | ||
| ) | 
Appends events to the collection. The collection will take ownership of the data. 
Forward iterates over the events of the collection and calls the visitor callbacks. 
      
  | 
  default | 
Move assignment operator.
      
  | 
  delete | 
Reverse iterates over the events of the collection and calls the visitor callbacks. 
| TraceCollection::TF_MALLOC_TAG_NEW | ( | "Trace" | , | 
| "TraceCollection" | |||
| ) |