indexpreviousnext

file name: params.hpp
classification: simulation
contents: enum EModule, enum ESystemParameter, enum ESystemCommand, enum EReplyType, enum EMessageType
use: provides enumerations for many data structures that are sent over the socket
 

enumerations:

enum EMessageType: All possible message types, both from the simulation and from the evaluation. The first byte in a message contains the type (cast to INT8).

enum EModule: The simulation modules.

enum EReplyType: All possible types of message replies from the simulation to the evaluation.

enum ESystemCommand: All command types for issuing commands from the evaluation to the simulation.

enum ESystemParameter: The parameter types for setting/obtaining system parameters (sent from the evaluation to the simulation).
 

enum EMessageType:

note: EMessageType is cast to INT8 in the socket interface class for stream sockets (class CStreamInterface), so the values should be in the range [0, 255].

EvalSys -> Simulation:

Simulation -> EvalSys: EvalSys <-> Simulation: note: the last two commands are for resynchronization if the communication has gone awry. If one side is out of sync, it sends a message MsgResynchronize to its partner which responds with the message MsgSynchronizationByte.
 

enum EModule:


enum EReplyType:


enum ESystemCommand:

Clock:

ClockSync: Controller: Lance: Network: Supervisor:


enum ESystemParameter:

Clock:

ClockSync: Lance: Network: Controller, Supervisor:
last modified: Fri Feb 5 18:56:31 1999