gwnavruntime/navgraph/identifiers/navgraphptr.h Source File
Go to the documentation of this file.
10 #ifndef Navigation_NavGraphPtr_H
11 #define Navigation_NavGraphPtr_H
58 mutable Ptr<NavGraph> m_navGraphPtr;
67 if(m_navGraphPtr->IsStillLoaded())
68 return m_navGraphPtr->IsActive();
84 KY_INLINE
bool NavGraphPtr::operator < (
const NavGraphPtr& rhs)
const {
return m_navGraphPtr < rhs.m_navGraphPtr; }
85 KY_INLINE
bool NavGraphPtr::operator <=(
const NavGraphPtr& rhs)
const {
return !(rhs < *
this); }
89 #endif // #ifndef Navigation_NavGraphPtr_H
bool operator==(const NavGraphPtr &rhs) const
Returns true if this object identifies the same NavGraph as rhs, or if both are invalid.
Definition: navgraphptr.h:87
bool IsValid() const
Returns true if this object refers to a valid runtime NavGraph, which means a NavFloor that exists...
Definition: navgraphptr.h:68
The NavGraphBlob contains the static data of a NavGraph.
Definition: navgraphblob.h:21
#define KY_NULL
Null value.
Definition: types.h:247
const NavGraphBlob * GetNavGraphBlob() const
Returns a pointer to the NavGraphBlob identified by this object.
Definition: navgraphptr.h:84
const NavGraphBlob * GetNavGraphBlob_UnSafe() const
Returns a pointer to the NavGraphBlob identified by this object.
Definition: navgraphptr.h:85
Definition: gamekitcrowddispersion.h:20
This class uniquely identifies a single NavGraph.
Definition: navgraphptr.h:24
#define KY_DEFINE_NEW_DELETE_OPERATORS(MemStat)
This macro defines new and delete operators.
Definition: memory.h:137
bool operator!=(const NavGraphPtr &rhs) const
Returns true if this object identifies an NavGraph different from the one identified by rhs...
Definition: navgraphptr.h:88
NavGraph * GetNavGraph_UnSafe() const
Returns a pointer to the NavGraph that handles the graph identified by this object.
Definition: navgraphptr.h:82
void Invalidate()
Invalidates this object.
Definition: navgraphptr.h:67
NavGraph * GetNavGraph() const
Returns a pointer to the NavGraph that handles the graph identified by this object.
Definition: navgraphptr.h:81
NavGraphPtr(NavGraph *navGraph=0)
Constructs a new NavGraphPtr.
Definition: navgraphptr.h:66
This class is a runtime wrapper of a NavGraphBlob, it gathers all the runtime information associated ...
Definition: navgraph.h:27