2015-02-26 15:02:31 +00:00
|
|
|
/********************************* TRICK HEADER *******************************
|
2016-11-08 09:25:07 +00:00
|
|
|
PURPOSE: ( Variable server test )
|
2015-02-26 15:02:31 +00:00
|
|
|
REFERENCES: ( None )
|
2016-11-08 09:25:07 +00:00
|
|
|
ASSUMPTIONS AND LIMITATIONS: ( None )
|
2022-12-05 21:24:20 +00:00
|
|
|
PROGRAMMERS: ( (Lindsay Landry) (L3) (9-12-2013) ) ( (Jackie Deans) (CACI) (11-30-2022) )
|
2015-02-26 15:02:31 +00:00
|
|
|
********************************************************************************/
|
|
|
|
#include <wchar.h>
|
|
|
|
#include <string.h>
|
2022-12-05 21:24:20 +00:00
|
|
|
#include <string>
|
2015-02-26 15:02:31 +00:00
|
|
|
#include "trick_utils/comm/include/tc.h"
|
|
|
|
#include "trick_utils/comm/include/tc_proto.h"
|
|
|
|
|
2015-03-23 21:03:14 +00:00
|
|
|
#ifndef VS_HH
|
|
|
|
#define VS_HH
|
2022-08-18 15:47:07 +00:00
|
|
|
|
2016-11-08 09:25:07 +00:00
|
|
|
class VSTest {
|
2015-02-26 15:02:31 +00:00
|
|
|
public:
|
|
|
|
char a;
|
|
|
|
unsigned char b;
|
|
|
|
short c;
|
|
|
|
unsigned short d;
|
2022-08-18 15:47:07 +00:00
|
|
|
int e; /* m xy-position */
|
2015-02-26 15:02:31 +00:00
|
|
|
unsigned int f;
|
|
|
|
long g;
|
|
|
|
unsigned long h;
|
|
|
|
float i;
|
|
|
|
double j;
|
|
|
|
long long k;
|
|
|
|
unsigned long long l;
|
|
|
|
bool m;
|
2022-08-18 15:47:07 +00:00
|
|
|
int n[5];
|
2022-12-05 21:24:20 +00:00
|
|
|
std::string o;
|
|
|
|
char * p;
|
2023-02-24 20:44:55 +00:00
|
|
|
wchar_t * q; /**< trick_chkpnt_io(**) */
|
|
|
|
|
|
|
|
int large_arr[4000];
|
2022-12-05 21:24:20 +00:00
|
|
|
|
|
|
|
int status;
|
2015-02-26 15:02:31 +00:00
|
|
|
|
|
|
|
VSTest();
|
|
|
|
~VSTest();
|
|
|
|
|
|
|
|
int init();
|
|
|
|
int default_vars();
|
2022-12-05 21:24:20 +00:00
|
|
|
|
2015-02-26 15:02:31 +00:00
|
|
|
int shutdown();
|
|
|
|
|
2022-12-05 21:24:20 +00:00
|
|
|
int success();
|
|
|
|
int fail();
|
|
|
|
|
|
|
|
const char *status_messages[3] = {
|
|
|
|
"Variable Server Test Success",
|
|
|
|
"Variable Server Test Failure",
|
|
|
|
"Client failed to connect"
|
|
|
|
};
|
2015-02-26 15:02:31 +00:00
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|