|
Last change
on this file was
9656,
checked in by bensch, 19 years ago
|
|
orxonox/trunk: merged the proxy bache back with no conflicts
|
|
File size:
955 bytes
|
| Rev | Line | |
|---|
| [7444] | 1 | /*! |
|---|
| 2 | * @file synchronizeable_quaternion.h |
|---|
| 3 | * @brief Definition of SynchronizeableQuaternion |
|---|
| 4 | */ |
|---|
| 5 | |
|---|
| 6 | #ifndef _SYNCHRONIZEABLE_QUATERNION_H |
|---|
| 7 | #define _SYNCHRONIZEABLE_QUATERNION_H |
|---|
| 8 | |
|---|
| [9406] | 9 | #include "synchronizeable_var.h" |
|---|
| 10 | |
|---|
| [7444] | 11 | #include "quaternion.h" |
|---|
| 12 | |
|---|
| 13 | class SynchronizeableQuaternion : public SynchronizeableVar { |
|---|
| 14 | |
|---|
| 15 | public: |
|---|
| [9656] | 16 | SynchronizeableQuaternion( Quaternion * ptrIn, Quaternion * ptrOut, std::string name, int permission, int priority = 0 ); |
|---|
| [7444] | 17 | virtual ~SynchronizeableQuaternion(); |
|---|
| [9406] | 18 | |
|---|
| [7444] | 19 | virtual int writeToBuf( byte * buf, int maxLength ); |
|---|
| 20 | virtual int readFromBuf( byte * buf, int maxLength ); |
|---|
| [9406] | 21 | |
|---|
| [7459] | 22 | /** |
|---|
| 23 | * check if writeToBuf will return the same size every time |
|---|
| 24 | * @return true if same size every time |
|---|
| 25 | */ |
|---|
| 26 | virtual bool hasStaticSize(){ return true; }; |
|---|
| [9406] | 27 | |
|---|
| [7578] | 28 | virtual void debug(); |
|---|
| [9406] | 29 | |
|---|
| [7444] | 30 | private: |
|---|
| 31 | Quaternion * vPtrIn; //!< pointer to data (read) |
|---|
| 32 | Quaternion * vPtrOut; //!< pointer to data (write) |
|---|
| 33 | |
|---|
| 34 | }; |
|---|
| 35 | |
|---|
| 36 | #endif /* _PROTO_CLASS_H */ |
|---|
Note: See
TracBrowser
for help on using the repository browser.