VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
DtLuaNavFindExitPointJob Class Reference

Lua object class which represents a task to find exit points from a nav area along a chord.

Inheritance diagram for DtLuaNavFindExitPointJob:
Inheritance graph
[legend]

Public Member Functions

 DtLuaNavFindExitPointJob ()
 
virtual ~DtLuaNavFindExitPointJob () override
 
virtual luabind::object getObject (lua_State *L, int &index, std::string &message) override
 
virtual DtString objectType () const override
 
virtual void start () override
 
virtual void run (const DtAlgorithmManager &mgr=DtAlgorithmManager()) override
 
virtual void taskComplete () override
 
- Public Member Functions inherited from DtLuaNavJob
 DtLuaNavJob ()
 
virtual ~DtLuaNavJob () override
 
virtual luabind::object getDebugObject (lua_State *L) override
 
virtual void cancel (lua_State *L) override
 
void addMessage (DtAlgorithmManager::Severity, std::string)
 
virtual DtString serialize () override
 
virtual bool deserialize (const DtString &) override
 
virtual bool complete ()
 
- Public Member Functions inherited from DtLuaAsyncJob
virtual void init (void *userData) override
 
virtual void setOwningObject (DtLocalObject *owningObject)
 
- Public Member Functions inherited from DtAsciiSerializable
 DtAsciiSerializable ()
 
 DtAsciiSerializable (const DtAsciiSerializable &orig)
 
virtual ~DtAsciiSerializable ()
 
virtual std::string objectTypeC () const
 

Static Public Member Functions

static std::shared_ptr
< DtLuaNavFindExitPointJob > 
Make (DtSimulationServices *mgr, DtString navigationProfile, DtLocation3D startPoint, DtLocation3D endPoint, DtActiveBotNavInterface *myNavIf=nullptr)
 
static DtAsciiSerializable * creator ()
 

Protected Member Functions

 DtLuaNavFindExitPointJob (DtSimulationServices *mgr, DtString navigationProfile, DtLocation3D startPoint, DtLocation3D endPoint, DtActiveBotNavInterface *myNavIf=nullptr)
 
- Protected Member Functions inherited from DtLuaNavJob
 DtLuaNavJob (DtSimulationServices *mgr, DtString navigationProfile, DtLocation3D startPoint, DtLocation3D accessPoint=DtLocation3D(DtVector::zero()), Points boundingArea=Points())
 
- Protected Member Functions inherited from DtLuaAsyncJob
 DtLuaAsyncJob ()
 
 DtLuaAsyncJob (DtSimulationServices *)
 

Protected Attributes

DtLocation3D myStartPoint
 
DtLocation3D myEndPoint
 
DtLocation3D myResultPoint
 
DtActiveBotNavInterface * myNavIf
 
bool myGenerated
 
bool myFailed
 
- Protected Attributes inherited from DtLuaNavJob
DtString myNavigationProfile
 
DtLocation3D myStartPoint
 
DtLocation3D myAccessPoint
 
Points myBoundingArea
 
std::string myMessage
 
bool myStarted = false
 
DtNavAreaQuery::Ptr myQuery
 
- Protected Attributes inherited from DtLuaAsyncJob
DtSimulationServices * mySimulationServices
 

Additional Inherited Members

- Public Types inherited from DtLuaNavJob
typedef std::list< DtLocation3D > Points
 

Constructor & Destructor Documentation

DtLuaNavFindExitPointJob::DtLuaNavFindExitPointJob ( )

For creating when deserializing.

virtual DtLuaNavFindExitPointJob::~DtLuaNavFindExitPointJob ( )
overridevirtual

DTOR.

DtLuaNavFindExitPointJob::DtLuaNavFindExitPointJob ( DtSimulationServices *  mgr,
DtString  navigationProfile,
DtLocation3D  startPoint,
DtLocation3D  endPoint,
DtActiveBotNavInterface *  myNavIf = nullptr 
)
protected

For creating from lua call.

Member Function Documentation

static std::shared_ptr<DtLuaNavFindExitPointJob> DtLuaNavFindExitPointJob::Make ( DtSimulationServices *  mgr,
DtString  navigationProfile,
DtLocation3D  startPoint,
DtLocation3D  endPoint,
DtActiveBotNavInterface *  myNavIf = nullptr 
)
static
virtual luabind::object DtLuaNavFindExitPointJob::getObject ( lua_State *  L,
int &  index,
std::string &  message 
)
overridevirtual

Retrieve value - in this case, a single point ([0,0,0] when no valid point found)

Implements DtLuaNavJob.

static DtAsciiSerializable* DtLuaNavFindExitPointJob::creator ( )
static

DtAsciiSerializable functions.

virtual DtString DtLuaNavFindExitPointJob::objectType ( ) const
inlineoverridevirtual

Should return the string name of this object. The object name should not be part of the serialization unless you want it to be, but you should take it into account when implementing both functions.

Implements DtLuaNavJob.

References DtLuaNavFindExitPointJobType.

virtual void DtLuaNavFindExitPointJob::start ( )
overridevirtual

Reimplemented from DtLuaNavJob.

virtual void DtLuaNavFindExitPointJob::run ( const DtAlgorithmManager &  mgr = DtAlgorithmManager())
overridevirtual

Implements DtLuaNavJob.

virtual void DtLuaNavFindExitPointJob::taskComplete ( )
overridevirtual

Called by task object whenever it is done.

Implements DtLuaNavJob.

Member Data Documentation

DtLocation3D DtLuaNavFindExitPointJob::myStartPoint
protected
DtLocation3D DtLuaNavFindExitPointJob::myEndPoint
protected
DtLocation3D DtLuaNavFindExitPointJob::myResultPoint
protected
DtActiveBotNavInterface* DtLuaNavFindExitPointJob::myNavIf
protected
bool DtLuaNavFindExitPointJob::myGenerated
protected
bool DtLuaNavFindExitPointJob::myFailed
protected

The documentation for this class was generated from the following file:

Document ID: Generated on Thu Oct 15 21:27:02 EDT 2026 from SVN revision 296421
Copyright © 2005-2026 MAK Technologies. All Rights Reserved (www.mak.com)