nucho
/
RTno_MotorControl
Embed:
(wiki syntax)
Show/hide line numbers
SequenceDouble.h
00001 /******************************************* 00002 * SequenceDouble.h 00003 * @author Yuki Suga 00004 * @copyright Yuki Suga (ysuga.net) Nov, 10th, 2010. 00005 * @license LGPLv3 00006 *****************************************/ 00007 00008 #ifndef SEQUENCE_DOUBLE_HEADER_INCLUDED 00009 #define SEQUENCE_DOUBLE_HEADER_INCLUDED 00010 00011 class SequenceDouble : public SequenceDataType 00012 { 00013 private: 00014 double* m_pData; 00015 public: 00016 SequenceDouble() : SequenceDataType((void**)&m_pData) { 00017 00018 } 00019 ~SequenceDouble(){} 00020 virtual int SizeofData() { return 4; } 00021 00022 double& operator[](int index) { 00023 return m_pData[index]; 00024 } 00025 }; 00026 00027 #endif
Generated on Tue Jul 12 2022 20:43:51 by 1.7.2