Package kr.ac.konkuk.ccslab.cm.event
Class CMConsistencyEvent
java.lang.Object
kr.ac.konkuk.ccslab.cm.entity.CMObject
kr.ac.konkuk.ccslab.cm.event.CMEvent
kr.ac.konkuk.ccslab.cm.event.CMConsistencyEvent
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
static final int
Fields inherited from class kr.ac.konkuk.ccslab.cm.event.CMEvent
m_bytes, m_nByteNum, m_nID, m_strDistributionGroup, m_strDistributionSession, m_strHandlerGroup, m_strHandlerSession, m_strReceiver, m_strSender
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected int
int
float[]
float[]
protected void
void
setEventSource
(int src) void
setRotation
(float[] rotate) void
setTranslation
(float[] trans) protected void
unmarshallBody
(ByteBuffer msg) Methods inherited from class kr.ac.konkuk.ccslab.cm.event.CMEvent
allocate, equals, getDistributionGroup, getDistributionSession, getHandlerGroup, getHandlerSession, getID, getInt2BytesFromByteBuffer, getReceiver, getSender, getStringFromByteBuffer, marshall, marshallHeader, putInt2BytesToByteBuffer, putStringToByteBuffer, setByteNum, setDistributionGroup, setDistributionSession, setHandlerGroup, setHandlerSession, setID, setReceiver, setSender, toString, unmarshall, unmarshallHeader
-
Field Details
-
TRANSLATION
public static final int TRANSLATION- See Also:
-
ROTATION
public static final int ROTATION- See Also:
-
TRANS_ROTATION
public static final int TRANS_ROTATION- See Also:
-
-
Constructor Details
-
CMConsistencyEvent
public CMConsistencyEvent() -
CMConsistencyEvent
-
-
Method Details
-
setEventSource
public void setEventSource(int src) -
getEventSource
public int getEventSource() -
setTranslation
public void setTranslation(float[] trans) -
getTranslation
public float[] getTranslation() -
setRotation
public void setRotation(float[] rotate) -
getRotation
public float[] getRotation() -
getByteNum
protected int getByteNum()- Overrides:
getByteNum
in classCMEvent
-
marshallBody
protected void marshallBody()- Specified by:
marshallBody
in classCMEvent
-
unmarshallBody
- Specified by:
unmarshallBody
in classCMEvent
-