VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Types | Public Member Functions | Protected Attributes
makVrfEvents::DtSimControlEvent Class Reference
Inheritance diagram for makVrfEvents::DtSimControlEvent:
Inheritance graph
[legend]

Public Types

enum  SimControl { Unknown = 0, Play = 1, Pause = 2 }
 
- 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, OwnershipAcquisitionRejectedEvent = 19,
  TransferAcquisitionRequestEvent = 20, TransferAcquisitionResponseEvent = 21, CollisionEvent = 22, ServiceRequestEvent = 23,
  ResupplyOfferEvent = 24, ResupplyReceivedEvent = 25, ResupplyCancelEvent = 26, VrfSignalInteractionEvent = 27,
  ExternalCommsSignalInteractionEvent = 28, IffInterrogatorEvent = 29, IffInterrogatorResponseEvent = 30, UserEvent = 128
}
 

Public Member Functions

 DtSimControlEvent ()
 
 DtSimControlEvent (SimControl control)
 
 DtSimControlEvent (const DtSimControlEvent &orig)
 
virtual ~DtSimControlEvent ()
 
virtual DtEventclone () const
 
virtual bool processLocally () const
 
void setReceiver (const DtSimulationAddress &addr)
 
const DtSimulationAddress & receiver () const
 
void setSimControl (SimControl c)
 
SimControl simControl () const
 
- Public Member Functions inherited from makVrfEvents::DtEvent
 DtEvent ()
 
 DtEvent (EventType t)
 
 DtEvent (const DtEvent &orig)
 
virtual ~DtEvent ()
 
EventType eventType () const
 
virtual bool isNetworkEvent () const
 
void setSelfReflect (bool b)
 
bool selfReflect () const
 
DtEventoperator= (const DtEvent &)
 

Protected Attributes

SimControl mySimControl
 
DtSimulationAddress myReceiver
 
- Protected Attributes inherited from makVrfEvents::DtEvent
EventType myEventType
 
bool mySelfReflect
 

Additional Inherited Members

- Static Public Member Functions inherited from makVrfEvents::DtEvent
static enum EventType UniqueEventTypeFor (const std::string &)
 

Member Enumeration Documentation

Enumerator
Unknown 
Play 
Pause 

Constructor & Destructor Documentation

makVrfEvents::DtSimControlEvent::DtSimControlEvent ( )
inline
makVrfEvents::DtSimControlEvent::DtSimControlEvent ( SimControl  control)
inline
makVrfEvents::DtSimControlEvent::DtSimControlEvent ( const DtSimControlEvent orig)
inline
virtual makVrfEvents::DtSimControlEvent::~DtSimControlEvent ( )
inline

Member Function Documentation

virtual DtEvent* makVrfEvents::DtSimControlEvent::clone ( ) const
inlinevirtual

Implements makVrfEvents::DtEvent.

virtual bool makVrfEvents::DtSimControlEvent::processLocally ( ) const
inlinevirtual

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.

void makVrfEvents::DtSimControlEvent::setReceiver ( const DtSimulationAddress &  addr)
inline
const DtSimulationAddress& makVrfEvents::DtSimControlEvent::receiver ( ) const
inline
void makVrfEvents::DtSimControlEvent::setSimControl ( SimControl  c)
inline
SimControl makVrfEvents::DtSimControlEvent::simControl ( ) const
inline

Member Data Documentation

SimControl makVrfEvents::DtSimControlEvent::mySimControl
protected
DtSimulationAddress makVrfEvents::DtSimControlEvent::myReceiver
protected

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

Document ID: Generated on Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)