#include <TunnelTracker.h>
Inherits MemoryPoolObject, and Snapshot.
Public Member Functions | |
| TunnelTracker () | |
| void | iterateContained (ContainIterateFunc func, void *userData, Bool reverse) |
| UnsignedInt | getContainCount () const |
| Int | getContainMax () const |
| const ContainedItemsList * | getContainedItemsList () const |
| Bool | isValidContainerFor (const Object *obj, Bool checkCapacity) const |
| void | addToContainList (Object *obj) |
| add 'obj' to contain list | |
| void | removeFromContain (Object *obj, Bool exposeStealthUnits=FALSE) |
| remove 'obj' from contain list | |
| Bool | isInContainer (Object *obj) |
| Is this thing inside? | |
| void | onTunnelCreated (const Object *newTunnel) |
| A tunnel was made. | |
| void | onTunnelDestroyed (const Object *deadTunnel) |
| A tunnel was destroyed. | |
| void | healObjects (Real frames) |
| heal all objects within the tunnel | |
| UnsignedInt | friend_getTunnelCount () const |
| TunnelContains are allowed to ask if they are the last one ahead of deletion time. | |
| const std::list< ObjectID > * | getContainerList () const |
| Object * | getCurNemesis (void) |
| void | updateNemesis (const Object *target) |
Public Member Functions inherited from MemoryPoolObject | |
| void | deleteInstance () |
Public Member Functions inherited from Snapshot | |
| Snapshot (void) | |
| ~Snapshot (void) | |
Static Public Member Functions | |
| static void | destroyObject (Object *obj, void *userData) |
| Callback for Iterate Contained system. | |
| static void | healObject (Object *obj, void *frames) |
| Callback for Iterate Contained system. | |
Protected Member Functions | |
| virtual void | crc (Xfer *xfer) |
| virtual void | xfer (Xfer *xfer) |
| virtual void | loadPostProcess (void) |
Protected Member Functions inherited from MemoryPoolObject | |
| virtual | ~MemoryPoolObject () |
| void * | operator new (size_t s) |
| void | operator delete (void *p) |
| virtual MemoryPool * | getObjectMemoryPool ()=0 |
Definition at line 40 of file TunnelTracker.h.
| TunnelTracker::TunnelTracker | ( | ) |
Definition at line 51 of file TunnelTracker.cpp.
| void TunnelTracker::addToContainList | ( | Object * | obj | ) |
add 'obj' to contain list
Definition at line 177 of file TunnelTracker.cpp.
|
protectedvirtual |
|
static |
Callback for Iterate Contained system.
Definition at line 239 of file TunnelTracker.cpp.
|
inline |
TunnelContains are allowed to ask if they are the last one ahead of deletion time.
Definition at line 66 of file TunnelTracker.h.
|
inline |
Definition at line 49 of file TunnelTracker.h.
|
inline |
Definition at line 51 of file TunnelTracker.h.
|
inline |
Definition at line 68 of file TunnelTracker.h.
| Int TunnelTracker::getContainMax | ( | ) | const |
Definition at line 105 of file TunnelTracker.cpp.
| Object * TunnelTracker::getCurNemesis | ( | void | ) |
Definition at line 127 of file TunnelTracker.cpp.
|
static |
Callback for Iterate Contained system.
Definition at line 256 of file TunnelTracker.cpp.
| void TunnelTracker::healObjects | ( | Real | frames | ) |
heal all objects within the tunnel
Definition at line 249 of file TunnelTracker.cpp.
Is this thing inside?
Definition at line 198 of file TunnelTracker.cpp.
Definition at line 156 of file TunnelTracker.cpp.
| void TunnelTracker::iterateContained | ( | ContainIterateFunc | func, |
| void * | userData, | ||
| Bool | reverse ) |
Definition at line 66 of file TunnelTracker.cpp.
|
protectedvirtual |
| void TunnelTracker::onTunnelCreated | ( | const Object * | newTunnel | ) |
A tunnel was made.
Definition at line 204 of file TunnelTracker.cpp.
| void TunnelTracker::onTunnelDestroyed | ( | const Object * | deadTunnel | ) |
A tunnel was destroyed.
Definition at line 211 of file TunnelTracker.cpp.
remove 'obj' from contain list
Definition at line 184 of file TunnelTracker.cpp.
| void TunnelTracker::updateNemesis | ( | const Object * | target | ) |
Definition at line 111 of file TunnelTracker.cpp.
|
protectedvirtual |
Xfer method Version Info: 1: Initial version
Implements Snapshot.
Definition at line 310 of file TunnelTracker.cpp.