Open Model Railroad Network (OpenMRN)
Loading...
Searching...
No Matches
QMember.hxx
Go to the documentation of this file.
1
34#ifndef _UTILS_QMEMBER_HXX_
35#define _UTILS_QMEMBER_HXX_
36
37#include "utils/macros.h"
38
42{
43public:
46 void init()
47 {
48 next = NULL;
49 }
50
51protected:
54 QMember() : next(NULL)
55 {
56 }
57
61 {
62 }
63
66
68 friend class Q;
70 friend class SimpleQueue;
72 friend class ActiveTimers;
74 friend class ExecutorBase;
75 friend class TimerTest;
76};
77
78#endif /* _UTILS_QMEMBER_HXX_ */
Class that manages the list of active timers.
Definition Timer.hxx:49
This class implements an execution of tasks pulled off an input queue.
Definition Executor.hxx:64
Essentially a "next" pointer container.
Definition QMember.hxx:42
~QMember()
Destructor.
Definition QMember.hxx:60
void init()
Initiailize a QMember, in place of a public placement construction.
Definition QMember.hxx:46
QMember * next
pointer to the next member in the queue
Definition QMember.hxx:65
QMember()
Constructor.
Definition QMember.hxx:54
This class implements a linked list "queue" of buffers.
Definition Queue.hxx:98
A simple fast single-linked stack class with non-virtual methods.