Static Public Member Functions
org.srs.srs_knowledge.knowledge_engine.SRSJSONParser Class Reference

List of all members.

Static Public Member Functions

static JSONObject decodeJsonActionInfo (String jsonActionInfo)
static String encodeCheckObjectAction (String action, String objectType, double x, double y, double z, double orix, double oriy, double oriz, double oriw, double l, double w, double h)
static String encodeCustomAction (String action, Map< String, Object > content)
static String encodeDetectAction (String action, int hhId, String objectType, String workspace)
static String encodeGraspAction (String action, int hhId, String objectType, String workspace)
static String encodeMoveAction (String action, double x, double y, double theta)
static String encodeObjectCategoryInfo (HashSet< String > items)
static String encodeObjectProperties (Map< String, String > pro)
static String encodePutOnTrayAction (String action, String moveConfig)
static FetchObjectTask parseJSONToFetchTask (JSONObject task)
static GetObjectTask parseJSONToGetTask (JSONObject task)
static MoveTask parseJSONToMoveTask (JSONObject task)
static SearchObjectTask parseJSONToSearchTask (JSONObject task)
static StopTask parseJSONToStopTask (JSONObject task)
static Task parseJSONToTask (String encodedTask)

Detailed Description

Definition at line 81 of file SRSJSONParser.java.


Member Function Documentation

static JSONObject org.srs.srs_knowledge.knowledge_engine.SRSJSONParser.decodeJsonActionInfo ( String  jsonActionInfo) [inline, static]

Definition at line 439 of file SRSJSONParser.java.

static String org.srs.srs_knowledge.knowledge_engine.SRSJSONParser.encodeCheckObjectAction ( String  action,
String  objectType,
double  x,
double  y,
double  z,
double  orix,
double  oriy,
double  oriz,
double  oriw,
double  l,
double  w,
double  h 
) [inline, static]

Definition at line 372 of file SRSJSONParser.java.

static String org.srs.srs_knowledge.knowledge_engine.SRSJSONParser.encodeCustomAction ( String  action,
Map< String, Object >  content 
) [inline, static]

Definition at line 288 of file SRSJSONParser.java.

static String org.srs.srs_knowledge.knowledge_engine.SRSJSONParser.encodeDetectAction ( String  action,
int  hhId,
String  objectType,
String  workspace 
) [inline, static]

Definition at line 321 of file SRSJSONParser.java.

static String org.srs.srs_knowledge.knowledge_engine.SRSJSONParser.encodeGraspAction ( String  action,
int  hhId,
String  objectType,
String  workspace 
) [inline, static]

Definition at line 344 of file SRSJSONParser.java.

static String org.srs.srs_knowledge.knowledge_engine.SRSJSONParser.encodeMoveAction ( String  action,
double  x,
double  y,
double  theta 
) [inline, static]

Definition at line 262 of file SRSJSONParser.java.

static String org.srs.srs_knowledge.knowledge_engine.SRSJSONParser.encodeObjectCategoryInfo ( HashSet< String >  items) [inline, static]

Definition at line 415 of file SRSJSONParser.java.

static String org.srs.srs_knowledge.knowledge_engine.SRSJSONParser.encodeObjectProperties ( Map< String, String >  pro) [inline, static]

Definition at line 455 of file SRSJSONParser.java.

static String org.srs.srs_knowledge.knowledge_engine.SRSJSONParser.encodePutOnTrayAction ( String  action,
String  moveConfig 
) [inline, static]

Definition at line 304 of file SRSJSONParser.java.

static FetchObjectTask org.srs.srs_knowledge.knowledge_engine.SRSJSONParser.parseJSONToFetchTask ( JSONObject  task) [inline, static]

Definition at line 193 of file SRSJSONParser.java.

static GetObjectTask org.srs.srs_knowledge.knowledge_engine.SRSJSONParser.parseJSONToGetTask ( JSONObject  task) [inline, static]

Definition at line 166 of file SRSJSONParser.java.

static MoveTask org.srs.srs_knowledge.knowledge_engine.SRSJSONParser.parseJSONToMoveTask ( JSONObject  task) [inline, static]

Definition at line 139 of file SRSJSONParser.java.

static SearchObjectTask org.srs.srs_knowledge.knowledge_engine.SRSJSONParser.parseJSONToSearchTask ( JSONObject  task) [inline, static]

Definition at line 242 of file SRSJSONParser.java.

static StopTask org.srs.srs_knowledge.knowledge_engine.SRSJSONParser.parseJSONToStopTask ( JSONObject  task) [inline, static]

Definition at line 257 of file SRSJSONParser.java.

static Task org.srs.srs_knowledge.knowledge_engine.SRSJSONParser.parseJSONToTask ( String  encodedTask) [inline, static]

decode a single task ... the original task request sent from UIs should be first decoded by DM, and extract a single task request for here

Definition at line 88 of file SRSJSONParser.java.


The documentation for this class was generated from the following file:


srs_knowledge
Author(s): Ze Ji
autogenerated on Mon Oct 6 2014 08:27:33