IDBLUE logo
Public Member Functions | Static Public Member Functions
CommandIdentifierClassInfo Class Reference
Inheritance diagram for CommandIdentifierClassInfo:
GetPropertyClassInfo

Public Member Functions

(int) - commandIdentifier
(void) - setCommandIdentifier:
(Class) - classInfo
(void) - setClassInfo:
(IDBlueResponse *) - getResponse:withAsync:

Static Public Member Functions

(CommandIdentifierClassInfo *) + create:withClassInfo:

Detailed Description

CommandIdentifierClassInfo is used to dynamically create IDBlueResponse classes (at runtime).


Member Function Documentation

- (Class) classInfo

Gets the Class that is used to create the IDBlueResponse object

Gets the command identifier

+ (CommandIdentifierClassInfo *) create: (int)  commandIdentifier
withClassInfo: (Class)  classInfo 

Create an instance of CommandIdentifierClassInfo for the given command identifier and Class

Parameters:
commandIdentifierThe command identifier
classInfoThe Class of the IDBlueResponse
Returns:
The CommandIdentifierClassInfo, marked as autorelease
- (IDBlueResponse *) getResponse: (IDBluePacket*)  packet
withAsync: (BOOL)  async 

Get an IDBlueResponse object from the given IDBluePacket

Parameters:
packetThe IDBluePacket containing the response data
asyncWhether the response is asynchronous or not
Returns:
The IDBlueResponse from the IDBluePacket
- (void) setClassInfo: (Class)  classInfo

Sets the Class that is used to create the IDBlueResponse object

- (void) setCommandIdentifier: (int)  commandIdentifier

Sets the command identifier


The documentation for this class was generated from the following files:

 

Generated on Mon Jan 19 2015 15:47:38
Copyright © 2015 Cathexis Innovations Inc. All Rights Reserved.