![]() |
VR-Forces 4.10 Class Documentation
|

Public Member Functions | |
| DtAsciiSerializable () | |
| The implementer of this interface should be sure to create a creator function to create an empty object that returns a pointer to this interface. More... | |
| DtAsciiSerializable (const DtAsciiSerializable &orig) | |
| virtual | ~DtAsciiSerializable () |
| virtual DtString | objectType () const =0 |
| Should return the string name of this object. More... | |
| virtual std::string | objectTypeC () const |
| Returns a std::string version of the objectType. More... | |
| virtual DtString | serialize ()=0 |
| The following characters are reserved and cannot be used in serialization: '|', ':'. More... | |
| virtual bool | deserialize (const DtString &)=0 |
| This function should take the string that was serialized via serialize() and fill this object with the correct data. More... | |
| virtual void | init (void *userData) |
| This function is called right after the object is constructed during the deserialization process, but before deserialize() is called. More... | |
|
inline |
The implementer of this interface should be sure to create a creator function to create an empty object that returns a pointer to this interface.
|
inline |
|
inlinevirtual |
|
pure virtual |
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.
Implemented in DtVectorOffset3D, DtVectorGeoc3D, DtUUID, DtLuaNavFindPathJob, DtScriptVrfObject, DtVector2D, DtLuaNavCoverPointJob, DtLuaNavPointOfInterestJob, DtVector3D, DtLuaNavRandomPointJob, DtScriptAnimationModel, DtLuaFeatureGeometry, DtScriptComponentSystem, DtTranslatableStream, DtLuaPathJob, DtLuaEmbarkationEgressPointsQueryJob, DtLuaEmbarkationSlotQueryJob, DtLuaEmbarkationSlotReservationJob, DtLuaFeatureSet, DtLuaNavJob, and DtLocation3D.
Referenced by vrfLua::DtAsciiDeserializeLua().
|
inlinevirtual |
Returns a std::string version of the objectType.
This is used in the Lua API.
References objectType().
|
pure virtual |
The following characters are reserved and cannot be used in serialization: '|', ':'.
Implemented in DtVectorOffset3D, DtVectorGeoc3D, DtUUID, DtScriptVrfObject, DtVector3D, DtScriptAnimationModel, DtLuaFeatureGeometry, DtScriptComponentSystem, DtTranslatableStream, DtLuaFeatureSet, DtLuaPathJob, DtLuaEmbarkationEgressPointsQueryJob, DtLuaEmbarkationSlotQueryJob, DtLuaEmbarkationSlotReservationJob, DtLocation3D, and DtLuaNavJob.
This function should take the string that was serialized via serialize() and fill this object with the correct data.
Implemented in DtVectorOffset3D, DtVectorGeoc3D, DtUUID, DtScriptVrfObject, DtVector3D, DtScriptAnimationModel, DtLuaFeatureGeometry, DtScriptComponentSystem, DtTranslatableStream, DtLuaFeatureSet, DtLuaPathJob, DtLuaEmbarkationEgressPointsQueryJob, DtLuaEmbarkationSlotQueryJob, DtLuaEmbarkationSlotReservationJob, DtLocation3D, and DtLuaNavJob.
Referenced by vrfLua::DtAsciiDeserializeLua().
|
inlinevirtual |
This function is called right after the object is constructed during the deserialization process, but before deserialize() is called.
The Lua object deserializer will pass the address of the sim manager (DtSimManager) as the argument. This DtAsciiSerializable object can use the Sim Manager to get a VRF Object pointer from the object manager using the object name, for example.
Reimplemented in DtLuaFeatureGeometry, DtScriptAnimationModel, and DtLuaAsyncJob.