Double-linked list for actors. More...
#include <core.hpp>
Public Member Functions | |
ActorLink * | prev (void) const |
Routines for double-linked list. | |
void | prev (ActorLink *) |
ActorLink * | next (void) const |
void | next (ActorLink *) |
ActorLink ** | next_ref (void) |
void | init (void) |
Initialize links (self-linked) | |
void | unlink (void) |
Remove from predecessor and successor. | |
void | head (ActorLink *al) |
Insert al directly after this. | |
void | tail (ActorLink *al) |
Insert al directly before this. | |
bool | empty (void) const |
Test whether actor link is empty (points to itself) | |
Static Public Member Functions | |
template<class T > | |
static ActorLink * | cast (T *a) |
Static cast for a non-null pointer (to give a hint to optimizer) | |
template<class T > | |
static const ActorLink * | cast (const T *a) |
Static cast for a non-null pointer (to give a hint to optimizer) | |
Double-linked list for actors.
Used to maintain which actors belong to a space and also (for propagators) to organize actors in the queue of waiting propagators.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestatic |
|
inlinestatic |