gCycleMemoryEntry Class Reference

Collaboration diagram for gCycleMemoryEntry:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 gCycleMemoryEntry (gCycleMemory *m, const gCycle *c)
 ~gCycleMemoryEntry ()

Public Attributes

gCycleMemorymemory
int id
nObserverPtr< gCyclecycle
gCycleTouchEvent max [2]
gCycleTouchEvent min [2]


Detailed Description

Definition at line 344 of file gAIBase.cpp.


Constructor & Destructor Documentation

gCycleMemoryEntry::gCycleMemoryEntry ( gCycleMemory m,
const gCycle c 
) [inline]

Definition at line 350 of file gAIBase.cpp.

References max().

00351             :memory(m),id(-1), cycle(c)
00352     {
00353         memory->memory.Add(this, id);
00354 
00355         max[0].dist = -1E+30;
00356         max[1].dist = -1E+30;
00357         min[0].dist =  1E+30;
00358         min[1].dist =  1E+30;
00359     }

Here is the call graph for this function:

gCycleMemoryEntry::~gCycleMemoryEntry (  )  [inline]

Definition at line 361 of file gAIBase.cpp.

00362     {
00363         memory->memory.Remove(this, id);
00364     }


Member Data Documentation

gCycleMemory* gCycleMemoryEntry::memory

Definition at line 346 of file gAIBase.cpp.

int gCycleMemoryEntry::id

Definition at line 347 of file gAIBase.cpp.

nObserverPtr< gCycle > gCycleMemoryEntry::cycle

Definition at line 348 of file gAIBase.cpp.

Referenced by CheckLoop(), gCycleMemory::Earliest(), and gCycleMemory::Latest().

gCycleTouchEvent gCycleMemoryEntry::max[2]

Definition at line 367 of file gAIBase.cpp.

Referenced by CheckLoop(), CycleBlocksWayHelper(), and gCycleMemory::Latest().

gCycleTouchEvent gCycleMemoryEntry::min[2]

Definition at line 368 of file gAIBase.cpp.

Referenced by CheckLoop(), CycleBlocksWayHelper(), and gCycleMemory::Earliest().


The documentation for this class was generated from the following file:
Generated on Sat Mar 15 23:37:00 2008 for Armagetron Advanced by  doxygen 1.5.4