#include <SharedState.h>
vrb::SharedStateBase::~SharedStateBase |
( |
| ) |
|
|
virtual |
void vrb::SharedStateBase::becomeMaster |
( |
| ) |
|
void vrb::SharedStateBase::frame |
( |
double |
time | ) |
|
bool vrb::SharedStateBase::getMute |
( |
| ) |
|
float vrb::SharedStateBase::getSyncInerval |
( |
| ) |
|
resubscribe to the local registry and the vrb after sessionID has changed
void vrb::SharedStateBase::setMute |
( |
bool |
m | ) |
|
void vrb::SharedStateBase::setSyncInterval |
( |
float |
time | ) |
|
void vrb::SharedStateBase::setUpdateFunction |
( |
std::function< void(void)> |
function | ) |
|
let the SharedState call the given function when the registry entry got changed from the server
is called from the registryAcces when the registry entry got changed from the server
Implements vrb::regVarObserver.
bool vrb::SharedStateBase::valueChangedByOther |
( |
| ) |
const |
returns true if the last value change was made by an other client
const std::string vrb::SharedStateBase::className = "SharedState" |
|
protected |
bool vrb::SharedStateBase::doReceive = false |
|
protected |
bool vrb::SharedStateBase::doSend = false |
|
protected |
double vrb::SharedStateBase::lastUpdateTime = 0.0 |
|
private |
bool vrb::SharedStateBase::muted = false |
|
private |
the session to send updates to
bool vrb::SharedStateBase::send = false |
|
private |
SessionID vrb::SharedStateBase::sessionID = 0 |
|
private |
float vrb::SharedStateBase::syncInterval = 0.1f |
|
private |
std::function<void(void)> vrb::SharedStateBase::updateCallback |
|
protected |
bool vrb::SharedStateBase::valueChanged = false |
|
protected |
The documentation for this class was generated from the following files: