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 | Protected Attributes
DtPlaceObjectEvent Class Reference

The DtPlaceObjectEvent will be handled by the object manager in order to place local objects using the object state repository place(...) method, else will send a set location/set heading message for remote objects.

Inheritance diagram for DtPlaceObjectEvent:
Inheritance graph
[legend]

Public Member Functions

 DtPlaceObjectEvent ()
 
 DtPlaceObjectEvent (const DtPlaceObjectEvent &orig)
 
virtual ~DtPlaceObjectEvent () override
 
virtual DtEventclone () const override
 
virtual bool processLocally () const override
 
virtual bool isNetworkEvent () const override
 
void setUUID (const DtUUID &)
 
const DtUUIDuuid () const
 
void setLocation (const DtVector &)
 
bool locationSpecified () const
 
const DtVector & location () const
 
void setHeading (double)
 
bool headingSpecified () const
 
double heading () const
 
- Public Member Functions inherited from makVrfEvents::DtEvent
 DtEvent ()
 
 DtEvent (EventType t)
 
 DtEvent (const DtEvent &orig)
 
virtual ~DtEvent ()
 
EventType eventType () const
 
void setSelfReflect (bool b)
 
bool selfReflect () const
 
DtEventoperator= (const DtEvent &)
 

Protected Attributes

DtUUID myUUID
 
DtVector myLocation
 
bool myLocationSpecified
 
double myHeading
 
bool myHeadingSpecified
 
- Protected Attributes inherited from makVrfEvents::DtEvent
EventType myEventType
 
bool mySelfReflect
 

Additional Inherited Members

- Public Types inherited from makVrfEvents::DtEvent
enum  EventType {
  Unknown = 0, DetonationEvent = 1, FireEvent = 2, DataInteractionEvent = 3,
  RawSignalInteractionEvent = 4, InfluenceInteractionEvent = 5, SensorFieldOfViewControlEvent = 6, CommentInteractionEvent = 7,
  SimControlEvent = 8, DIGuyActionEvent = 9, RadioMessageReceivedEvent = 10, ScenarioLoadedEvent = 11,
  LoadScenarioEvent = 12, CloseScenarioEvent = 13, SetEvent = 14, TransferRequestEvent = 15,
  TransferResponseEvent = 16, InitiateTakeEvent = 17, OwnershipAcquisitionAcquiredEvent = 18, OwnershipAcquisitionDivestedEvent = 19,
  OwnershipAcquisitionRejectedEvent = 20, CollisionEvent = 22, ServiceRequestEvent = 23, ResupplyOfferEvent = 24,
  ResupplyReceivedEvent = 25, ResupplyCancelEvent = 26, VrfSignalInteractionEvent = 27, ExternalCommsSignalInteractionEvent = 28,
  IffInterrogatorEvent = 29, IffInterrogatorResponseEvent = 30, ResourceRequestEvent = 31, ResourceResponseEvent = 32,
  ChatMessageEvent = 33, TaskEvent = 34, GuiEvent = 35, UserEvent = 128
}
 
- Static Public Member Functions inherited from makVrfEvents::DtEvent
static enum EventType UniqueEventTypeFor (const std::string &)
 

Constructor & Destructor Documentation

DtPlaceObjectEvent::DtPlaceObjectEvent ( )
DtPlaceObjectEvent::DtPlaceObjectEvent ( const DtPlaceObjectEvent orig)
virtual DtPlaceObjectEvent::~DtPlaceObjectEvent ( )
overridevirtual

Member Function Documentation

virtual DtEvent* DtPlaceObjectEvent::clone ( ) const
inlineoverridevirtual

Implements makVrfEvents::DtEvent.

virtual bool DtPlaceObjectEvent::processLocally ( ) const
inlineoverridevirtual

There are some events that, if sent over the network, don't want to be processed locally. Event these events (if not sent) do not want to be processed locally. Return false from this method to never process this event locally.

Reimplemented from makVrfEvents::DtEvent.

virtual bool DtPlaceObjectEvent::isNetworkEvent ( ) const
inlineoverridevirtual

Reimplemented from makVrfEvents::DtEvent.

void DtPlaceObjectEvent::setUUID ( const DtUUID )
const DtUUID& DtPlaceObjectEvent::uuid ( ) const
void DtPlaceObjectEvent::setLocation ( const DtVector &  )

In geocentric coordinates.

bool DtPlaceObjectEvent::locationSpecified ( ) const
const DtVector& DtPlaceObjectEvent::location ( ) const
void DtPlaceObjectEvent::setHeading ( double  )

In true radians.

bool DtPlaceObjectEvent::headingSpecified ( ) const
double DtPlaceObjectEvent::heading ( ) const

Member Data Documentation

DtUUID DtPlaceObjectEvent::myUUID
protected
DtVector DtPlaceObjectEvent::myLocation
protected
bool DtPlaceObjectEvent::myLocationSpecified
protected
double DtPlaceObjectEvent::myHeading
protected
bool DtPlaceObjectEvent::myHeadingSpecified
protected

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

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)