Class extracting string-based information out of PvStream statistics. More...
Public Member Functions | |
| PvStreamInfo (PvStream *aStream) | |
| Constructor. More... | |
| ~PvStreamInfo () | |
| Destructor. | |
| PvString | GetStatistics (uint32_t aDisplayFrameRate) |
| Returns statistics string. More... | |
| PvString | GetErrors () |
| Returns errors string. More... | |
| PvString | GetWarnings (bool aPipelineReallocated) |
| Returns warnings string. More... | |
Class extracting string-based information out of PvStream statistics.
This class is used by Pleora applications like eBUS Player to provide information on the stream statistics, errors and warnings.
While not a core component of the SDK this utility class can be reused in your own application if needed.
| PvStreamInfo::PvStreamInfo | ( | PvStream * | aStream | ) |
Constructor.
| [in] | aStream | Pointer to the PvStream object to use to build information strings. |
| PvString PvStreamInfo::GetErrors | ( | ) |
Returns errors string.
| PvString PvStreamInfo::GetStatistics | ( | uint32_t | aDisplayFrameRate | ) |
Returns statistics string.
| [in] | aDisplayFrameRate | The current display frame rate. Will be appended to the string. |
| PvString PvStreamInfo::GetWarnings | ( | bool | aPipelineReallocated | ) |
Returns warnings string.
| [in] | aPipelineReallocated | Set to true to add information that the pipeline was reallocated. |
Copyright (c) 2002-2021 Pleora Technologies Inc.
www.pleora.com