15 #include "vlutil/vlMutex.h"
28 typedef std::vector<DtLocation3D>
Points;
75 static std::shared_ptr<DtLuaPathJob> Make(
83 bool returnMultiPartPath =
false,
84 bool adjustStartIfInObstacle =
false);
93 virtual luabind::object
getObject(lua_State* L,
int& index, std::string& message)
override;
96 virtual luabind::object
getDebugObject(lua_State* L)
override {
return luabind::newtable(L); }
99 virtual void cancel(lua_State* L)
override {};
122 std::shared_ptr<DtLuaPathJob> shared_from_this();
123 std::shared_ptr<const DtLuaPathJob> shared_from_this()
const;
130 friend class PathTask;
141 bool returnMultiPartPath =
false);
152 const double offRoadPathWeight,
153 bool returnMultiPartPath =
false);
std::string myObstaclesType
Definition: luaPathJob.h:164
bool myAdjustStartIfInObstacle
Definition: luaPathJob.h:181
virtual luabind::object getDebugObject(lua_State *L) override
Retrieve debug data, if available. Default return value is an empty table.
Definition: luaPathJob.h:96
Definition: luaPathJob.h:36
Definition: luaPathJob.h:37
Severity
Definition: algorithmManager.h:29
DtMutex Mutex
Definition: luaPathJob.h:161
virtual PathPartType partType() override
Definition: luaPathJob.h:60
Points myPoints
Definition: luaPathJob.h:171
Definition: asciiSerializable.h:42
Interface for getting asynchronously computed data into Lua.
Definition: luaAsyncJob.h:50
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:177
std::vector< DtRailSegment > mySegments
Definition: luaPathJob.h:54
virtual DtString serialize()=0
The following characters are reserved and cannot be used in serialization: '|', ':'.
Definition: luaPathJob.h:57
std::vector< DtVector > myLocalLocations
Definition: luaPathJob.h:61
std::shared_ptr< DtAsyncJobMapEntry > myJobEntry
Definition: luaPathJob.h:176
Definition: luaPathJob.h:64
std::list< DtWeightFactor > DtWeightFactorsList
Definition: aStarGraph.h:268
virtual void setOwningObject(DtLocalObject *owningObject)
Called by framework when deserializing to inform of the owning object.
DtPartList myPathParts
DtRailSegmentList mySegmentList;.
Definition: luaPathJob.h:173
std::vector< DtLocation3D > Points
Definition: luaPathJob.h:28
virtual PathPartType partType() override
Definition: luaPathJob.h:52
#define DT_DLL_vrfLua
This file is used to determine how to build.
Definition: vrfLuaDefines.h:25
Definition: luaPathJob.h:49
virtual void cancel(lua_State *L) override
Currently a no-op.
Definition: luaPathJob.h:99
virtual luabind::object getObject(lua_State *L, int &index, std::string &message)=0
Retrieve current value.
std::string myPathType
Definition: luaPathJob.h:165
DtLocation3D myDest
Definition: luaPathJob.h:167
double myOffRoadPathWeight
Definition: luaPathJob.h:170
virtual PathPartType partType()
Definition: luaPathJob.h:45
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:97
Definition: luaPathJob.h:41
MAKVRinTerra::DtAStarGraph::DtWeightFactorsList myWeights
Definition: luaPathJob.h:169
bool myTaskComplete
Definition: luaPathJob.h:175
DtLocation3D myStart
Definition: luaPathJob.h:166
double myBuffer
Definition: luaPathJob.h:168
DtVector myLocalEndLocation
Definition: luaPathJob.h:46
bool myReturnMultiPartPath
If true, getObject fills out a multi part path. Otherwise, getObject just fills out a location list...
Definition: luaPathJob.h:180
Lua object class which represents a feature navigation task.
Definition: luaPathJob.h:25
Mutex myMutex
Definition: luaPathJob.h:163
std::vector< DtPathPart * > myPartList
Definition: luaPathJob.h:69
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 locally simulated VRF object.
Definition: localObject.h:98
A location3D is a point in space, i.e. a geocentric coordinate.
Definition: scriptGeometry.h:22