id | the ID being registered | |
factory | a function pointer that will be copied and called later when the given ID is passed to createInstance() | |
context | a context pointer that will be stored and later passed to the factory function when an ID matching the registration ID is being instantiated with this factory. |