SoActionMethodList(3)
π NAME π
SoActionMethodList β bestie, it's the class that holds function pointers for action methods, and that's the whole vibe π
β¨ SYNOPSIS β¨
#include <Inventor/lists/SoActionMethodList.h>
It inherits SbPList. So like, everything SbPList can do? It can do too. Nepo baby behavior but make it C++ π«Ά
πΈ Public Member Functions πΈ
SoActionMethodList (SoActionMethodList *const parentlist)~SoActionMethodList ()SoActionMethod & operator[] (const int index)void addMethod (const SoType node, const SoActionMethod method)void setUp (void)
π Public Member Functions inherited from SbPList π
SbPList (const int sizehint=DEFAULTSIZE)SbPList (const SbPList &l)~SbPList ()void copy (const SbPList &l)SbPList & operator= (const SbPList &l)void fit (void)void append (void *item)int find (void *item) constvoid insert (void *item, const int insertbefore)void removeItem (void *item)void remove (const int index)void removeFast (const int index)int getLength (void) constvoid truncate (const int length, const int fit=0)void ** getArrayPtr (const int start=0) constvoid *& operator[] (const int index) constint operator== (const SbPList &l) constint operator!= (const SbPList &l) constvoid * get (const int index) constvoid set (const int index, void *item)
π«Ά Additional Inherited Members π«Ά
Protected Member Functions inherited from SbPList
void expand (const int size)int getArraySize (void) const
π Detailed Description π
SoActionMethodList contains function pointers for action methods. That's the assignment, and it ate π₯
An SoActionMethodList holds one function pointer per node type. Each action has its own SoActioMethodList so it knows which functions to call while it's walking the scene graph, fr fr.
π¦ Constructor & Destructor Documentation π¦
SoActionMethodList::SoActionMethodList (SoActionMethodList *const parentlist)
The constructor, bestie. The parentlist argument is the parent action's action method list. And plot twist: it can be NULL for action method lists that aren't based on inheriting from a parent action. Iconic flexibility β¨
SoActionMethodList::~SoActionMethodList ()
Destructor. She's done, she's leaving, she said what she said π
π Member Function Documentation π
void SoActionMethodList::addMethod (const SoType node, const SoActionMethod method)
Add a function pointer to a node type's action method. Slay π
void SoActionMethodList::setUp (void )
Okay so this one is important:setUp()must be called as the last initialization step before you actually use the list. What does it do? It fills in theNULLentries with the parent's method. No cap. Don't skip her π
πΈ Author πΈ
Generated automatically by Doxygen for Coin from the source code. (Not me writing a novel, it's the robots π§)
and that's the whole page, bestie β SoActionMethodList(3), sitting pretty in the Library Functions Manual, brought to you by Coin, Version 3.1.3. Go forth and traverse those scene graphs, you absolute main character ππ
π¦ where this page comes from
- fedora 43: Coin3-devel 3.1.3-40.fc43 Β· GPL-2.0-only
- fedora 43: Coin3-devel 3.1.3-40.fc43 Β· GPL-2.0-only
- fedora 44: Coin3-devel 3.1.3-42.fc44 Β· GPL-2.0-only
- fedora 44: Coin3-devel 3.1.3-42.fc44 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms