Drag[en]gine Game Engine  1.0
deSynthesizerLink Class Reference

Synthesizer link. More...

#include <deSynthesizerLink.h>

Inheritance diagram for deSynthesizerLink:
deObject

Public Member Functions

Management
int GetController () const
 Controller or -1 if not set. More...
 
bool HasController () const
 Controller is set. More...
 
void SetController (int controller)
 Set controller or -1 to not set. More...
 
decCurveBezierGetCurve ()
 Curve. More...
 
const decCurveBezierGetCurve () const
 
int GetRepeat () const
 Repeat count of input value. More...
 
void SetRepeat (int repeat)
 Set repeat count of input value. More...
 
Operators
deSynthesizerLinkoperator= (const deSynthesizerLink &copy)
 Copy link to this link. More...
 
- Public Member Functions inherited from deObject
int GetRefCount () const
 Reference count. More...
 
void AddReference ()
 Add reference increasing reference count by 1. More...
 
void FreeReference ()
 Decrease reference count by one and delete object if count reaches 0. More...
 
 deObject ()
 Create object with reference count of 1. More...
 

Constructors and Destructors

 deSynthesizerLink ()
 Create link. More...
 
 deSynthesizerLink (const deSynthesizerLink &copy)
 Create copy of link. More...
 
virtual ~deSynthesizerLink ()
 Clean up link. More...
 

Additional Inherited Members

- Protected Member Functions inherited from deObject
virtual ~deObject ()
 Clean up object. More...
 

Detailed Description

Synthesizer link.

Links controller value to source targets. Maps controller values using a bezier curve. Using repeat values larger than 1 the curve is repeated along the Y axis.

Author
Pl├╝ss Roland
Version
1.0
Date
2015

Constructor & Destructor Documentation

◆ deSynthesizerLink() [1/2]

deSynthesizerLink::deSynthesizerLink ( )

Create link.

◆ deSynthesizerLink() [2/2]

deSynthesizerLink::deSynthesizerLink ( const deSynthesizerLink copy)

Create copy of link.

◆ ~deSynthesizerLink()

virtual deSynthesizerLink::~deSynthesizerLink ( )
protectedvirtual

Clean up link.

Note
Subclasses should set their destructor protected too to avoid users accidently deleting a reference counted object through the object pointer. Only FreeReference() is allowed to delete the object.

Member Function Documentation

◆ GetController()

int deSynthesizerLink::GetController ( ) const
inline

Controller or -1 if not set.

◆ GetCurve() [1/2]

decCurveBezier& deSynthesizerLink::GetCurve ( )
inline

Curve.

◆ GetCurve() [2/2]

const decCurveBezier& deSynthesizerLink::GetCurve ( ) const
inline

◆ GetRepeat()

int deSynthesizerLink::GetRepeat ( ) const
inline

Repeat count of input value.

References operator=(), and SetRepeat().

◆ HasController()

bool deSynthesizerLink::HasController ( ) const
inline

Controller is set.

References SetController().

◆ operator=()

deSynthesizerLink& deSynthesizerLink::operator= ( const deSynthesizerLink copy)

Copy link to this link.

Referenced by GetRepeat().

◆ SetController()

void deSynthesizerLink::SetController ( int  controller)

Set controller or -1 to not set.

Exceptions
deeInvalidParamcontroller is less than -1.

Referenced by HasController().

◆ SetRepeat()

void deSynthesizerLink::SetRepeat ( int  repeat)

Set repeat count of input value.

Exceptions
deeInvalidParamrepeat is less than 1.

Referenced by GetRepeat().


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