Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/branches/network/src/lib/network/synchronizeable_var/synchronizeable_int.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: 684 bytes
Line 
1/*!
2 * @file synchronizeable_int.h
3 * @brief Definition of SynchronizeableInt
4*/
5
6#include "synchronizeable_var/synchronizeable_var.h"
7
8#ifndef _SYNCHRONIZEABLE_INT_H
9#define _SYNCHRONIZEABLE_INT_H
10
11class SynchronizeableInt : public SynchronizeableVar {
12
13  public:
14    SynchronizeableInt( int * ptrIn, int * ptrOut, std::string name, int permission = 0, int priority = 0 );
15    virtual ~SynchronizeableInt();
16   
17    virtual int writeToBuf( byte * buf, int maxLength );
18    virtual int readFromBuf( byte * buf, int maxLength );
19   
20  private:
21    int * vPtrIn;       //!< pointer to data (read)
22    int * vPtrOut;      //!< pointer to data (write)
23
24
25};
26
27#endif /* _PROTO_CLASS_H */
Note: See TracBrowser for help on using the repository browser.