CDI SDK
SDK for transporting chunks of data reliably and with low latency using a polled mode network driver.
Loading...
Searching...
No Matches
test_console.h
Go to the documentation of this file.
1// -------------------------------------------------------------------------------------------
2// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
3// This file is part of the AWS CDI-SDK, licensed under the BSD 2-Clause "Simplified" License.
4// License details at: https://github.com/aws/aws-cdi-sdk/blob/mainline/LICENSE
5// -------------------------------------------------------------------------------------------
6
13#ifndef TEST_CONSOLE_H__
14#define TEST_CONSOLE_H__
15
16#include <stdbool.h>
17
18#include "test_args.h"
19
20//*********************************************************************************************************************
21//***************************************** START OF DEFINITIONS AND TYPES ********************************************
22//*********************************************************************************************************************
23
24//*********************************************************************************************************************
25//******************************************* START OF PUBLIC FUNCTIONS ***********************************************
26//*********************************************************************************************************************
27
36bool TestConsoleCreate(bool multi_window_mode, int num_stats_lines);
37
44
55void TestConsoleStats(int x, int y, int attribute, const char* format_str, ...);
56
65void TestConsoleStatsHorzLine(int x, int y, int width);
66
71
80void TestConsoleLog(CdiLogLevel log_level, const char* format_str, ...);
81
89void TestConsoleDestroy(bool abnormal_termination);
90
91#endif // TEST_CONSOLE_H__
CdiLogLevel
This selector determines the log level of messages generated using the CdiLogMessageCallback()....
Definition cdi_log_enums.h:50
#define TestConsoleLog
Define TestConsoleLog.
Definition ndi_test.h:38
A structure of this type is passed as the parameter to CdiLogMessageCallback(). It contains a single ...
Definition cdi_log_api.h:81
The declarations in this header file correspond to the definitions in test_args.c.
bool TestConsoleCreate(bool multi_window_mode, int num_stats_lines)
Definition test_console.c:220
void TestConsoleStatsHorzLine(int x, int y, int width)
Definition test_console.c:430
void TestConsoleStats(int x, int y, int attribute, const char *format_str,...)
Definition test_console.c:398
void TestConsoleStatsRefresh(void)
Definition test_console.c:446
void TestConsoleLogMessageCallback(const CdiLogMessageCbData *cb_data_ptr)
Definition test_console.c:361
void TestConsoleDestroy(bool abnormal_termination)
Definition test_console.c:285