Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/branches/network/src/lib/network/synchronizeable_var/synchronizeable_vector.h @ 7444

Last change on this file since 7444 was 7444, checked in by rennerc, 18 years ago

new network system implemented. yet with a lot of empty function bodys

File size: 737 bytes
Line 
1/*!
2 * @file synchronizeable_vector.h
3 * @brief Definition of SynchronizeableVector
4*/
5
6#include "synchronizeable_var/synchronizeable_var.h"
7
8#ifndef _SYNCHRONIZEABLE_VECTOR_H
9#define _SYNCHRONIZEABLE_VECTOR_H
10
11#include "vector.h"
12
13class SynchronizeableVector : public SynchronizeableVar {
14
15  public:
16    SynchronizeableVector( Vector * ptrIn, Vector * ptrOut, std::string name, int permission = 0, int priority = 0 );
17    virtual ~SynchronizeableVector();
18   
19    virtual int writeToBuf( byte * buf, int maxLength );
20    virtual int readFromBuf( byte * buf, int maxLength );
21   
22  private:
23    Vector * vPtrIn;       //!< pointer to data (read)
24    Vector * vPtrOut;      //!< pointer to data (write)
25
26};
27
28#endif /* _PROTO_CLASS_H */
Note: See TracBrowser for help on using the repository browser.