SoRemoteVizClient::ServiceMessageEventArg Struct Reference

Structure given when a ServiceMessage event is raised. More...

#include <RemoteViz/Clients/nodes/SoRemoteVizClient.h>

Inheritance diagram for SoRemoteVizClient::ServiceMessageEventArg:
SbEventArg

List of all members.

Public Types

enum  State {
  CONNECTED,
  DISCONNECTED,
  START_NETWORK_CALIBRATION,
  FINISH_NETWORK_CALIBRATION,
  START_BANDWIDTH_CALIBRATION,
  FINISH_BANDWIDTH_CALIBRATION,
  START_LATENCY_CALIBRATION,
  FINISH_LATENCY_CALIBRATION
}

Public Member Functions

 ServiceMessageEventArg (SoRemoteVizClient *source, State state, SbVec2s renderAreaSize, const SbString &details)
SoRemoteVizClientgetSource () const
State getState () const
const SbVec2sgetRenderAreaSize () const
const SbStringgetDetails () const

Detailed Description

Structure given when a ServiceMessage event is raised.

Please refer to onServiceMessage event.


Member Enumeration Documentation

Enumerator:
CONNECTED 
DISCONNECTED 
START_NETWORK_CALIBRATION 
FINISH_NETWORK_CALIBRATION 
START_BANDWIDTH_CALIBRATION 
FINISH_BANDWIDTH_CALIBRATION 
START_LATENCY_CALIBRATION 
FINISH_LATENCY_CALIBRATION 

Constructor & Destructor Documentation

SoRemoteVizClient::ServiceMessageEventArg::ServiceMessageEventArg ( SoRemoteVizClient source,
State  state,
SbVec2s  renderAreaSize,
const SbString details 
) [inline]

Default constructor.


Member Function Documentation

const SbString& SoRemoteVizClient::ServiceMessageEventArg::getDetails (  )  const [inline]

Returns details of the event.

If State is equal to DISCONNECTED: This parameter is the disconnected reason. It can take the following values "DISPOSED", "REFUSED", "KICKED", "LICENSE" and "NETWORKFAILURE". If State is equal to FINISH_BANDWIDTH_CALIBRATION: This parameter is the network bandwidth calibration value (in bit/s). Else if State is equal to FINISH_LATENCY_CALIBRATION: This parameter is the network latency calibration value (in ms). Else this parameter is empty.

const SbVec2s& SoRemoteVizClient::ServiceMessageEventArg::getRenderAreaSize (  )  const [inline]

Returns the renderArea size.

SoRemoteVizClient* SoRemoteVizClient::ServiceMessageEventArg::getSource (  )  const [inline]

Returns the SoRemoteVizClient node that triggered the event.

State SoRemoteVizClient::ServiceMessageEventArg::getState (  )  const [inline]

Returns the connection state with the service.


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

Open Inventor Toolkit reference manual, generated on 12 Feb 2024
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/