vrpn 07.35
Virtual Reality Peripheral Network
Loading...
Searching...
No Matches
vrpn_SharedObject.h File Reference
#include <stddef.h>
#include "vrpn_Configure.h"
#include "vrpn_Shared.h"
#include "vrpn_Types.h"
Include dependency graph for vrpn_SharedObject.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  vrpn_SharedObject
 
struct  vrpn_SharedObject::deferredUpdateCallbackEntry
 
class  vrpn_Shared_int32
 
struct  vrpn_Shared_int32::callbackEntry
 
struct  vrpn_Shared_int32::timedCallbackEntry
 
class  vrpn_Shared_int32_Server
 
class  vrpn_Shared_int32_Remote
 
class  vrpn_Shared_float64
 
struct  vrpn_Shared_float64::callbackEntry
 
struct  vrpn_Shared_float64::timedCallbackEntry
 
class  vrpn_Shared_float64_Server
 
class  vrpn_Shared_float64_Remote
 
class  vrpn_Shared_String
 
struct  vrpn_Shared_String::callbackEntry
 
struct  vrpn_Shared_String::timedCallbackEntry
 
class  vrpn_Shared_String_Server
 
class  vrpn_Shared_String_Remote
 

Macros

#define VRPN_SO_DEFAULT   0x00
 
#define VRPN_SO_IGNORE_IDEMPOTENT   0x01
 
#define VRPN_SO_DEFER_UPDATES   0x10
 
#define VRPN_SO_IGNORE_OLD   0x100
 

Typedefs

typedef int(VRPN_CALLBACKvrpnDeferredUpdateCallback) (void *userdata)
 
typedef int(VRPN_CALLBACKvrpnSharedIntCallback) (void *userdata, vrpn_int32 newValue, vrpn_bool isLocal)
 
typedef int(VRPN_CALLBACKvrpnSharedFloatCallback) (void *userdata, vrpn_float64 newValue, vrpn_bool isLocal)
 
typedef int(VRPN_CALLBACKvrpnSharedStringCallback) (void *userdata, const char *newValue, vrpn_bool isLocal)
 
typedef int(VRPN_CALLBACKvrpnTimedSharedIntCallback) (void *userdata, vrpn_int32 newValue, timeval when, vrpn_bool isLocal)
 
typedef int(VRPN_CALLBACKvrpnTimedSharedFloatCallback) (void *userdata, vrpn_float64 newValue, timeval when, vrpn_bool isLocal)
 
typedef int(VRPN_CALLBACKvrpnTimedSharedStringCallback) (void *userdata, const char *newValue, timeval when, vrpn_bool isLocal)
 
typedef int(VRPN_CALLBACKvrpnSharedIntSerializerPolicy) (void *userdata, vrpn_int32 newValue, timeval when, vrpn_Shared_int32 *object)
 
typedef int(VRPN_CALLBACKvrpnSharedFloatSerializerPolicy) (void *userdata, vrpn_float64 newValue, timeval when, vrpn_Shared_float64 *object)
 
typedef int(VRPN_CALLBACKvrpnSharedStringSerializerPolicy) (void *userdata, const char *newValue, timeval when, vrpn_Shared_String *object)
 

Enumerations

enum  vrpn_SerializerPolicy { vrpn_ACCEPT , vrpn_DENY_REMOTE , vrpn_DENY_LOCAL , vrpn_CALLBACK }
 

Variables

class VRPN_API vrpn_Connection
 
class VRPN_API vrpn_LamportClock
 
class VRPN_API vrpn_LamportTimestamp
 
class VRPN_API vrpn_Shared_String
 
class VRPN_API vrpn_Shared_float64
 
class VRPN_API vrpn_Shared_int32
 

Macro Definition Documentation

◆ VRPN_SO_DEFAULT

#define VRPN_SO_DEFAULT   0x00

Definition at line 75 of file vrpn_SharedObject.h.

◆ VRPN_SO_DEFER_UPDATES

◆ VRPN_SO_IGNORE_IDEMPOTENT

