devices/devicetimecode/ordeviceTimeCode_device.h
#ifndef __ORDEVICE_TIMECODE_DEVICE_H__
#define __ORDEVICE_TIMECODE_DEVICE_H__
#include "ordeviceTimeCode_hardware.h"
#define ORDEVICETIMECODE__CLASSNAME ORDeviceTimeCode
#define ORDEVICETIMECODE__CLASSSTR "ORDeviceTimeCode"
class ORDeviceTimeCode : public FBDevice
{
public:
virtual bool FBCreate();
virtual void FBDestroy();
bool Reset();
bool Stop();
bool Start();
virtual bool AnimationNodeNotify( FBAnimationNode* pAnimationNode,FBEvaluateInfo* pEvaluateInfo );
virtual void DeviceIONotify ( kDeviceIOs pAction, FBDeviceNotifyInfo &pDeviceNotifyInfo );
void DeviceRecordFrame (FBTime &pTime,FBDeviceNotifyInfo &pDeviceNotifyInfo);
virtual bool DeviceOperation ( kDeviceOperations pOperation );
virtual bool FbxStore ( FBFbxObject* pFbxObject,
kFbxObjectStore pStoreWhat );
virtual bool FbxRetrieve( FBFbxObject* pFbxObject,
kFbxObjectStore pStoreWhat );
public:
int mReferenceTimeIndex;
FBAnimationNode* mTimeCodeAnimNode;
private:
ORDeviceTimeCodeHardware mHardware;
FBReferenceTime mRefTime;
FBPlayerControl mPlayerControl;
FBSystem mSystem;
};
#endif