Public Members | |||
![]() | ![]() | ~vrpn_ConnectionManager (void) | |
![]() | ![]() | void | addConnection (vrpn_Connection *, const char * name) |
![]() | ![]() | void | deleteConnection (vrpn_Connection *) |
![]() | ![]() | vrpn_Connection* | getByName (const char * name) |
Static Public Members | |||
![]() | ![]() | vrpn_ConnectionManager& | instance (void) |
We make it static to guarantee that the destructor is called on program close so that the destructors of all the vrpn_Connections that have been allocated are called so that all open logs are flushed to disk.
| vrpn_ConnectionManager::~vrpn_ConnectionManager (void) |
| void vrpn_ConnectionManager::addConnection (vrpn_Connection * c, const char * name) |
| void vrpn_ConnectionManager::deleteConnection (vrpn_Connection * c) |
| vrpn_Connection * vrpn_ConnectionManager::getByName (const char * name) |
vrpn_ConnectionManager & vrpn_ConnectionManager::instance (void) [static]
|
1.0.0 written by Dimitri van Heesch,
© 1997-1999