public class PlatformStatus extends GamsJNI
| Modifier and Type | Field and Description |
|---|---|
ai.madara.knowledge.containers.Integer |
communicationAvailable
Flag for whether the algorithm is deadlocked or not
|
ai.madara.knowledge.containers.Integer |
deadlocked
Flag for whether the algorithm is deadlocked or not
|
ai.madara.knowledge.containers.Integer |
failed
Flag for whether the algorithm is failed or not
|
ai.madara.knowledge.containers.Integer |
gpsSpoofed
Flag for whether the algorithm is failed or not
|
ai.madara.knowledge.containers.Integer |
movementAvailable
Flag for whether the algorithm is failed or not
|
ai.madara.knowledge.containers.Integer |
moving
Flag for whether the algorithm is failed or not
|
ai.madara.knowledge.containers.Integer |
ok
Flag for whether the algorithm is ok or not
|
ai.madara.knowledge.containers.Integer |
pausedMoving
Flag for whether the algorithm is paused or not
|
ai.madara.knowledge.containers.Integer |
reducedMovement
Flag for whether the algorithm is paused or not
|
ai.madara.knowledge.containers.Integer |
reducedSensing
Flag for whether the algorithm is paused or not
|
ai.madara.knowledge.containers.Integer |
sensorsAvailable
Flag for whether the algorithm is paused or not
|
ai.madara.knowledge.containers.Integer |
waiting
Flag for whether the algorithm is in a waiting state or not
|
| Constructor and Description |
|---|
PlatformStatus()
Default constructor
|
PlatformStatus(PlatformStatus input)
Copy constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
finalize()
Cleans up underlying C resources
|
void |
free()
Deletes the C instantiation.
|
static PlatformStatus |
fromPointer(long cptr)
Creates a java object instance from a C/C++ pointer
|
static PlatformStatus |
fromPointer(long cptr,
boolean shouldManage)
Creates a java object instance from a C/C++ pointer
|
String |
getName()
Gets the name of the variable
|
void |
init()
Initializes the member variables
|
void |
init(ai.madara.knowledge.KnowledgeBase kb,
String name)
Sets the name and knowledge base being referred to
|
void |
init(ai.madara.knowledge.Variables vars,
String name)
Sets the name and knowledge base being referred to
|
String |
toString()
Converts the value to a string
|
public ai.madara.knowledge.containers.Integer communicationAvailable
public ai.madara.knowledge.containers.Integer deadlocked
public ai.madara.knowledge.containers.Integer failed
public ai.madara.knowledge.containers.Integer gpsSpoofed
public ai.madara.knowledge.containers.Integer movementAvailable
public ai.madara.knowledge.containers.Integer moving
public ai.madara.knowledge.containers.Integer ok
public ai.madara.knowledge.containers.Integer pausedMoving
public ai.madara.knowledge.containers.Integer reducedSensing
public ai.madara.knowledge.containers.Integer reducedMovement
public ai.madara.knowledge.containers.Integer sensorsAvailable
public ai.madara.knowledge.containers.Integer waiting
public PlatformStatus()
throws GamsDeadObjectException
GamsDeadObjectExceptionpublic PlatformStatus(PlatformStatus input) throws GamsDeadObjectException
input - the platform to copyGamsDeadObjectExceptionpublic String getName() throws GamsDeadObjectException
GamsDeadObjectExceptionpublic static PlatformStatus fromPointer(long cptr) throws GamsDeadObjectException
cptr - C pointer to the objectGamsDeadObjectExceptionpublic static PlatformStatus fromPointer(long cptr, boolean shouldManage) throws GamsDeadObjectException
cptr - C pointer to the objectshouldManage - if true, manage the pointerGamsDeadObjectExceptionpublic void init()
throws GamsDeadObjectException
GamsDeadObjectExceptionpublic void init(ai.madara.knowledge.KnowledgeBase kb,
String name)
throws GamsDeadObjectException
kb - the knowledge base that contains the namename - the variable nameGamsDeadObjectExceptionpublic void init(ai.madara.knowledge.Variables vars,
String name)
throws GamsDeadObjectException
vars - the variables facade that contains the namename - the variable nameGamsDeadObjectExceptionpublic String toString()
public void free()
Copyright © 2018. All rights reserved.