#include <istdplug.h>
Public Types |
|
enum | { get_num_targets, get_node, get_target_weight, set_target_weight, append_target, delete_target } |
Public Member Functions |
|
BEGIN_FUNCTION_MAP | FN_0 (get_num_targets, TYPE_INT, GetNumTargets) |
FN_1 (get_node, TYPE_INODE, GetNode, TYPE_INDEX) | |
FN_1 (get_target_weight, TYPE_FLOAT, GetTargetWeight, TYPE_INDEX) | |
FN_2 (set_target_weight, TYPE_BOOL, SetTargetWeight, TYPE_INDEX, TYPE_FLOAT) | |
FN_2 (append_target, TYPE_BOOL, AppendTarget, TYPE_INODE, TYPE_FLOAT) | |
FN_1 (delete_target, TYPE_BOOL, DeleteTarget, TYPE_INDEX) | |
END_FUNCTION_MAP FPInterfaceDesc * | GetDesc () |
virtual int | GetNumTargets ()=0 |
virtual INode * | GetNode (int targetNumber)=0 |
virtual float | GetTargetWeight (int targetNumber)=0 |
virtual BOOL | SetTargetWeight (int targetNumber, float weight)=0 |
virtual BOOL | AppendTarget (INode *target, float weight=50.0)=0 |
virtual BOOL | DeleteTarget (int selection)=0 |
anonymous enum |
BEGIN_FUNCTION_MAP FN_0 | ( | get_num_targets | , |
TYPE_INT | , | ||
GetNumTargets | |||
) |
FN_1 | ( | get_node | , |
TYPE_INODE | , | ||
GetNode | , | ||
TYPE_INDEX | |||
) |
FN_1 | ( | get_target_weight | , |
TYPE_FLOAT | , | ||
GetTargetWeight | , | ||
TYPE_INDEX | |||
) |
FN_2 | ( | set_target_weight | , |
TYPE_BOOL | , | ||
SetTargetWeight | , | ||
TYPE_INDEX | , | ||
TYPE_FLOAT | |||
) |
FN_2 | ( | append_target | , |
TYPE_BOOL | , | ||
AppendTarget | , | ||
TYPE_INODE | , | ||
TYPE_FLOAT | |||
) |
FN_1 | ( | delete_target | , |
TYPE_BOOL | , | ||
DeleteTarget | , | ||
TYPE_INDEX | |||
) |
END_FUNCTION_MAP FPInterfaceDesc* GetDesc | ( | ) | [virtual] |
Implements FPInterface.
virtual int GetNumTargets | ( | ) | [pure virtual] |
virtual INode* GetNode | ( | int | targetNumber | ) | [pure virtual] |
virtual float GetTargetWeight | ( | int | targetNumber | ) | [pure virtual] |
virtual BOOL SetTargetWeight | ( | int | targetNumber, |
float | weight | ||
) | [pure virtual] |
virtual BOOL AppendTarget | ( | INode * | target, |
float | weight =
50.0 |
||
) | [pure virtual] |
virtual BOOL DeleteTarget | ( | int | selection | ) | [pure virtual] |