SpiecsEngine
 
Loading...
Searching...
No Matches
scl::span_list Class Reference

Bidirectional cyclic linked list for span. More...

#include <SpanList.h>

Public Member Functions

 span_list ()
 Constructor Function.
 
virtual ~span_list ()
 Destructor Function.
 
spanBegin () const
 Get begin pointer.
 
spanEnd () const
 Get end pointer.
 
void PushFront (span *s)
 Push a span to this list.
 
spanPopFront ()
 Pop a span from front.
 
bool Empty ()
 Empty if Begin equals to End.
 
void Erase (span *pos) const
 Erase a span form this list.
 
std::mutex & GetMutex ()
 Get mutex.
 

Static Public Member Functions

static void Insert (span *pos, span *ptr)
 Insert a span before in given position.
 

Private Attributes

spanm_Head
 list entry point.
 
std::mutex m_Mutex
 mutex for thread safe.
 

Detailed Description

Bidirectional cyclic linked list for span.

Definition at line 72 of file SpanList.h.


The documentation for this class was generated from the following files: