A singleton class that listens for changes in available video input devices.
Definition at line 128 of file VuoVideoCapture.mm.
Instance Methods | |
(id) | - init |
Init and register for NSNotification events. More... | |
(void) | - devicesDidChange: |
Called when a change is detected. More... | |
(void) | - addCallback: |
Add a callback to be triggered when the input list changes. More... | |
(void) | - removeCallback: |
Remove a callback from the trigger set. More... | |
Protected Attributes | |
VuoTriggerSet< VuoList_VuoVideoInputDevice > | callbacks |
A TriggerSet of VuoList_VuoVideoInputDevice output triggers. More... | |
- (void) addCallback: | (void(*)(VuoList_VuoVideoInputDevice)) | outputTrigger |
Add a callback to be triggered when the input list changes.
Definition at line 158 of file VuoVideoCapture.mm.
- (void) devicesDidChange: | (NSNotification*) | notif |
Called when a change is detected.
Definition at line 169 of file VuoVideoCapture.mm.
- (id) init |
Init and register for NSNotification events.
Definition at line 141 of file VuoVideoCapture.mm.
- (void) removeCallback: | (void(*)(VuoList_VuoVideoInputDevice)) | outputTrigger |
Remove a callback from the trigger set.
Definition at line 164 of file VuoVideoCapture.mm.
|
protected |
A TriggerSet of VuoList_VuoVideoInputDevice output triggers.
Definition at line 130 of file VuoVideoCapture.mm.