base class for collaborative Userinterface elements
More...
#include <vruiCollabInterface.h>
base class for collaborative Userinterface elements
◆ anonymous enum
Enumerator |
---|
NONE | |
VALUEPOTI | |
HSVWHEEL | |
PUSHBUTTON | |
TOGGLEBUTTON | |
FunctionEditor | |
PinEditor | |
◆ vruiCollabInterface()
vrui::vruiCollabInterface::vruiCollabInterface |
( |
vruiCOIM * |
manager, |
|
|
const std::string & |
interfaceName, |
|
|
int |
iType = NONE |
|
) |
| |
Constructor.
- Parameters
-
c | the current coim |
interfaceName | symbolic name of this UI |
iType | interface type |
◆ ~vruiCollabInterface()
vrui::vruiCollabInterface::~vruiCollabInterface |
( |
| ) |
|
|
virtual |
Destructor, removes references to this interface from its coim.
◆ getManager()
vruiCOIM * vrui::vruiCollabInterface::getManager |
( |
| ) |
|
|
inline |
◆ getType()
int vrui::vruiCollabInterface::getType |
( |
| ) |
const |
get the interface type
- Returns
- the type of this interface
◆ parseMessage()
void vrui::vruiCollabInterface::parseMessage |
( |
int |
type, |
|
|
unsigned int |
len, |
|
|
const char * |
message |
|
) |
| |
|
virtual |
this method is called when a message from a remote UI arrives
- Parameters
-
type | message type |
len | message length |
message | the message |
◆ releaseRemoteLock()
void vrui::vruiCollabInterface::releaseRemoteLock |
( |
const char * |
message | ) |
|
|
protectedvirtual |
this method is called whenever a remote interaction is finished.
local ineractions should be allowed again.
- Parameters
-
message | custom message from remote ui |
Reimplemented in vrui::coValuePoti.
◆ remoteLock()
void vrui::vruiCollabInterface::remoteLock |
( |
const char * |
message | ) |
|
|
protectedvirtual |
this method is called whenever a remote interaction is started.
local ineractions should be locked now.
- Parameters
-
message | custom message from remote ui |
Reimplemented in vrui::coValuePoti.
◆ remoteOngoing()
void vrui::vruiCollabInterface::remoteOngoing |
( |
const char * |
message | ) |
|
|
protectedvirtual |
this method is called whenever a remote interaction is going on.
local events should be generated.
- Parameters
-
message | custom message from remote ui (e.g. current value) |
Reimplemented in vrui::coValuePoti, and vrui::coSlopePoti.
◆ sendLockMessage()
void vrui::vruiCollabInterface::sendLockMessage |
( |
const char * |
message | ) |
|
|
protected |
lock the interaction with remote interfaces
- Parameters
-
message | custom message sent to remote uis |
◆ sendOngoingMessage()
void vrui::vruiCollabInterface::sendOngoingMessage |
( |
const char * |
message | ) |
|
|
protected |
send interactions to remote interfaces
- Parameters
-
message | custom message (e.g. current value) sent to remote uis |
◆ sendReleaseMessage()
void vrui::vruiCollabInterface::sendReleaseMessage |
( |
const char * |
message | ) |
|
|
protected |
unlock the interaction with remote interfaces
- Parameters
-
message | custom message sent to remote uis |
◆ setType()
void vrui::vruiCollabInterface::setType |
( |
int |
iType | ) |
|
|
protected |
set the type of the this interface
- Parameters
-
◆ remoteContext
int vrui::vruiCollabInterface::remoteContext |
|
protected |
a remote context (if this UI element is used in several contexts)
The documentation for this class was generated from the following files: