GL Studio C++ Runtime API
GlsPathManager::PathObjectPair Class Reference

#include <gls_path_manager.h>

Public Member Functions

 PathObjectPair ()
 Constructor.
 
 PathObjectPair (const PathObjectPair &)
 Copy constructor.
 
 ~PathObjectPair ()
 Destructor.
 
const PathObjectPairoperator= (const PathObjectPair &)
 
void MakeAttribDict ()
 
DistiAttribDictAttributes ()
 
void SetDynamicPathByName (const std::string &name)
 
std::string GetDynamicPathName () const
 
void SetDynamicPath (GlsDynamicPath *path)
 
GlsDynamicPathGetDynamicPath () const
 
void SetObject (DisplayObject *object)
 
DisplayObjectGetObject () const
 
void SetDynamicPath (GlsDynamicPath **path)
 
void SetObject (DisplayObject **object)
 
void SetObjectByName (const std::string &name)
 
std::string GetObjectName () const
 

Protected Attributes

GlsDynamicPath_path
 The path containing the animation data.
 
DisplayObject_object
 The object to be animated by the path.
 
std::string _pathName
 The name of the path object.
 
std::string _objectName
 The name of the animation target object.
 
DistiAttribDict_attribDict
 The attribute dictionary for the members of this object.
 

Detailed Description

The PathObjectPair class. Contains a dynamic path and the object that path animates.

Member Function Documentation

◆ Attributes()

DistiAttribDict & Attributes ( )
inline
Returns
A reference to the attribute dictionary for this object.

◆ GetDynamicPath()

GlsDynamicPath * GetDynamicPath ( ) const
inline
Returns
The path in this pair.

◆ GetDynamicPathName()

std::string GetDynamicPathName ( ) const
inline
Returns
The name of the path in this pair.

◆ GetObject()

DisplayObject * GetObject ( ) const
inline
Returns
The target object of this pair.

◆ GetObjectName()

std::string GetObjectName ( ) const
inline
Returns
The name of the target object.

◆ MakeAttribDict()

void MakeAttribDict ( )

Populates the attribute dictionary for this object.

Note
Not normally called by users.

◆ operator=()

const PathObjectPair & operator= ( const PathObjectPair )

Copy assignment

Returns
The resulting object (this).

◆ SetDynamicPath() [1/2]

void SetDynamicPath ( GlsDynamicPath **  path)
inline

Assign a new GlsDynamicPath to this pair.

Deprecated:
Use single-pointer functions instead.
Parameters
pathThe new path to set.

◆ SetDynamicPath() [2/2]

void SetDynamicPath ( GlsDynamicPath path)
inline

Assign a new GlsDynamicPath to this pair.

Parameters
pathThe new path to set.

◆ SetDynamicPathByName()

void SetDynamicPathByName ( const std::string &  name)
inline

Assign a new GlsDynamicPath to this pair by name.

Parameters
nameThe name of the new path to set.

◆ SetObject() [1/2]

void SetObject ( DisplayObject **  object)
inline

Set the target object of this pair's animation.

Deprecated:
Use single-pointer functions instead.
Parameters
objectThe new target object to set.

◆ SetObject() [2/2]

void SetObject ( DisplayObject object)
inline

Set the target object of this pair's animation.

Parameters
objectThe new target object to set.

◆ SetObjectByName()

void SetObjectByName ( const std::string &  name)
inline

Set the target object of this pair's animation by name.

Parameters
nameThe name of the new target object to set.

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