Méthode | Description | |
---|---|---|
Clone ( ) : |
Creates an identical copy of this registrar
|
|
CreateDescriptor ( ushort vendorId, uint deviceInstance, ObjectId objectIdentifier ) : ObjectInfo |
Creates a new descriptor for an object
|
|
DescriptorRegistrar ( ) : System |
Constructs a new DescriptorRegistrar instance
|
|
Register ( ushort objectType, DescriptorFactory factory ) : void |
Registers a new default descriptor type with the registrar
|
|
Register ( ushort objectType, ushort vendorId, DescriptorFactory factory ) : void |
Registers a new descriptor type with the registrar
|
Méthode | Description | |
---|---|---|
_getKey ( ushort vendorId, ushort objectType ) : uint |
Retrieves a registration key
|
|
_getRegistration ( ushort vendorId, ushort objectType ) : Registration |
Retrieves a suitable registration for an object
|
|
_register ( Registration registration ) : void |
Registers a new registration instance
|
public CreateDescriptor ( ushort vendorId, uint deviceInstance, ObjectId objectIdentifier ) : ObjectInfo | ||
vendorId | ushort | The vendor id of the object |
deviceInstance | uint | |
objectIdentifier | ObjectId | |
Résultat | ObjectInfo |
public Register ( ushort objectType, DescriptorFactory factory ) : void | ||
objectType | ushort | The object type of the registration |
factory | DescriptorFactory | The factory function for the descriptors |
Résultat | void |
public Register ( ushort objectType, ushort vendorId, DescriptorFactory factory ) : void | ||
objectType | ushort | The object type of the registration |
vendorId | ushort | The vendor id of the registration |
factory | DescriptorFactory | The factory function for the descriptors |
Résultat | void |