videoLat  2.1
Video conferencing delay measurements
Instance Methods | Class Methods | Protected Attributes | List of all members
NetworkRunManager Class Reference

#import <NetworkRunManager.h>

Inheritance diagram for NetworkRunManager:
Inheritance graph
Collaboration diagram for NetworkRunManager:
Collaboration graph

Instance Methods

(void) - codeRequestedByMaster:
 Called when an incoming request for showing a code is received over the network.
(BOOL) - reportInputDeviceToRemote
 Report input device name and other parameters to remote side.
(BOOL) - reportOutputDeviceToRemote
 Report output device name and other parameters to remote side.
- Instance Methods inherited from VideoRunManager
(VideoRunManager *) - init
(void) - triggerNewOutputValue
(CIImage *) - getNewOutputImage
(NSString *) - getNewOutputCode
(void) - newInputDone:at:
(void) - setFinderRect:
- Instance Methods inherited from BaseRunManager
(void) - terminate
 Prepare for deallocation. Severs links with companion and releases resources.
(void) - stop
 Called when the user stops a measurement run, via stopMeasuring from RunTypeView.
(IBAction) - startPreMeasuring:
 Called when premeasuring button has been pressed.
(void) - stopPreMeasuring:
 Stop pre-measuring because we have enough prerun samples.
(IBAction) - startMeasuring:
 Called when user presses "start" button.
(IBAction) - stopMeasuring:
 Called when user presses "stop" button.
(void) - selectMeasurementType:
(void) - restart
 Signals that a measurement run should be restarted (for example because the input device has changed).
(void) - triggerNewOutputValueAfterDelay
(void) - prepareReceivedNoValidCode
 Internal: no QR code was received in time during prerun.
(void) - prepareReceivedValidCode:
 Internal: QR code was received in time during prerun.
(BOOL) - prepareInputDevice
(BOOL) - prepareOutputDevice
(BOOL) - prepareMeasurementFromRemoteData
(void) - reportResultsToRemote:
 Report measurement results to remote input or output handler.
(void) - reportHeartbeat
 Called whenever "nothing really happened", will cause a heartbeat to be sent when helper.
(void) - receivedMeasurementResult:
 Called when a measurement report has been received from the master.

Class Methods

(void) + initialize
 Class initializer.
- Class Methods inherited from BaseRunManager
(void) + registerClass:forMeasurementType:
(Class) + classForMeasurementType:
(void) + registerNib:forMeasurementType:
(NSString *) + nibForMeasurementType:

Protected Attributes

NSString * codeRequested
NSString * codeReported
- Protected Attributes inherited from VideoRunManager
CIImage * outputCodeImage
 Internal: Current code as a CIImage.
- Protected Attributes inherited from BaseRunManager
BOOL networkHelper
 true if this is a networked helper, i.e. it has no collector.
BOOL networkServer
 true if this run manager is a network server (i.e. producing visual output to let the other side connect back here)
BOOL showPreviewDuringRun
 True if we want to see the preview while running (false for QR-code roundtrip)
uint64_t prepareMaxWaitTime
 Internal: How long to wait for prerun code finding.
int prepareMoreNeeded
 Internal: How many more prerun correct catches we need.
uint64_t averageFinderDuration
 Running average of how much the patternfinder takes.
uint64_t outputCodeTimestamp
 When the last output code change was made.
NSString * prevInputCode
 Last input code detected.
int prevInputCodeDetectionCount
 How often prevInputCode was detected.
int uncertainDetectionCount
 How often we detected no reasonable code.
NSString * baseName

Additional Inherited Members

- Properties inherited from VideoRunManager
IBOutlet VideoSelectionViewselectionView
 Assigned in NIB: view that allows selection of input device.
IBOutlet NSObject< InputVideoFindProtocol > * finder
 Assigned in NIB: matches incoming QR codes.
IBOutlet NSObject< OutputVideoGenProtocol > * genner
 Assigned in NIB: generates QR codes for output.
- Properties inherited from BaseRunManager
IBOutlet NSObject< InputSelectionView > * selectionView
 Assigned in NIB: view that allows selection of input device.
IBOutlet NSObject< InputDeviceProtocol > * capturer
 Assigned in NIB: input capturer.
IBOutlet NSorUIView< OutputDeviceProtocol > * outputView
 Assigned in NIB: Displays current output QR code.
IBOutlet NSObject< NewMeasurementDelegate > * completionHandler
 Optionally assigned in NIB: handler to open completed measurement.
IBOutlet NetworkIODevicenetworkIODevice
 For hetwork measurements: the connection to the other side.
IBOutlet NSObject< ClockProtocol > * clock
 Input manager clock.
NSString * outputCode
NSString * prevOutputCode
bool running
 True after user has pressed "run" button, false again after pressing "stop".
bool preparing
 True after user has pressed "prepare" button, false again after pressing "run".
IBOutlet RunCollectorcollector
 Initialized in the NIB, RunCollector for this measurement run.
IBOutlet RunStatusViewstatusView
 Initialized in the NIB, RunStatusView for this measurement run.
IBOutlet RunManagerViewmeasurementMaster
 Initialized in the NIB, our parent object.

Detailed Description

Subclass of BaseRunManager that handles transmitting and receiving measurement data over the network as a helper device. This manager can handle either a camera or a screen, but not both. It does not have a collector but sends capture times or transmission times back to the remote master device.

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