The Robot Application Programming Interface Delegate Project
|
Convenience collection for AgentID constant values. More...
Implements an interface very similar to Enum. This used to be an enum but was changed to a class for runtime extensibility. Code using Agent should not require changes (with the obvious exception of "switch" statements).
[static initializer] | ( | ) | [static, package] |
static boolean add | ( | String | agentName, |
AgentType | agentType | ||
) | [static] |
agentName | |
agentType |
int compareTo | ( | Agent | other | ) |
static Agent fromString | ( | String | name | ) | [static] |
static Agent getAgentFromName | ( | String | name | ) | [static] |
String name | ( | ) |
static synchronized Agent newAgent | ( | String | agentName, |
AgentType | agentType | ||
) | throws Exception [static] |
agentName | |
agentType |
Exception |
static Agent newOperatorAgent | ( | ) | [static] |
TODO: This method will not remain the way it is. Instead, we need to have a RAPID domain-wide UID generation scheme for new clients. For now, we just use a positive randomly generated 4-digit number.
int ordinal | ( | ) |
String toString | ( | ) |
static Agent valueOf | ( | String | name | ) | [static] |
static List<Agent> values | ( | ) | [static] |
static Agent [] valuesAsArray | ( | ) | [static] |
final Agent Astronaut1 = new Agent(AgentType.ASTRONAUT) [static] |
final Agent Astronaut2 = new Agent(AgentType.ASTRONAUT) [static] |
final Agent AthleteA = new Agent(AgentType.ATHLETE) [static] |
final Agent AthleteB = new Agent(AgentType.ATHLETE) [static] |
final Agent AthleteC = new Agent(AgentType.ATHLETE) [static] |
final Agent AthleteD = new Agent(AgentType.ATHLETE) [static] |
final Agent AthleteSim = new Agent(AgentType.ATHLETE) [static] |
final Agent Centaur2 = new Agent(AgentType.CENTAUR) [static] |
final Agent Centaur2Sim = new Agent(AgentType.CENTAUR) [static] |
final Agent ChariotA = new Agent(AgentType.JSCROVER) [static] |
final Agent ChariotB = new Agent(AgentType.JSCROVER) [static] |
final Agent ChariotC = new Agent(AgentType.JSCROVER) [static] |
final Agent ChariotD = new Agent(AgentType.JSCROVER) [static] |
final Agent Cockpit01 = new Agent(AgentType.OPERATOR) [static] |
final Agent Cockpit02 = new Agent(AgentType.OPERATOR) [static] |
final Agent Cockpit03 = new Agent(AgentType.OPERATOR) [static] |
final Agent Cockpit04 = new Agent(AgentType.OPERATOR) [static] |
final Agent Cockpit05 = new Agent(AgentType.OPERATOR) [static] |
final Agent Cockpit06 = new Agent(AgentType.OPERATOR) [static] |
final Agent Cockpit07 = new Agent(AgentType.OPERATOR) [static] |
final Agent Cockpit08 = new Agent(AgentType.OPERATOR) [static] |
final Agent Cockpit09 = new Agent(AgentType.OPERATOR) [static] |
final Agent EV1 = new Agent(AgentType.ASTRONAUT) [static] |
final Agent EV2 = new Agent(AgentType.ASTRONAUT) [static] |
final Agent EV3 = new Agent(AgentType.ASTRONAUT) [static] |
final Agent EV4 = new Agent(AgentType.ASTRONAUT) [static] |
final Agent GenericSim = new Agent(AgentType.SIMULATOR) [static] |
final Agent K10Black = new Agent(AgentType.K10) [static] |
final Agent K10Red = new Agent(AgentType.K10) [static] |
final Agent K10Sim = new Agent(AgentType.K10) [static] |
final Agent KRex = new Agent(AgentType.K10) [static] |
final Agent LangleyCamera = new Agent(AgentType.CAMERA) [static] |
final Agent LangleyCrane = new Agent(AgentType.CRANE) [static] |
final Agent LerA = new Agent(AgentType.JSCROVER) [static] |
final Agent LerASim = new Agent(AgentType.JSCROVER) [static] |
final Agent LerB = new Agent(AgentType.JSCROVER) [static] |
final Agent LerBSim = new Agent(AgentType.JSCROVER) [static] |
final Agent LerC = new Agent(AgentType.JSCROVER) [static] |
final Agent LerCSim = new Agent(AgentType.JSCROVER) [static] |
final Agent LerD = new Agent(AgentType.JSCROVER) [static] |
final Agent LerDSim = new Agent(AgentType.JSCROVER) [static] |
final Agent RapidCameraA = new Agent(AgentType.CAMERA) [static] |
final Agent RapidCameraB = new Agent(AgentType.CAMERA) [static] |
final Agent RapidCameraC = new Agent(AgentType.CAMERA) [static] |
final Agent RapidCameraD = new Agent(AgentType.CAMERA) [static] |
final Agent RapidCameraE = new Agent(AgentType.CAMERA) [static] |
final Agent Robonaut2A = new Agent(AgentType.HUMANOID) [static] |
final Agent Robonaut2ASim = new Agent(AgentType.HUMANOID) [static] |
final Agent Robonaut2B = new Agent(AgentType.HUMANOID) [static] |
final Agent SequencerAll = new Agent(AgentType.SEQUENCER) [static] |
final Agent SequencerArcA = new Agent(AgentType.SEQUENCER) [static] |
final Agent SequencerArcB = new Agent(AgentType.SEQUENCER) [static] |
final Agent SequencerJPLA = new Agent(AgentType.SEQUENCER) [static] |
final Agent SequencerJPLB = new Agent(AgentType.SEQUENCER) [static] |
final Agent SequencerJPLC = new Agent(AgentType.SEQUENCER) [static] |
final Agent SequencerJPLD = new Agent(AgentType.SEQUENCER) [static] |
final Agent SequencerJPLE = new Agent(AgentType.SEQUENCER) [static] |
final Agent SequencerJPLF = new Agent(AgentType.SEQUENCER) [static] |
final Agent SequencerJPLG = new Agent(AgentType.SEQUENCER) [static] |
final Agent SequencerJPLH = new Agent(AgentType.SEQUENCER) [static] |
final Agent SequencerJPLI = new Agent(AgentType.SEQUENCER) [static] |
final Agent SequencerJPLJ = new Agent(AgentType.SEQUENCER) [static] |
final Agent SequencerJPLK = new Agent(AgentType.SEQUENCER) [static] |
final Agent SequencerJPLL = new Agent(AgentType.SEQUENCER) [static] |
final Agent SequencerJSCA = new Agent(AgentType.SEQUENCER) [static] |
final Agent SequencerJSCB = new Agent(AgentType.SEQUENCER) [static] |
final Agent SequencerJSCC = new Agent(AgentType.SEQUENCER) [static] |
final Agent SequencerJSCD = new Agent(AgentType.SEQUENCER) [static] |
final Agent SequencerJSCE = new Agent(AgentType.SEQUENCER) [static] |
final Agent SequencerSuit1 = new Agent(AgentType.SEQUENCER) [static] |
final Agent SequencerSuit2 = new Agent(AgentType.SEQUENCER) [static] |
final Agent SONYSNCRZ30N = new Agent(AgentType.CAMERA) [static] |
final Agent Spheres0 = new Agent(AgentType.SIMULATOR) [static] |
final Agent SpheresBlack = new Agent(AgentType.SIMULATOR) [static] |
final Agent SpheresBlue = new Agent(AgentType.SIMULATOR) [static] |
final Agent SpheresBlue2 = new Agent(AgentType.SIMULATOR) [static] |
final Agent SpheresOrange = new Agent(AgentType.SIMULATOR) [static] |
final Agent SpheresOrange2 = new Agent(AgentType.SIMULATOR) [static] |
final Agent SpheresRed = new Agent(AgentType.SIMULATOR) [static] |
final Agent TriathleteA = new Agent(AgentType.ATHLETE) [static] |
final Agent TriathleteB = new Agent(AgentType.ATHLETE) [static] |
final Agent TriathleteC = new Agent(AgentType.ATHLETE) [static] |
final Agent TriathleteD = new Agent(AgentType.ATHLETE) [static] |
final Agent TriathleteE = new Agent(AgentType.ATHLETE) [static] |
final Agent TriathleteF = new Agent(AgentType.ATHLETE) [static] |