| 36 | { |
| 37 | |
| 38 | class DataCallback |
| 39 | { |
| 40 | public: |
| 41 | /** |
| 42 | * Callback that new data has arrived. |
| 43 | * @param buffer Buffer with new data. |
| 44 | * @param n Size of the new data. |
| 45 | */ |
| 46 | virtual void onDataReceived(unsigned char *buffer, size_t n) = 0; |
| 47 | }; |
| 48 | |
| 49 | } // namespace libfreenect2 |
| 50 |
nothing calls this directly
no outgoing calls
no test coverage detected