Castor3D 0.16.0
Multiplatform 3D engine
Public Member Functions | Protected Member Functions | List of all members
castor::OwnedBy< Owner > Class Template Reference

Class used to have an object owned by another one. More...

#include <OwnedBy.hpp>

Inheritance diagram for castor::OwnedBy< Owner >:
Inheritance graph
[legend]

Public Member Functions

Owner * getOwner () const
 

Protected Member Functions

 OwnedBy (Owner &owner)
 Constructor.
 

Detailed Description

template<class Owner>
class castor::OwnedBy< Owner >

Class used to have an object owned by another one.

Constructor & Destructor Documentation

◆ OwnedBy()

template<class Owner >
castor::OwnedBy< Owner >::OwnedBy ( Owner & owner)
inlineexplicitprotected

Constructor.

Parameters
[in]ownerThe owner object.

Member Function Documentation

◆ getOwner()

template<class Owner >
Owner * castor::OwnedBy< Owner >::getOwner ( ) const
inline
Returns
The owner object.

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