/*** *** See the file "L2_RTI_EO1/disclaimers-and-notices-L2.txt" for *** information on usage and redistribution of this file, *** and for a DISCLAIMER OF ALL WARRANTIES. ***/ #ifndef TELEMETRYENCODING_HPP #define TELEMETRYENCODING_HPP /** * This file is concerned with encoding and decoding of Reporter output. * L2.log is encoded numerically. This file contains the enums used. * \ingroup RTI */ /** * The opcodes that appear in a message passed to Reporter::send() and * sendMsgQ(). */ enum ReporterOpcode { REP_TIMESTEP = 1, // Associate L2 time step to clock time REP_OBSERVATION = 2, REP_BEGIN_DIAGNOSE = 3, REP_BEGIN_CANDIDATE = 4, REP_ASSUMPTION = 5, REP_END_CANDIDATE = 6, REP_END_DIAGNOSE = 7, REP_COMMAND = 8, REP_ASSIGNMENT = 9, REP_START_STATE = 99 }; /** * An enum indicating the leaf subclass of L2 class Variable. * The final value of a line of which the initial value is REP_ASSUMPTION. */ enum VariableType { VT_ASSIGNABLE, VT_TRANSITION, VT_OBSERVABLE, VT_COMMANDED, VT_ASSUMPTION, VT_STATE_VARIABLE, VT_TRANSITIONED, VT_DEPENDENT }; #endif // TELEMETRYENCODING_HPP