IDBLUE logo
Public Member Functions
CommandQueue Class Reference
Inheritance diagram for CommandQueue:
ObjectCollection

Public Member Functions

(void) - push:
(int) - commandCount
(IDBlueCommand *) - getCommand:
(void) - remove:
(int) - clear

Detailed Description

CommandQueue is a queue of IDBlueCommand objects that are sent to an IDBLUE device that are waiting for a response from IDBLUE.


Member Function Documentation

- (int) clear

Clears all pending commands from the CommandCueue

Returns:
the number of commands removed.
- (int) commandCount

Get the number of queued commands

Returns:
the number of commands that are awaiting respones

Get the first queued command for which the given response is valid, and remove the command from the queue.

Returns:
The first command for which response is a valid response - command is also removed from the queue.
- (void) push: (IDBlueCommand*)  command

Queue a command

Parameters:
commandthe command that was sent to IDBLUE and now waiting for a response.
- (void) remove: (IDBlueCommand*)  command

Remove the given command from the CommandQueue


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.