visidia.simulation
Class SimulationConstants.RunningMode

java.lang.Object
  extended by visidia.simulation.SimulationConstants.RunningMode
Enclosing class:
SimulationConstants

public static final class SimulationConstants.RunningMode
extends java.lang.Object

This class handles constants relative to running mode.


Field Summary
static int COMMUNICATION_AGENTS
          The Constant COMMUNICATION_AGENTS.
static int COMMUNICATION_MESSAGES
          The Constant COMMUNICATION_MESSAGES.
static int NETWORK_LOCAL
          The Constant NETWORK_LOCAL.
static int NETWORK_REMOTE
          The Constant NETWORK_REMOTE.
static int PROCESSES_FIXED
          The Constant PROCESSES_FIXED.
static int PROCESSES_MOBILE
          The Constant PROCESSES_MOBILE.
 
Constructor Summary
SimulationConstants.RunningMode()
           
 
Method Summary
static boolean agentsMode(int mode)
          Checks if agents mode is active.
static boolean fixedMode(int mode)
          Checks if fixes processes mode is active.
static boolean localMode(int mode)
          Checks if local network mode is active.
static boolean messagesMode(int mode)
          Checks if messages mode is active.
static boolean mobileMode(int mode)
          Checks if mobile sensors mode is active.
static boolean remoteMode(int mode)
          Checks if remote network mode is active.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COMMUNICATION_MESSAGES

public static final int COMMUNICATION_MESSAGES
The Constant COMMUNICATION_MESSAGES.

See Also:
Constant Field Values

COMMUNICATION_AGENTS

public static final int COMMUNICATION_AGENTS
The Constant COMMUNICATION_AGENTS.

See Also:
Constant Field Values

NETWORK_LOCAL

public static final int NETWORK_LOCAL
The Constant NETWORK_LOCAL.

See Also:
Constant Field Values

NETWORK_REMOTE

public static final int NETWORK_REMOTE
The Constant NETWORK_REMOTE.

See Also:
Constant Field Values

PROCESSES_FIXED

public static final int PROCESSES_FIXED
The Constant PROCESSES_FIXED.

See Also:
Constant Field Values

PROCESSES_MOBILE

public static final int PROCESSES_MOBILE
The Constant PROCESSES_MOBILE.

See Also:
Constant Field Values
Constructor Detail

SimulationConstants.RunningMode

public SimulationConstants.RunningMode()
Method Detail

messagesMode

public static boolean messagesMode(int mode)
Checks if messages mode is active.

Parameters:
mode - the mode
Returns:
true, if successful

agentsMode

public static boolean agentsMode(int mode)
Checks if agents mode is active.

Parameters:
mode - the mode
Returns:
true, if successful

localMode

public static boolean localMode(int mode)
Checks if local network mode is active.

Parameters:
mode - the mode
Returns:
true, if successful

remoteMode

public static boolean remoteMode(int mode)
Checks if remote network mode is active.

Parameters:
mode - the mode
Returns:
true, if successful

fixedMode

public static boolean fixedMode(int mode)
Checks if fixes processes mode is active.

Parameters:
mode - the mode
Returns:
true, if successful

mobileMode

public static boolean mobileMode(int mode)
Checks if mobile sensors mode is active.

Parameters:
mode - the mode
Returns:
true, if successful