Group

  • LXi_GROUP_TYPE_STANDARD

  • LXi_GROUP_TYPE_ASSEMBLY

  • LXi_GROUP_TYPE_ACTOR

  • LXi_GROUP_TYPE_RENDER

  • LXi_GROUP_TYPE_KEYSET

  • LXi_GROUP_TYPE_CHANSET

  • LXi_GROUP_TYPE_PRESET

  • LXi_GROUP_TYPE_SHADER

ILxGroupItem

class ILxGroupItem

The GroupItem interface provides services for operating on a group. Mainly enumerating the members of the group.

Public Functions

LxResult Enumerator(LXtObjectID self, void **ppvObj)

Since the enumeration has state we have to allocate one from the item interface.

LxResult Type(LXtObjectID self, int *type)

Get the Group Item’s type.

LxResult SetType(LXtObjectID self, int type)

Set the Group Item’s type.

bool GetEnumerator(CLxLoc_GroupEnumerator &grpEnum)

User Class Only:

int GetType()
bool SetType(int type)
  • LXfGRPTYPE_ITEM

  • LXfGRPTYPE_CHANNEL

  • LXfGRPTYPE_BOTH

ILxGroupEnumerator

class ILxGroupEnumerator

The GroupEnumerator interface allows traversal of the members of the group item, both items and channels.

Public Functions

LxResult Enumerate(LXtObjectID self, LXtObjectID visitor, unsigned mask)

The Enumerate() method takes a visitor and calls its Evaluate() method for each group member. The mask is used to select items, channels or both. During each Evaluate() call, the visitor can query the type of member and get information about the member.

unsigned Type(LXtObjectID self)
LxResult Item(LXtObjectID self, void **ppvObj)
LxResult Channel(LXtObjectID self, void **ppvObj, unsigned *index)
LxResult Enum(CLxImpl_AbstractVisitor *visitor, unsigned mask = LXfGRPTYPE_BOTH)

User Class Only:

bool GetItem(CLxLoc_Item &item)