15 #include "vlutil/vlMutex.h"
28 typedef std::vector<DtLocation3D>
Points;
76 static std::shared_ptr<DtLuaPathJob> Make(
83 bool returnMultiPartPath =
false);
86 static std::shared_ptr<DtLuaPathJob> Make(
94 const double offRoadPathWeight,
95 bool returnMultiPartPath =
false);
104 virtual luabind::object
getObject(lua_State* L,
int& index, std::string& message)
override;
107 virtual luabind::object
getDebugObject(lua_State* L)
override {
return luabind::newtable(L); }
110 virtual void cancel(lua_State* L)
override {};
126 std::shared_ptr<DtLuaPathJob> shared_from_this();
127 std::shared_ptr<const DtLuaPathJob> shared_from_this()
const;
131 friend class PathTask;
142 bool returnMultiPartPath =
false);
153 const double offRoadPathWeight,
154 bool returnMultiPartPath =
false);
std::string myObstaclesType
Definition: luaPathJob.h:165
virtual luabind::object getDebugObject(lua_State *L) override
Retrieve debug data, if available. Default return value is an empty table.
Definition: luaPathJob.h:107
Definition: luaPathJob.h:36
Definition: luaPathJob.h:37
Severity
Definition: algorithmManager.h:29
DtMutex Mutex
Definition: luaPathJob.h:162
virtual PathPartType partType() override
Definition: luaPathJob.h:59
Points myPoints
Definition: luaPathJob.h:172
Definition: asciiSerializable.h:40
Interface for getting asynchronously computed data into Lua.
Definition: luaAsyncJob.h:27
virtual bool deserialize(const DtString &)=0
This function should take the string that was serialized via serialize() and fill this object with th...
std::string myMessage
Definition: luaPathJob.h:178
std::vector< DtRailSegment > mySegments
Definition: luaPathJob.h:53
virtual DtString serialize()=0
The following characters are reserved and cannot be used in serialization: '|', ':'.
Definition: luaPathJob.h:56
std::vector< DtVector > myLocalLocations
Definition: luaPathJob.h:60
std::shared_ptr< DtAsyncJobMapEntry > myJobEntry
Definition: luaPathJob.h:177
Definition: luaPathJob.h:63
std::list< DtWeightFactor > DtWeightFactorsList
Definition: aStarGraph.h:229
DtPartList myPathParts
DtRailSegmentList mySegmentList;.
Definition: luaPathJob.h:174
std::vector< DtLocation3D > Points
Definition: luaPathJob.h:28
virtual PathPartType partType() override
Definition: luaPathJob.h:51
#define DT_DLL_vrfLua
This file is used to determine how to build.
Definition: vrfLuaDefines.h:25
Definition: luaPathJob.h:48
virtual void cancel(lua_State *L) override
Currently a no-op.
Definition: luaPathJob.h:110
virtual luabind::object getObject(lua_State *L, int &index, std::string &message)=0
Retrieve current value.
std::string myPathType
Definition: luaPathJob.h:166
DtLocation3D myDest
Definition: luaPathJob.h:168
double myOffRoadPathWeight
Definition: luaPathJob.h:171
virtual PathPartType partType()
Definition: luaPathJob.h:44
Handle to async job.
Definition: asyncJobMapEntry.h:29
virtual DtString objectType() const =0
Should return the string name of this object. The object name should not be part of the serialization...
Central access point of all non-object-specific the services and managers that are available for use ...
Definition: simulationServices.h:96
Definition: luaPathJob.h:41
MAKVRinTerra::DtAStarGraph::DtWeightFactorsList myWeights
Definition: luaPathJob.h:170
bool myTaskComplete
Definition: luaPathJob.h:176
DtLocation3D myStart
Definition: luaPathJob.h:167
double myBuffer
Definition: luaPathJob.h:169
DtVector myLocalEndLocation
Definition: luaPathJob.h:45
bool myReturnMultiPartPath
If true, getObject fills out a multi part path. Otherwise, getObject just fills out a location list...
Definition: luaPathJob.h:181
Lua object class which represents a feature navigation task.
Definition: luaPathJob.h:25
Mutex myMutex
Definition: luaPathJob.h:164
std::vector< DtPathPart * > myPartList
Definition: luaPathJob.h:68
General interface which can be passed into an algorithm to control its behavior.
Definition: algorithmManager.h:24
PathPartType
---—— Structures for returning multiPart Paths ——
Definition: luaPathJob.h:34
char * dest
Definition: lz4.h:440
A location3D is a point in space, i.e. a geocentric coordinate.
Definition: scriptGeometry.h:22