#include <corenodes_instances.h>
All MicroNode subclasses have a Base member as their first member. It stores data which is needed by all micro nodes.
The casts from and to MicroNode are handled by MicroNode::ToBase() and Base::ToNode().
Public Member Functions | |
MicroNode & | ToMicroNode () |
template<typename T > | |
const T & | To () const |
Public Attributes | |
MicroNodeInterface * | _node |
TYPE | _type |
FLAGS | _flags |
void(* | _free )(const MicroNode *) |
PortsDescriptionCallback | _portsDesc |
ACCESS_INDEX | _nextFreeAccessIndex |
MicroNode& ToMicroNode | ( | ) |
const T& To | ( | ) | const |
The MicroNodeInterface instance which owns this MicroNode.
TYPE _type |
The type of this micro node.
FLAGS _flags |
The flags of this micro node.
PortsDescriptionCallback _portsDesc |
This callback is used during the automatic setup of the ports created by MAXON_PORT macros.
ACCESS_INDEX _nextFreeAccessIndex |
Keeps track of the next unused access index during port setup.