trick/test/SIM_test_varserv/models/varserv/include/VS.hh
Jacqueline Deans 90b5cdcb3c
Variable Server Integration Test (#1406)
* Added restart to trickops script; updated varserver integration test
2022-12-05 15:24:20 -06:00

59 lines
1.2 KiB
C++

/********************************* TRICK HEADER *******************************
PURPOSE: ( Variable server test )
REFERENCES: ( None )
ASSUMPTIONS AND LIMITATIONS: ( None )
PROGRAMMERS: ( (Lindsay Landry) (L3) (9-12-2013) ) ( (Jackie Deans) (CACI) (11-30-2022) )
********************************************************************************/
#include <wchar.h>
#include <string.h>
#include <string>
#include "trick_utils/comm/include/tc.h"
#include "trick_utils/comm/include/tc_proto.h"
#ifndef VS_HH
#define VS_HH
class VSTest {
public:
char a;
unsigned char b;
short c;
unsigned short d;
int e; /* m xy-position */
unsigned int f;
long g;
unsigned long h;
float i;
double j;
long long k;
unsigned long long l;
bool m;
int n[5];
std::string o;
char * p;
wchar_t * q;
int status;
VSTest();
~VSTest();
int init();
int default_vars();
int shutdown();
int success();
int fail();
const char *status_messages[3] = {
"Variable Server Test Success",
"Variable Server Test Failure",
"Client failed to connect"
};
};
#endif