vrpn  07.33
Virtual Reality Peripheral Network
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. More...
 
virtual bool broken ()
 Checks the connectionPtr() for the VRPN object to make sure it is not NULL. More...
 
- Public Member Functions inherited from vrpn_MainloopObject
virtual ~vrpn_MainloopObject ()
 Destructor. More...
 

Protected Member Functions

virtual void * _returnContained () const
 Internal function to return a typeless pointer of the contained object, for comparison purposes. More...
 
- 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. More...
 
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. More...
 

Detailed Description

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

Definition at line 142 of file vrpn_MainloopObject.h.

Constructor & Destructor Documentation

◆ TypedMainloopObject()

◆ ~TypedMainloopObject()

Definition at line 153 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 165 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 162 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 160 of file vrpn_MainloopObject.h.

Member Data Documentation

◆ _instance

Definition at line 166 of file vrpn_MainloopObject.h.


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