[7444] | 1 | /* |
---|
| 2 | orxonox - the future of 3D-vertical-scrollers |
---|
| 3 | |
---|
| 4 | Copyright (C) 2004 orx |
---|
| 5 | |
---|
| 6 | This program is free software; you can redistribute it and/or modify |
---|
| 7 | it under the terms of the GNU General Public License as published by |
---|
| 8 | the Free Software Foundation; either version 2, or (at your option) |
---|
| 9 | any later version. |
---|
| 10 | |
---|
| 11 | ### File Specific: |
---|
| 12 | main-programmer: Christoph Renner |
---|
| 13 | co-programmer: ... |
---|
| 14 | */ |
---|
| 15 | |
---|
| 16 | |
---|
| 17 | #include "synchronizeable_quaternion.h" |
---|
| 18 | |
---|
| 19 | |
---|
| 20 | /** |
---|
| 21 | * standard constructor |
---|
| 22 | * @todo this constructor is not jet implemented - do it |
---|
| 23 | */ |
---|
| 24 | SynchronizeableQuaternion::SynchronizeableQuaternion( Quaternion * ptrIn, Quaternion * ptrOut, std::string name, int permission, int priority) : SynchronizeableVar( ptrIn, ptrOut, name, 0, permission, priority ) |
---|
| 25 | { |
---|
| 26 | this->vPtrIn = ptrIn; |
---|
| 27 | this->vPtrOut = ptrOut; |
---|
| 28 | } |
---|
| 29 | |
---|
| 30 | |
---|
| 31 | /** |
---|
| 32 | * standard deconstructor |
---|
| 33 | */ |
---|
| 34 | SynchronizeableQuaternion::~SynchronizeableQuaternion () |
---|
| 35 | { |
---|
| 36 | } |
---|
| 37 | |
---|
| 38 | /** |
---|
| 39 | * write var data to byte buffer |
---|
| 40 | * @param buf pointer to write to |
---|
| 41 | * @param maxLength writeToBuf will not write more than maxLength bytes |
---|
| 42 | * @return number bytes written |
---|
| 43 | */ |
---|
| 44 | int SynchronizeableQuaternion::writeToBuf( byte * buf, int maxLength ) |
---|
| 45 | { |
---|
| 46 | #warning implement this |
---|
| 47 | } |
---|
| 48 | |
---|
| 49 | /** |
---|
| 50 | * read var data from byte buffer |
---|
| 51 | * @param buf pointer to read from |
---|
| 52 | * @param maxLength readFromBuf will not read more than maxLength bytes |
---|
| 53 | * @return number bytes read |
---|
| 54 | */ |
---|
| 55 | int SynchronizeableQuaternion::readFromBuf( byte * buf, int maxLength ) |
---|
| 56 | { |
---|
| 57 | #warning implement this |
---|
| 58 | } |
---|