56 mutable Ptr<NavGraph> m_navGraphPtr;
63 if(m_navGraphPtr !=
nullptr)
65 if(m_navGraphPtr->IsStillLoaded())
66 return m_navGraphPtr->IsActive();
68 m_navGraphPtr =
nullptr;
82 KY_INLINE
bool NavGraphPtr::operator < (
const NavGraphPtr& rhs)
const {
return m_navGraphPtr < rhs.m_navGraphPtr; }
83 KY_INLINE
bool NavGraphPtr::operator <=(
const NavGraphPtr& rhs)
const {
return !(rhs < *
this); }
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:80
bool IsValid() const
Returns true if this object refers to a valid runtime NavGraph, which means a NavFloor that exists...
Definition: navgraphptr.h:61
The NavGraphBlob contains the static data of a NavGraph.
Definition: navgraphblob.h:19
#define KY_DEFINE_NEW_DELETE_OPERATORS(MemStat)
This macro defines new and delete operators.
Definition: memory.h:132
const NavGraphBlob * GetNavGraphBlob() const
Returns a pointer to the NavGraphBlob identified by this object.
Definition: navgraphptr.h:77
const NavGraphBlob * GetNavGraphBlob_UnSafe() const
Returns a pointer to the NavGraphBlob identified by this object.
Definition: navgraphptr.h:78
The Autodesk Navigation namespace.
Definition: gamekitcrowddispersion.cpp:17
This class uniquely identifies a single NavGraph.
Definition: navgraphptr.h:21
NavGraphPtr(NavGraph *navGraph=nullptr)
Constructs a new NavGraphPtr.
Definition: navgraphptr.h:59
bool operator!=(const NavGraphPtr &rhs) const
Returns true if this object identifies an NavGraph different from the one identified by rhs...
Definition: navgraphptr.h:81
NavGraph * GetNavGraph_UnSafe() const
Returns a pointer to the NavGraph that handles the graph identified by this object.
Definition: navgraphptr.h:75
void Invalidate()
Invalidates this object.
Definition: navgraphptr.h:60
NavGraph * GetNavGraph() const
Returns a pointer to the NavGraph that handles the graph identified by this object.
Definition: navgraphptr.h:74
This class is a runtime wrapper of a NavGraphBlob, it gathers all the runtime information associated ...
Definition: navgraph.h:22