Skip to content
This repository has been archived by the owner on May 3, 2021. It is now read-only.

ServerRequestHandler Programmer Notes

Guido Sanchez edited this page Apr 29, 2017 · 1 revision

ServerRequestHandler

ServerRequestHandler
    Members
        t_connection_state_map m_connection_state_map
            int connection_id;
            std::bitset<ControllerManager::k_max_devices> active_controller_streams;
            std::bitset<TrackerManager::k_max_devices> active_tracker_streams;
            std::bitset<HMDManager::k_max_devices> active_hmd_streams;
            AsyncBluetoothRequest *pending_bluetooth_request;
            ControllerStreamInfo active_controller_stream_info[ControllerManager::k_max_devices];
            TrackerStreamInfo active_tracker_stream_info[TrackerManager::k_max_devices];
            HMDStreamInfo active_hmd_stream_info[HMDManager::k_max_devices];        
        
    Functions
        update()
            poll any async bluetooth device requests (pairing/unpairing)
        handle_request(int connection_id, RequestPtr request)
        handle_input_data_frame(DeviceInputDataFramePtr data_frame)
        handle_client_connection_stopped
        publish_controller_data_frame
        publish_tracker_data_frame
        publish_hmd_data_frame