vrpn 07.35
Virtual Reality Peripheral Network
Loading...
Searching...
No Matches
vrpn Namespace Reference

Namespaces

namespace  detail
 
namespace  traits
 

Classes

class  BoundEndpointAllocator
 Combines the function pointer for an Endpoint Allocator with its two arguments into a single callable object, with the ability to override the last parameter at call time. More...
 
struct  DefaultDeleter
 default deleter More...
 
struct  DefaultDeleter< T[]>
 handle arrays with delete [] More...
 
class  EndpointContainer
 Container for endpoints, held by pointer. More...
 
class  EndpointIterator
 An iterator that goes forward in an EndpointContainer skipping the NULLs, that also acts a bit like a pointer/smart pointer (can treat it as a vrpn_Endpoint *) More...
 
class  FixedPoint
 A fixed-point value class. More...
 
class  OwningPtr
 A unique-ownership smart pointer, with the ability to transfer ownership, but only explicitly (aka, not like auto_ptr did it). More...
 
class  SemaphoreGuard
 An RAII lock/guard class for vrpn_Semaphore. More...
 
struct  try_to_lock_t
 

Functions

VRPN_API void assertion_failed (char const *expr, char const *function, char const *file, long line)
 
VRPN_API void assertion_failed_msg (char const *expr, char const *msg, char const *function, char const *file, long line)
 
template<typename T , typename D >
void swap (OwningPtr< T, D > &lhs, OwningPtr< T, D > &rhs)
 
template<typename T , typename D >
traits::OwningPtrPointerType< T >::type get_pointer (OwningPtr< T, D > const &ptr)
 
template<typename T , typename D1 , typename D2 >
bool operator== (OwningPtr< T, D1 > const &lhs, OwningPtr< T, D2 > const &rhs)
 
template<typename T , typename D >
bool operator== (OwningPtr< T, D > const &lhs, typename traits::OwningPtrPointerType< T >::type rhs)
 
template<typename T , typename D >
bool operator== (typename traits::OwningPtrPointerType< T >::type lhs, OwningPtr< T, D > const &rhs)
 
template<typename T , typename D1 , typename D2 >
bool operator!= (OwningPtr< T, D1 > const &lhs, OwningPtr< T, D2 > const &rhs)
 
template<typename T , typename D >
bool operator!= (OwningPtr< T, D > const &lhs, typename traits::OwningPtrPointerType< T >::type rhs)
 
template<typename T , typename D >
bool operator!= (typename traits::OwningPtrPointerType< T >::type lhs, OwningPtr< T, D > const &rhs)
 

Variables

const try_to_lock_t try_to_lock = {}
 Dummy variable to pass to SemaphoreGuard to indicate we only want a conditional lock.
 

Function Documentation

◆ assertion_failed()

VRPN_API void vrpn::assertion_failed ( char const *  expr,
char const *  function,
char const *  file,
long  line 
)

Definition at line 27 of file vrpn_Assert.C.

◆ assertion_failed_msg()

VRPN_API void vrpn::assertion_failed_msg ( char const *  expr,
char const *  msg,
char const *  function,
char const *  file,
long  line 
)

Definition at line 34 of file vrpn_Assert.C.

◆ get_pointer()

template<typename T , typename D >
traits::OwningPtrPointerType< T >::type vrpn::get_pointer ( OwningPtr< T, D > const &  ptr)
inline

Definition at line 175 of file vrpn_OwningPtr.h.

References vrpn::OwningPtr< T, D >::get().

Here is the call graph for this function:

◆ operator!=() [1/3]

template<typename T , typename D >
bool vrpn::operator!= ( OwningPtr< T, D > const &  lhs,
typename traits::OwningPtrPointerType< T >::type  rhs 
)
inline

Definition at line 208 of file vrpn_OwningPtr.h.

References vrpn::OwningPtr< T, D >::get().

Here is the call graph for this function:

◆ operator!=() [2/3]

template<typename T , typename D1 , typename D2 >
bool vrpn::operator!= ( OwningPtr< T, D1 > const &  lhs,
OwningPtr< T, D2 > const &  rhs 
)
inline

Definition at line 202 of file vrpn_OwningPtr.h.

References vrpn::OwningPtr< T, D >::get().

Here is the call graph for this function:

◆ operator!=() [3/3]

template<typename T , typename D >
bool vrpn::operator!= ( typename traits::OwningPtrPointerType< T >::type  lhs,
OwningPtr< T, D > const &  rhs 
)
inline

Definition at line 215 of file vrpn_OwningPtr.h.

References vrpn::OwningPtr< T, D >::get().

Here is the call graph for this function:

◆ operator==() [1/3]

template<typename T , typename D >
bool vrpn::operator== ( OwningPtr< T, D > const &  lhs,
typename traits::OwningPtrPointerType< T >::type  rhs 
)
inline

Definition at line 188 of file vrpn_OwningPtr.h.

References vrpn::OwningPtr< T, D >::get().

Here is the call graph for this function:

◆ operator==() [2/3]

template<typename T , typename D1 , typename D2 >
bool vrpn::operator== ( OwningPtr< T, D1 > const &  lhs,
OwningPtr< T, D2 > const &  rhs 
)
inline

Definition at line 181 of file vrpn_OwningPtr.h.

References vrpn::OwningPtr< T, D >::get().

Here is the call graph for this function:

◆ operator==() [3/3]

template<typename T , typename D >
bool vrpn::operator== ( typename traits::OwningPtrPointerType< T >::type  lhs,
OwningPtr< T, D > const &  rhs 
)
inline

Definition at line 195 of file vrpn_OwningPtr.h.

References vrpn::OwningPtr< T, D >::get().

Here is the call graph for this function:

◆ swap()

template<typename T , typename D >
void vrpn::swap ( OwningPtr< T, D > &  lhs,
OwningPtr< T, D > &  rhs 
)
inline

Definition at line 168 of file vrpn_OwningPtr.h.

References vrpn::OwningPtr< T, D >::swap().

Here is the call graph for this function:

Variable Documentation

◆ try_to_lock

const try_to_lock_t vrpn::try_to_lock = {}

Dummy variable to pass to SemaphoreGuard to indicate we only want a conditional lock.

Definition at line 127 of file vrpn_Thread.h.