The first step in storing external data in a new class and slot is to set up a class using the method
pfcExternalDataAccess::CreateClass, which provides the class name. The method outputs
pfcExternalDataClass, used by the application to reference the class.
The next step is to use
pfcExternalDataClass::CreateSlot to create an empty data slot and input a slot name. The method outputs a
pfcExternalDataSlot object to identify the new slot.
The method
pfcExternalDataSlot::SetValue specifies the data type of a slot and writes an item of that type to the slot. The input is a
pfcExternalData object that you can create by calling any one of the methods in the next section.