Package org.robwork.sdurw
Class FrameType
- java.lang.Object
-
- org.robwork.sdurw.FrameType
-
public class FrameType extends java.lang.Object
Enumeration of all concrete frame types of RobWork.
FrameType::Type is an enumeration of all frame types defined within
RobWork. For every implementation X of Frame, FrameType has an
enumeration value named FrameType::X.
The type of a frame can be accessed via frameTypeAccessor().
It is the responsibility of the work cell loaders to properly initialize
the frame type values.
The use of FrameType is a hack introduced due to the lack of a working
dynamic_cast<>.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FrameType.Type
FrameType enumeration
-
Constructor Summary
Constructors Constructor Description FrameType(long cPtr, boolean cMemoryOwn)
FrameType(FrameType.Type type)
Identifier for a frame of type type.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
delete()
FrameType.Type
get()
The frame type.
static long
getCPtr(FrameType obj)
-
-
-
Constructor Detail
-
FrameType
public FrameType(long cPtr, boolean cMemoryOwn)
-
FrameType
public FrameType(FrameType.Type type)
Identifier for a frame of type type.
- Parameters:
type
- [in] The type of frame.
-
-
Method Detail
-
getCPtr
public static long getCPtr(FrameType obj)
-
delete
public void delete()
-
get
public FrameType.Type get()
The frame type.
- Returns:
- The frame type.
-
-