Bidirectional cyclic linked list for span. More...
#include <SpanList.h>
Public Member Functions | |
| span_list () | |
| Constructor Function. | |
| virtual | ~span_list () |
| Destructor Function. | |
| span * | Begin () const |
| Get begin pointer. | |
| span * | End () const |
| Get end pointer. | |
| void | PushFront (span *s) |
| Push a span to this list. | |
| span * | PopFront () |
| 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 | |
| span * | m_Head |
| list entry point. | |
| std::mutex | m_Mutex |
| mutex for thread safe. | |
Bidirectional cyclic linked list for span.
Definition at line 72 of file SpanList.h.