CrystalSpace

Public API Reference

Public Member Functions | Protected Member Functions | Protected Attributes
CS::Animation::SkeletonAnimNodeFactorySingle Class Reference

Base implementation of a CS::Animation::iSkeletonAnimNodeFactory with a single child. More...

#include <cstool/animnodetmpl.h>

Inheritance diagram for CS::Animation::SkeletonAnimNodeFactorySingle:
CS::Animation::SkeletonAnimNodeFactory CS::Animation::iSkeletonAnimNodeFactory iBase

List of all members.

Public Member Functions

csPtr< iSkeletonAnimNodeCreateInstance (iSkeletonAnimPacket *packet, iSkeleton *skeleton)
 Create a new animation node.
iSkeletonAnimNodeFactoryFindNode (const char *name)
 Find a sub-node with the given name.
virtual iSkeletonAnimNodeFactoryGetChildNode () const
 Get the child animation node of this node, or nullptr if there are none.
virtual void SetChildNode (iSkeletonAnimNodeFactory *factory)
 Set the child animation node of this node.
 SkeletonAnimNodeFactorySingle (const char *name)
 Constructor.
virtual ~SkeletonAnimNodeFactorySingle ()
 Destructor.

Protected Member Functions

virtual csPtr
< SkeletonAnimNodeSingleBase
ActualCreateInstance (iSkeletonAnimPacket *packet, iSkeleton *skeleton)=0
 To be overridden by derived classes: create actual instance of a node.

Protected Attributes

csRef
< CS::Animation::iSkeletonAnimNodeFactory
childNodeFactory
 Factory of the child node.

Detailed Description

Base implementation of a CS::Animation::iSkeletonAnimNodeFactory with a single child.

Definition at line 143 of file animnodetmpl.h.


Constructor & Destructor Documentation

Constructor.

Destructor.

Definition at line 155 of file animnodetmpl.h.


Member Function Documentation

To be overridden by derived classes: create actual instance of a node.

Create a new animation node.

Implements CS::Animation::iSkeletonAnimNodeFactory.

Find a sub-node with the given name.

Implements CS::Animation::iSkeletonAnimNodeFactory.

Get the child animation node of this node, or nullptr if there are none.

Set the child animation node of this node.

It is valid to provide a null pointer.


Member Data Documentation

Factory of the child node.

Definition at line 172 of file animnodetmpl.h.


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

Generated for Crystal Space 2.0 by doxygen 1.7.6.1