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