PixelLightAPI
.
|
Element handler template. More...
#include <ElementHandler.h>
Public Member Functions | |
ElementHandler () | |
Constructor. | |
virtual | ~ElementHandler () |
Destructor. | |
AType * | GetElement () const |
Returns a pointer to the handlers element. | |
virtual bool | SetElement (AType *pElement=nullptr) |
Sets the handlers element. |
Element handler template.
PLCore::ElementHandler< AType >::ElementHandler | ( | ) |
Reimplemented in PLPhysics::ElementHandler.
PLCore::ElementHandler< AType >::~ElementHandler | ( | ) | [virtual] |
Destructor.
Reimplemented in PLPhysics::ElementHandler.
AType * PLCore::ElementHandler< AType >::GetElement | ( | ) | const |
Returns a pointer to the handlers element.
bool PLCore::ElementHandler< AType >::SetElement | ( | AType * | pElement = nullptr | ) | [virtual] |
Sets the handlers element.
[in] | pElement | Element to set, a null pointer to set no element |
|