19#include <vlpi/entityIdentifier.h>
20#include <vlutil/vlString.h>
21#include <vlutil/vlTime.h>
93 virtual void setId(
unsigned long id);
99 virtual unsigned long id()
const;
114 virtual std::string
name()
const;
DtEntityIdentifier myEntityId
Identifier of the entity controlled by this application.
Definition vrengageStatusPublisher.h:237
DtVreStatusPublisher & operator=(const DtVreStatusPublisher &orig)
Assignment operator.
DtTime myTimeLastSent
Time when the last status message was sent.
Definition vrengageStatusPublisher.h:222
std::string myName
Name of this application.
Definition vrengageStatusPublisher.h:231
bool myHasBeenModified
Flag indicating if the publisher has been modified since the last message.
Definition vrengageStatusPublisher.h:225
virtual void setFinalStatus(bool status)
Sets the final status flag.
DtVreStatusPublisher()
Constructor.
virtual void setPlayerName(const DtString &name)
Sets the player name.
virtual std::string name() const
Gets the application name.
virtual ~DtVreStatusPublisher()
Virtual destructor.
int myHeartbeatInterval
Interval in milliseconds between status messages.
Definition vrengageStatusPublisher.h:219
virtual bool spectatorMode() const
Gets the spectator mode flag.
virtual DtEntityIdentifier entityId() const
Gets the controlled entity ID.
virtual int heartbeatInterval()
Gets the current heartbeat interval.
virtual void setStationName(const std::string &name)
Sets the station name (player role)
virtual DtString playerName() const
Gets the player name.
virtual std::string stationName() const
Gets the station name (player role)
virtual unsigned long id() const
Gets the application ID.
virtual bool finalStatus() const
Gets the final status flag.
static DtEntityIdentifier getEntityId()
Gets the static controlled entity ID.
std::string myStationName
Name of the station/role this player is operating.
Definition vrengageStatusPublisher.h:240
std::string myPlayerName
Name of the player using this application.
Definition vrengageStatusPublisher.h:234
virtual void setName(const std::string &name)
Sets the application name.
static DtEntityIdentifier theEntityId
Static entity identifier for global access.
Definition vrengageStatusPublisher.h:252
virtual void sendStatus()
Sends a status message immediately.
virtual void setId(unsigned long id)
Sets the application ID.
virtual void setSpectatorMode(bool mode)
Sets the spectator mode flag.
virtual void setHeartbeatInterval(int heartbeatInterval)
Sets the heartbeat interval.
virtual void tick()
Updates the publisher and sends status messages when necessary.
virtual void setEntityId(const DtEntityIdentifier &entityId)
Sets the controlled entity ID.
bool mySpectatorMode
Flag indicating whether the player is in spectator mode.
Definition vrengageStatusPublisher.h:243
bool myFinalStatus
Flag indicating if this is a final status message.
Definition vrengageStatusPublisher.h:246
DtVreStatusPublisher(const DtVreStatusPublisher &orig)
Copy constructor.
unsigned long long myId
Unique identifier for this application.
Definition vrengageStatusPublisher.h:228
Defines export macros for the VR-Engage Player Station library.
#define PLAYERSTATION_DLL
Definition export.h:24
Include export definitions for this library.
Definition glsVreMessageUtil.h:49