#define VRPN_SO_IGNORE_IDEMPOTENT   0x01

◆ VRPN_SO_IGNORE_OLD

Typedef Documentation

◆ vrpnDeferredUpdateCallback

typedef int(VRPN_CALLBACK * vrpnDeferredUpdateCallback) (void *userdata)

Definition at line 33 of file vrpn_SharedObject.h.

◆ vrpnSharedFloatCallback

typedef int(VRPN_CALLBACK * vrpnSharedFloatCallback) (void *userdata, vrpn_float64 newValue, vrpn_bool isLocal)

Definition at line 38 of file vrpn_SharedObject.h.

◆ vrpnSharedFloatSerializerPolicy

typedef int(VRPN_CALLBACK * vrpnSharedFloatSerializerPolicy) (void *userdata, vrpn_float64 newValue, timeval when, vrpn_Shared_float64 *object)

Definition at line 65 of file vrpn_SharedObject.h.

◆ vrpnSharedIntCallback

typedef int(VRPN_CALLBACK * vrpnSharedIntCallback) (void *userdata, vrpn_int32 newValue, vrpn_bool isLocal)

Definition at line 35 of file vrpn_SharedObject.h.

◆ vrpnSharedIntSerializerPolicy

typedef int(VRPN_CALLBACK * vrpnSharedIntSerializerPolicy) (void *userdata, vrpn_int32 newValue, timeval when, vrpn_Shared_int32 *object)

Definition at line 62 of file vrpn_SharedObject.h.

◆ vrpnSharedStringCallback

typedef int(VRPN_CALLBACK * vrpnSharedStringCallback) (void *userdata, const char *newValue, vrpn_bool isLocal)

Definition at line 41 of file vrpn_SharedObject.h.

◆ vrpnSharedStringSerializerPolicy

typedef int(VRPN_CALLBACK * vrpnSharedStringSerializerPolicy) (void *userdata, const char *newValue, timeval when, vrpn_Shared_String *object)

Definition at line 68 of file vrpn_SharedObject.h.

◆ vrpnTimedSharedFloatCallback

typedef int(VRPN_CALLBACK * vrpnTimedSharedFloatCallback) (void *userdata, vrpn_float64 newValue, timeval when, vrpn_bool isLocal)

Definition at line 49 of file vrpn_SharedObject.h.

◆ vrpnTimedSharedIntCallback

typedef int(VRPN_CALLBACK * vrpnTimedSharedIntCallback) (void *userdata, vrpn_int32 newValue, timeval when, vrpn_bool isLocal)

Definition at line 45 of file vrpn_SharedObject.h.

◆ vrpnTimedSharedStringCallback

typedef int(VRPN_CALLBACK * vrpnTimedSharedStringCallback) (void *userdata, const char *newValue, timeval when, vrpn_bool isLocal)

Definition at line 53 of file vrpn_SharedObject.h.

Enumeration Type Documentation

◆ vrpn_SerializerPolicy

Enumerator
vrpn_ACCEPT 
vrpn_DENY_REMOTE 
vrpn_DENY_LOCAL 
vrpn_CALLBACK 

Definition at line 109 of file vrpn_SharedObject.h.

Variable Documentation

◆ vrpn_Connection

class VRPN_API vrpn_Connection

Definition at line 12 of file vrpn_SharedObject.h.

◆ vrpn_LamportClock

class VRPN_API vrpn_LamportClock

Definition at line 16 of file vrpn_SharedObject.h.

◆ vrpn_LamportTimestamp

class VRPN_API vrpn_LamportTimestamp

◆ vrpn_Shared_float64

class VRPN_API vrpn_Shared_float64

Definition at line 30 of file vrpn_SharedObject.h.

◆ vrpn_Shared_int32

class VRPN_API vrpn_Shared_int32

Definition at line 31 of file vrpn_SharedObject.h.

◆ vrpn_Shared_String

class VRPN_API vrpn_Shared_String

Definition at line 29 of file vrpn_SharedObject.h.