FMIceLinkManagedConcurrentQueue Class Reference
| Inherits from | NSObject |
|---|---|
| Conforms to | T __covariant |
| Declared in | FMIceLinkManagedConcurrentQueue.h FMIceLinkManagedConcurrentQueue.m |
– count
Gets the amount of items in this queue.
- (int)countDiscussion
Gets the amount of items in this queue.
Declared In
FMIceLinkManagedConcurrentQueue.h
– enqueueWithItem:
Add the item to the end of the queue.
- (void)enqueueWithItem:(T)itemParameters
item |
The item to add. |
|---|
Discussion
Add the item to the end of the queue.
Declared In
FMIceLinkManagedConcurrentQueue.h
– init
Creates a new ConcurrentQueue.
- (instancetype)initDiscussion
Creates a new ConcurrentQueue.
Declared In
FMIceLinkManagedConcurrentQueue.h
– isEmpty
Gets true if the queue is empty.
- (bool)isEmptyDiscussion
Gets true if the queue is empty.
Declared In
FMIceLinkManagedConcurrentQueue.h
+ managedConcurrentQueue
Creates a new ConcurrentQueue.
+ (FMIceLinkManagedConcurrentQueue *)managedConcurrentQueueDiscussion
Creates a new ConcurrentQueue.
Declared In
FMIceLinkManagedConcurrentQueue.h
– tryDequeueWithItem:
Removes and returns the item at the front of the queue.
- (bool)tryDequeueWithItem:(T *)itemParameters
item |
The dequeued item. |
|---|
Return Value
True if item received, false if no item.
Discussion
Removes and returns the item at the front of the queue.
Declared In
FMIceLinkManagedConcurrentQueue.h
– tryPeekWithItem:
Peeks at the first item in the queue.
- (bool)tryPeekWithItem:(T *)itemParameters
item |
The item at the front of the queue. |
|---|
Return Value
False if queue is empty. True if first item peeked at.
Discussion
Peeks at the first item in the queue.
Declared In
FMIceLinkManagedConcurrentQueue.h