Line | |
---|
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_var.h" |
---|
18 | #include "netdefs.h" |
---|
19 | #include <cassert> |
---|
20 | |
---|
21 | |
---|
22 | /** |
---|
23 | * standard constructor |
---|
24 | * @todo this constructor is not jet implemented - do it |
---|
25 | */ |
---|
26 | SynchronizeableVar::SynchronizeableVar ( void * ptrIn, void * ptrOut, std::string name, int length, int permission, int priority) |
---|
27 | { |
---|
28 | assert( ptrIn ); |
---|
29 | assert( ptrOut ); |
---|
30 | |
---|
31 | this->ptrIn = ptrIn; |
---|
32 | this->ptrOut = ptrOut; |
---|
33 | this->length = length; |
---|
34 | this->permission = permission; |
---|
35 | this->priority = priority; |
---|
36 | this->realPriority = priority; |
---|
37 | this->name = name; |
---|
38 | this->bWatched = false; |
---|
39 | this->changed = false; |
---|
40 | } |
---|
41 | |
---|
42 | |
---|
43 | /** |
---|
44 | * standard deconstructor |
---|
45 | */ |
---|
46 | SynchronizeableVar::~SynchronizeableVar () |
---|
47 | { |
---|
48 | } |
---|
49 | |
---|
Note: See
TracBrowser
for help on using the repository browser.