awips2/nativeLib/rary.wfoapi.test_WorkstationTestMode/include/WorkstationTestMode.H
root 06a8b51d6d Initial revision of AWIPS2 11.9.0-7p5
Former-commit-id: 64fa9254b946eae7e61bbc3f513b7c3696c4f54f
2012-01-06 08:55:05 -06:00

38 lines
1 KiB
C++

// *******************************************************
// +++ WorkstationTestMode.H: Interface to workstation mode
//
//
// Usage:
//
// #include "WorkstationTestMode.H"
//
// WorkstationTestMode::Wstm wstm =
// WorkstationTestMode::checkWorkstationTestMode ();
//
//
// If WorkstationTestMode::checkWorkstationTestMode returns a
// value of WorkstationTestMode::PANIC, it means the workstation
// test mode cannot be determined.
//
// The other possible return values correspond to workstation
// modes as described in the header comments in getTestMode.C
// and tmcp.C.
//
// WorkstationTestMode::checkWorkstationTestMode works by
// executing (via system()) $FXA_HOME/bin/getTestMode.
//
// History:
// 23-dec-04 Davison Initial
//
// --- ***************************************************
#ifndef _WORKSTATIONTESTMODE_H_
#define _WORKSTATIONTESTMODE_H_
class WorkstationTestMode {
public:
enum Wstm {TEST, PRACTICE, OPERATIONAL, PANIC};
static Wstm checkWorkstationTestMode (void);
};
#endif