RflySimSDK v3.05
RflySimSDK说明文档
载入中...
搜索中...
未找到
vrpn_Mutex_Server类 参考
+ 类 vrpn_Mutex_Server 继承关系图:
+ vrpn_Mutex_Server 的协作图:

Public 成员函数

 vrpn_Mutex_Server (const char *name, vrpn_Connection *=NULL)
 
- Public 成员函数 继承自 vrpn_Mutex
 vrpn_Mutex (const char *name, vrpn_Connection *=NULL)
 
void mainloop (void)
 

Protected 类型

enum  state { HELD , FREE }
 

静态 Protected 成员函数

static int VRPN_CALLBACK handle_requestIndex (void *, vrpn_HANDLERPARAM)
 
static int VRPN_CALLBACK handle_requestMutex (void *, vrpn_HANDLERPARAM)
 
static int VRPN_CALLBACK handle_release (void *, vrpn_HANDLERPARAM)
 
static int VRPN_CALLBACK handle_gotConnection (void *, vrpn_HANDLERPARAM)
 
static int VRPN_CALLBACK handle_dropLastConnection (void *, vrpn_HANDLERPARAM)
 

Protected 属性

state d_state
 
vrpn_int32 d_remoteIndex
 Counts remotes who have had IDs issued to them.
 
- Protected 属性 继承自 vrpn_Mutex
vrpn_Connectiond_connection
 
vrpn_int32 d_myId
 
vrpn_int32 d_requestIndex_type
 
vrpn_int32 d_requestMutex_type
 
vrpn_int32 d_release_type
 
vrpn_int32 d_releaseNotification_type
 
vrpn_int32 d_grantRequest_type
 
vrpn_int32 d_denyRequest_type
 
vrpn_int32 d_initialize_type
 

额外继承的成员函数

- Protected 成员函数 继承自 vrpn_Mutex
void sendRequest (vrpn_int32 index)
 
void sendRelease (void)
 
void sendReleaseNotification (void)
 
void sendGrantRequest (vrpn_int32 index)
 
void sendDenyRequest (vrpn_int32 index)
 

类成员变量说明

◆ d_remoteIndex

vrpn_int32 d_remoteIndex
protected

Counts remotes who have had IDs issued to them.


该类的文档由以下文件生成: