1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71
|
/** <pre>
* This Class will process the "Animation Stop Event Notification"
*
* FILENAME: AnimStop.cpp
* LANGUAGE: C++
* CLASS: UNCLASSIFIED
* PROJECT: CIGI
*
* PROGRAM DESCRIPTION:
* ...
*
* MODIFICATION NOTES:
* DATE NAME SCR NUMBER
* DESCRIPTION OF CHANGE........................
*
* 06/20/2005 Alex Storms INIT
* Initial Release.
*
* </pre>
* Author: The Boeing Company
* Version: 0.1
*/
#include <iostream>
#include "AnimStop.h"
#include <CigiAnimationStopV3.h>
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
// ================================================
// AnimStop
// vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
AnimStop::AnimStop()
{
StopID = 0;
}
// ================================================
// ~AnimStop
// vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
AnimStop::~AnimStop()
{
}
// ================================================
// OnPacketReceived
// vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
void AnimStop::OnPacketReceived(CigiBasePacket *Packet)
{
CigiAnimationStopV3 *stop = (CigiAnimationStopV3 *)(Packet);
StopID = stop->GetEntityID();
}
void AnimStop::clearStopID()
{
StopID = 0;
}
Cigi_uint16 AnimStop::getStopID()
{
return StopID;
}
|