eWallHolder Class Reference

#include <eWall.h>

Inheritance diagram for eWallHolder:

Inheritance graph
[legend]

List of all members.

Public Member Functions

void SetWall (eWall *wall)
eWallGetWall (void) const

Protected Member Functions

 eWallHolder ()
 ~eWallHolder ()

Private Member Functions

 tCONTROLLED_PTR (eWall) wall_

Friends

class eWall


Detailed Description

Definition at line 184 of file eWall.h.


Constructor & Destructor Documentation

eWallHolder::eWallHolder (  )  [protected]

Definition at line 283 of file eWall.cpp.

00284 {
00285 }

eWallHolder::~eWallHolder (  )  [protected]

Definition at line 287 of file eWall.cpp.

References NULL.

00288 {
00289     if ( wall_ )
00290     {
00291         wall_->holder_ = NULL;
00292     }
00293 }


Member Function Documentation

void eWallHolder::SetWall ( eWall wall  ) 

Reimplemented in eHalfEdge.

Definition at line 258 of file eWall.cpp.

References NULL.

Referenced by eHalfEdge::ClearWall(), and eHalfEdge::SetWall().

00259 {
00260     if ( wall_ )
00261     {
00262         wall_->holder_ = NULL;
00263     }
00264 
00265     wall_ = wall;
00266 
00267     if ( wall )
00268     {
00269         if ( wall->holder_ )
00270         {
00271             wall->holder_->wall_ = NULL;
00272         }
00273 
00274         wall->holder_ = this;
00275     }
00276 }

Here is the caller graph for this function:

eWall * eWallHolder::GetWall ( void   )  const

Definition at line 278 of file eWall.cpp.

Referenced by CanPass(), eHalfEdge::Check(), eHalfEdge::CopyIntoGrid(), eTempEdge::CopyIntoGrid(), eHalfEdge::CrossesNewWall(), eGrid::DrawLine(), eCameraSensor::LookAround(), Modifier(), eHalfEdge::Movable(), eGameObject::Move(), ProcessWallsRecursive(), eHalfEdge::SetWall(), eHalfEdge::Simplify(), eHalfEdge::Split(), and eHalfEdge::Splittable().

00279 {
00280     return wall_;
00281 }

Here is the caller graph for this function:

eWallHolder::tCONTROLLED_PTR ( eWall   )  [private]


Friends And Related Function Documentation

friend class eWall [friend]

Reimplemented in eHalfEdge.

Definition at line 186 of file eWall.h.


The documentation for this class was generated from the following files:
Generated on Sat Mar 15 23:32:19 2008 for Armagetron Advanced by  doxygen 1.5.4