Public Types | Public Member Functions | Protected Attributes

OpenTissue::psys::ConnectorFacade< types > Class Template Reference

#include <psys_connector_facade.h>

Inheritance diagram for OpenTissue::psys::ConnectorFacade< types >:
OpenTissue::psys::Constraint< types > OpenTissue::psys::Particle< types > OpenTissue::psys::Box< types > OpenTissue::psys::Pin< types > OpenTissue::psys::Stick< types >

List of all members.

Public Types

typedef types::system_type system_type

Public Member Functions

 ConnectorFacade ()
void connect (system_type const &owner)
void disconnect ()
system_typeowner ()
system_type const * owner () const

Protected Attributes

system_typem_owner
 The particle system the costraint belong to.

template<typename types>
class OpenTissue::psys::ConnectorFacade< types >


Member Typedef Documentation


Constructor & Destructor Documentation

template<typename types >
OpenTissue::psys::ConnectorFacade< types >::ConnectorFacade (  )  [inline]

Member Function Documentation

template<typename types >
void OpenTissue::psys::ConnectorFacade< types >::connect ( system_type const &  owner  )  [inline]

Connect Object. This method makes sure that the object belongs to the specified particle cluster.

Parameters:
owner A reference to the particle cluster that should own the object.
template<typename types >
void OpenTissue::psys::ConnectorFacade< types >::disconnect (  )  [inline]

Disconnect Object. This method removes the object from the particle cluster it belongs to.

template<typename types >
system_type* OpenTissue::psys::ConnectorFacade< types >::owner (  )  [inline]

Get Owner Pointer.

Returns:
A pointer to the particle cluster owner.
template<typename types >
system_type const* OpenTissue::psys::ConnectorFacade< types >::owner (  )  const [inline]

Member Data Documentation

template<typename types >
system_type* OpenTissue::psys::ConnectorFacade< types >::m_owner [protected]

The particle system the costraint belong to.


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