IBaseWireControl* GetWireControlInterface(Animatable* a);
(IBaseWireControl*)a-\>GetInterface(WIRE_CONTROLLER_INTERFACE);
#include <iparamwire.h>
Public Types |
|
enum | { getNumWires, getWireParent, getWireSubnum, getCoController, getExprText, setExprText, getSlaveAnimation, setSlaveAnimation, isMaster, isSlave, isTwoWay } |
Public Member Functions |
|
virtual int | get_num_wires ()=0 |
virtual Animatable * | get_wire_parent (int i)=0 |
virtual int | get_wire_subnum (int i)=0 |
virtual Control * | get_co_controller (int i)=0 |
virtual MCHAR * | get_expr_text (int i)=0 |
virtual void | set_expr_text (int i, MCHAR *text)=0 |
virtual void | set_slave_animation (Control *c)=0 |
virtual Control * | get_slave_animation ()=0 |
virtual bool | is_master ()=0 |
virtual bool | is_slave ()=0 |
virtual bool | is_two_way ()=0 |
virtual void | transfer_parent (ReferenceTarget *oldp, ReferenceTarget *newp)=0 |
virtual void | transfer_subnum (short oldn, short newn)=0 |
FPInterfaceDesc * | GetDesc () |
BEGIN_FUNCTION_MAP | FN_1 (getWireParent, TYPE_REFTARG, get_wire_parent, TYPE_INDEX) |
FN_1 (getWireSubnum, TYPE_INDEX, get_wire_subnum, TYPE_INDEX) | |
FN_1 (getCoController, TYPE_CONTROL, get_co_controller, TYPE_INDEX) | |
FN_1 (getExprText, TYPE_STRING, get_expr_text, TYPE_INDEX) | |
VFN_2 (setExprText, set_expr_text, TYPE_INDEX, TYPE_STRING) | |
RO_PROP_FN (getNumWires, get_num_wires, TYPE_INT) | |
RO_PROP_FN (isMaster, is_master, TYPE_bool) | |
RO_PROP_FN (isSlave, is_slave, TYPE_bool) | |
RO_PROP_FN (isTwoWay, is_two_way, TYPE_bool) | |
PROP_FNS (getSlaveAnimation, get_slave_animation, setSlaveAnimation, set_slave_animation, TYPE_CONTROL) |
anonymous enum |
virtual int get_num_wires | ( | ) | [pure virtual] |
virtual Animatable* get_wire_parent | ( | int | i | ) | [pure virtual] |
i | - The index you wish to retrieve. |
virtual int get_wire_subnum | ( | int | i | ) | [pure virtual] |
virtual Control* get_co_controller | ( | int | i | ) | [pure virtual] |
i | - The index of the controller. |
virtual MCHAR* get_expr_text | ( | int | i | ) | [pure virtual] |
virtual void set_expr_text | ( | int | i, |
MCHAR * | text | ||
) | [pure virtual] |
i | - The index of the parameter |
text | - The expression you wish to set. |
virtual void set_slave_animation | ( | Control * | c | ) | [pure virtual] |
c | - A pointer to the controller you wish to set. |
virtual Control* get_slave_animation | ( | ) | [pure virtual] |
virtual bool is_master | ( | ) | [pure virtual] |
virtual bool is_slave | ( | ) | [pure virtual] |
virtual bool is_two_way | ( | ) | [pure virtual] |
virtual void transfer_parent | ( | ReferenceTarget * | oldp, |
ReferenceTarget * | newp | ||
) | [pure virtual] |
virtual void transfer_subnum | ( | short | oldn, |
short | newn | ||
) | [pure virtual] |
FPInterfaceDesc* GetDesc | ( | ) | [inline, virtual] |
Implements FPInterface.
{ return GetDescByID(WIRE_CONTROLLER_INTERFACE); }
BEGIN_FUNCTION_MAP FN_1 | ( | getWireParent | , |
TYPE_REFTARG | , | ||
get_wire_parent | , | ||
TYPE_INDEX | |||
) |
FN_1 | ( | getWireSubnum | , |
TYPE_INDEX | , | ||
get_wire_subnum | , | ||
TYPE_INDEX | |||
) |
FN_1 | ( | getCoController | , |
TYPE_CONTROL | , | ||
get_co_controller | , | ||
TYPE_INDEX | |||
) |
FN_1 | ( | getExprText | , |
TYPE_STRING | , | ||
get_expr_text | , | ||
TYPE_INDEX | |||
) |
VFN_2 | ( | setExprText | , |
set_expr_text | , | ||
TYPE_INDEX | , | ||
TYPE_STRING | |||
) |
RO_PROP_FN | ( | getNumWires | , |
get_num_wires | , | ||
TYPE_INT | |||
) |
RO_PROP_FN | ( | isMaster | , |
is_master | , | ||
TYPE_bool | |||
) |
RO_PROP_FN | ( | isSlave | , |
is_slave | , | ||
TYPE_bool | |||
) |
RO_PROP_FN | ( | isTwoWay | , |
is_two_way | , | ||
TYPE_bool | |||
) |
PROP_FNS | ( | getSlaveAnimation | , |
get_slave_animation | , | ||
setSlaveAnimation | , | ||
set_slave_animation | , | ||
TYPE_CONTROL | |||
) |