vrpn 07.35
Virtual Reality Peripheral Network
Loading...
Searching...
No Matches
detail::TypedMainloopObject< vrpn_Connection * > Class Reference

Specialization for connections, since they're reference-counted. More...

#include <vrpn_MainloopObject.h>

Inheritance diagram for detail::TypedMainloopObject< vrpn_Connection * >:
Collaboration diagram for detail::TypedMainloopObject< vrpn_Connection * >:

Public Member Functions

 TypedMainloopObject (vrpn_Connection *o)
 
virtual ~TypedMainloopObject ()
 
virtual void mainloop ()
 The mainloop function: the primary thing we look for in a VRPN object.
 
virtual bool broken ()
 Checks the connectionPtr() for the VRPN object to make sure it is not NULL.
 
- Public Member Functions inherited from vrpn_MainloopObject
virtual ~vrpn_MainloopObject ()
 Destructor.
 

Protected Member Functions

virtual void * _returnContained () const
 Internal function to return a typeless pointer of the contained object, for comparison purposes.
 
- Protected Member Functions inherited from vrpn_MainloopObject
 vrpn_MainloopObject ()
 

Protected Attributes

vrpn_Connection_instance
 

Additional Inherited Members

- Static Public Member Functions inherited from vrpn_MainloopObject
template<class T >
static vrpn_MainloopObjectwrap (T o)
 Templated wrapping function.
 
template<class T >
static vrpn_MainloopObjectwrap (T o, bool owner)
 Templated wrapping function that can encourage the wrapper to not destroy the wrapped object at destruction.
 

Detailed Description

Specialization for connections, since they're reference-counted.

Definition at line 147 of file vrpn_MainloopObject.h.

Constructor & Destructor Documentation

◆ TypedMainloopObject()

detail::TypedMainloopObject< vrpn_Connection * >::TypedMainloopObject ( vrpn_Connection * o)
inline

Definition at line 149 of file vrpn_MainloopObject.h.

References VRPN_MAINLOOPOBJECT_MSG.

◆ ~TypedMainloopObject()

Definition at line 158 of file vrpn_MainloopObject.h.

References VRPN_MAINLOOPOBJECT_MSG.

Member Function Documentation

◆ _returnContained()

virtual void * detail::TypedMainloopObject< vrpn_Connection * >::_returnContained ( ) const
inlineprotectedvirtual

Internal function to return a typeless pointer of the contained object, for comparison purposes.

Implements vrpn_MainloopObject.

Definition at line 170 of file vrpn_MainloopObject.h.

◆ broken()

virtual bool detail::TypedMainloopObject< vrpn_Connection * >::broken ( )
inlinevirtual

Checks the connectionPtr() for the VRPN object to make sure it is not NULL.

Implements vrpn_MainloopObject.

Definition at line 167 of file vrpn_MainloopObject.h.

◆ mainloop()

virtual void detail::TypedMainloopObject< vrpn_Connection * >::mainloop ( )
inlinevirtual

The mainloop function: the primary thing we look for in a VRPN object.

Implements vrpn_MainloopObject.

Definition at line 165 of file vrpn_MainloopObject.h.

Member Data Documentation

◆ _instance

Definition at line 171 of file vrpn_MainloopObject.h.


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