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 intstatic final intstatic final intFields 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 intintfloat[]float[]protected voidvoidsetEventSource(int src) voidsetRotation(float[] rotate) voidsetTranslation(float[] trans) protected voidunmarshallBody(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:
getByteNumin classCMEvent
-
marshallBody
protected void marshallBody()- Specified by:
marshallBodyin classCMEvent
-
unmarshallBody
- Specified by:
unmarshallBodyin classCMEvent
-