NetSim Source Code Help
Loading...
Searching...
No Matches
NetSim_Plot.h
Go to the documentation of this file.
1/************************************************************************************
2 * Copyright (C) 2020 *
3 * TETCOS, Bangalore. India *
4 * *
5 * Tetcos owns the intellectual property rights in the Product and its content. *
6 * The copying, redistribution, reselling or publication of any or all of the *
7 * Product or its content without express prior written consent of Tetcos is *
8 * prohibited. Ownership and / or any other right relating to the software and all *
9 * intellectual property rights therein shall remain at all times with Tetcos. *
10 * *
11 * Author: Shashi Kant Suman *
12 * *
13 * ---------------------------------------------------------------------------------*/
14#ifndef _NETSIM_PLOT_H_
15#define _NETSIM_PLOT_H_
16#ifndef WIN32
17#include <stdio.h>
18#include "Linux.h"
19#endif
20
21typedef enum enum_plot_type
22{
27
28typedef struct stru_plot_data
29{
30 char* data;
33
34typedef struct stru_plotData
35{
39
40
41typedef struct stru_NetSimPlot
42{
43 char* menuName;
44 char* heading;
45 char* xLabel;
46 char* yLabel;
47
49 char** plotName;
50
54 bool isOver;
55
57
59
60/* Plot API */
62 char* menuName,
63 char* heading,
64 ...);
65_declspec(dllexport) void add_plot_data_formatted(PNETSIMPLOT g, char* format, ...);
66#endif
#define UINT
Definition: Linux.h:38
#define _declspec(dllexport)
This function is used to trigger the update.
Definition: Linux.h:41
#define HANDLE
Definition: Linux.h:73
struct stru_NetSimPlot NETSIMPLOT
void add_plot_data_formatted(PNETSIMPLOT g, char *format,...)
struct stru_plotData * ptrPLOTDATA
struct stru_plotData PLOTDATA
PNETSIMPLOT fn_NetSim_Install_Metrics_Plot(PLOT_TYPE plotType, char *menuName, char *heading,...)
struct stru_NetSimPlot * PNETSIMPLOT
enum enum_plot_type PLOT_TYPE
struct stru_plot_data PLOT_DATA
struct stru_plot_data * PPLOT_DATA
enum_plot_type
Definition: NetSim_Plot.h:22
@ Plot_Throughput
Definition: NetSim_Plot.h:24
@ Plot_Custom
Definition: NetSim_Plot.h:23
@ Plot_Buffer
Definition: NetSim_Plot.h:25
char ** plotName
Definition: NetSim_Plot.h:49
PLOTDATA plotData
Definition: NetSim_Plot.h:53
PLOT_TYPE plotType
Definition: NetSim_Plot.h:51
char * txtFileName
Definition: NetSim_Plot.h:52
struct stru_plot_data * next
Definition: NetSim_Plot.h:31
PPLOT_DATA read
Definition: NetSim_Plot.h:36
PPLOT_DATA write
Definition: NetSim_Plot.h:37