18 #include <vlutil/vlNetTypes.h>
23 #include <vlpi/disEnums.h>
64 virtual void setEmitterId(DtU8
id);
65 virtual DtU8 emitterId()
const;
67 virtual void setOn(
bool onOff);
68 virtual bool on()
const;
80 virtual bool setFromNet(
const char* contentBuffer,
unsigned contentSize)
override;
DtSetEmitterRequest is used to turn on and off DtEmitterComponents installed on entities. Since more than one emitter component can be on a single entity, the emitter ID must be included in the message. This value should match the EmitterID being published with this emitter.
Definition: setEmitterRequest.h:39
virtual bool setToNet()
Sets netRep buffer to the contents of this set request. Base class does nothing and returns true...
DtNetU8 myEmitterId
Definition: setEmitterRequest.h:30
File: setEmitter.h.
Definition: setEmitterRequest.h:28
Definition: readerWriterRegistry.h:39
DtRwBoolean myOn
Definition: setEmitterRequest.h:90
virtual int netRepSize() const
DtRwInt myEmitterId
Definition: setEmitterRequest.h:89
DtSetDataRequest is an abstract base class from which real setDataRequests can derive. It manages the read/write capability; derived classes need only use and register read/writatble data types for derived information.
Definition: setDataRequest.h:41
virtual const DtSetMessageType & type() const =0
What kind of setDataRequest am I? (from radioMsgTypes.h). Returns a string representing the kind of d...
Description: Readable, Writable int.
Definition: rwInt.h:25
virtual DtSetDataRequest * clone(const DtString &name, DtReaderWriterRegistry *parentRegistry=0) const =0
Make a copy of this request. Returns a pointer to a newly created copy of this data request...
const DtSetDataRequest & operator=(const DtSetDataRequest &orig)
assignment operator; same as copy costructor.
virtual bool setFromNet(const char *contentBuffer, unsigned contentSize)
Sets the contents of this set request based on the network buffer. Base class does nothing and return...
#define DT_DLL_vrftasks
This file is used to determine how to build.
Definition: vrftasksDefines.h:26
virtual DtString stringRep() const =0
Get a readable string representation of this setDataRequest. Returns a human readable string represen...
Description: Readable, Writable bool.
Definition: rwBoolean.h:26
DtNetBoolean myOn
Definition: setEmitterRequest.h:31