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