Etterna 0.74.4
|
A smart pointer for Actor. More...
#include <AutoActor.h>
Public Member Functions | |
AutoActor (const AutoActor &cpy) | |
auto | operator= (const AutoActor &cpy) -> AutoActor & |
operator const Actor * () const | |
operator Actor * () | |
auto | operator-> () const -> const Actor * |
auto | operator-> () -> Actor * |
void | Unload () |
auto | IsLoaded () const -> bool |
Determine if this actor is presently loaded. | |
void | Load (Actor *pActor) |
void | Load (const std::string &sPath) |
void | LoadB (const std::string &sMetricsGroup, const std::string &sElement) |
void | LoadActorFromNode (const XNode *pNode, Actor *pParent) |
void | LoadAndSetName (const std::string &sScreenName, const std::string &sActorName) |
Protected Attributes | |
Actor * | m_pActor { nullptr } |
the Actor for which there is a smart pointer to. | |
A smart pointer for Actor.
This creates the appropriate Actor derivative on load and automatically deletes the Actor on deconstruction.
|
inline |
Determine if this actor is presently loaded.