PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University. More...
#include "dtoolbase.h"
Go to the source code of this file.
Classes | |
class | Extension< T > |
The default class template does not define any methods. More... | |
class | ExtensionBase< T > |
This is where all extensions should derive from. More... | |
Functions | |
template<class T > | |
Extension< T > | invoke_extension (T *ptr) |
Creates a new extension object for the given pointer that can then be used to call extension methods, as follows: invoke_extension((MyClass) *ptr).method() More... | |
template<class T > | |
const Extension< T > | invoke_extension (const T *ptr) |
The const version of the above function. More... | |
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
All rights reserved.
All use of this software is subject to the terms of the revised BSD license. You should have received a copy of this license along with this source code in a file named "LICENSE."
Definition in file extension.h.
|
inline |
Creates a new extension object for the given pointer that can then be used to call extension methods, as follows: invoke_extension((MyClass) *ptr).method()
Definition at line 44 of file extension.h.
|
inline |
The const version of the above function.
Definition at line 55 of file extension.h.