📄 am_sdvr_capture_record.h
字号:
#ifndef AM_SDVR_CAPTURE_RECORD_CLASS_INCLUDE#define AM_SDVR_CAPTURE_RECORD_CLASS_INCLUDE/* (c) Copyright Motorola 1997, All rights reserved. Motorola Confidential Proprietary Contains confidential proprietary information of Motorola, Inc. Reverse engineering is prohibited. The copyright notice does not imply publication. DESCRIPTION: This file defines the AM_SDVR_Capture_Record class. ************** REVISION HISTORY ********************************************** Date Author Reference ======== ======== ========================== 99-01-13 jkraisor CR - CSGce26811 VA/VR FDI Interface Completion - Added function to return the group_id. 98-11-04 blamers CR - CSGce23508 Whitecap VR Event Handler Changes - Rid AM of compiler warning. 97-05-29 slam PR - CSGce10240*//************** HEADER FILE INCLUDES ******************************************/#include <stddef.h>#ifndef SUAPI_INCLUDE#include <SUAPI/suapi.h>#endif#include "am_sdvr_records.h"/************** CONSTANTS *****************************************************//************** STRUCTURES, ENUMS, AND TYPEDEFS *******************************//************** FUNCTION PROTOTYPES *******************************************//************** MACROS ********************************************************//************** CLASS DEFINITIONS *********************************************/class AM_SDVR_Capture_Record{public: /* * Overload the new and delete operators to prevent calls to the * system's new and delete functions. */ inline void * operator new(size_t) { return(NULL); } inline void operator delete(void *, size_t) {} /* * class constructor */ AM_SDVR_Capture_Record ( AM_SDVR_CAPTURE_RECORD *capture_record_ptr ); /* * class destructor, do nothing, but prevents allocation of __Ptbl in * everyfile that includes this .H file. */ ~AM_SDVR_Capture_Record (void) {}; /* * clear capture record */ void clear ( void ); /* * save capture data */ void save(UINT16 repetition, UINT16 time, TD_VR_GROUP_TYPE group_id); /* * return repetition */ inline UINT16 get_repetition ( void ) { return( capture_ptr->repetition ); } /* * return capture time in units of ms */ inline UINT16 get_time ( void ) { return( capture_ptr->time ); } /* * return capture time in units of ms */ inline TD_VR_GROUP_TYPE get_group_id ( void ) { return( capture_ptr->group_id ); }private: AM_SDVR_CAPTURE_RECORD *capture_ptr;};#endif //end of AM_SDVR_CAPTURE_RECORD_CLASS_INCLUDE
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -