![]() |
VR-Forces Developer's Guide
|
Lua object class which represents a request to find valid points for a unit formation near the given ones.

Public Types | |
| typedef std::vector< DtLocation3D > | Points |
Public Member Functions | |
| DtLuaPlaceFormationJob () | |
| virtual | ~DtLuaPlaceFormationJob () override |
| virtual void | start () |
| virtual luabind::object | getObject (lua_State *L, int &index, std::string &message) override |
| virtual luabind::object | getDebugObject (lua_State *L) override |
| virtual void | cancel (lua_State *L) override |
| virtual void | tick () |
| virtual DtString | serialize () override |
| virtual bool | deserialize (const DtString &) override |
| virtual DtString | objectType () const override |
| std::shared_ptr < DtLuaPlaceFormationJob > | shared_from_this () |
| std::shared_ptr< const DtLuaPlaceFormationJob > | shared_from_this () const |
Public Member Functions inherited from DtLuaAsyncJob | |
| virtual void | init (void *userData) override |
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 < DtLuaPlaceFormationJob > | Make (DtSimulationServices *mgr, std::vector< DtLocation3D > formationPoints, double width) |
| static void | tickCb (void *usr) |
| static DtAsciiSerializable * | creator () |
Protected Member Functions | |
| DtLuaPlaceFormationJob (DtSimulationServices *mgr, std::vector< DtLocation3D > formationPoints, double width) | |
Protected Member Functions inherited from DtLuaAsyncJob | |
| DtLuaAsyncJob () | |
| DtLuaAsyncJob (DtSimulationServices *) | |
Protected Attributes | |
| std::vector< DtLocation3D > | myFormationPoints |
| double | myWidth |
| double | myTestAngleInterval |
| std::unique_ptr < MAKVRinTerra::DtAreaFeatureSet > | myFeatureSet |
| bool | myIsComplete |
| bool | myReadyToClamp |
| std::list< DtVector > | myPointsToClamp |
| std::list< DtLocation3D > | myResultPoints |
Protected Attributes inherited from DtLuaAsyncJob | |
| DtSimulationServices * | mySimulationServices |
| typedef std::vector<DtLocation3D> DtLuaPlaceFormationJob::Points |
| DtLuaPlaceFormationJob::DtLuaPlaceFormationJob | ( | ) |
For creating when deserializing.
|
overridevirtual |
DTOR.
|
protected |
For creating from lua call.
|
static |
|
virtual |
|
overridevirtual |
Retrieve value.
Implements DtLuaAsyncJob.
|
inlineoverridevirtual |
Retrieve debug data, if available. Default return value is an empty table.
Implements DtLuaAsyncJob.
|
inlineoverridevirtual |
Currently a no-op.
Implements DtLuaAsyncJob.
|
static |
|
virtual |
|
static |
DtAsciiSerializable functions.
|
overridevirtual |
The following characters are reserved and cannot be used in serialization: '|', ':'.
Implements DtAsciiSerializable.
This function should take the string that was serialized via serialize() and fill this object with the correct data.
Implements DtAsciiSerializable.
|
overridevirtual |
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 DtAsciiSerializable.
| std::shared_ptr<DtLuaPlaceFormationJob> DtLuaPlaceFormationJob::shared_from_this | ( | ) |
| std::shared_ptr<const DtLuaPlaceFormationJob> DtLuaPlaceFormationJob::shared_from_this | ( | ) | const |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |