Rev | Line | |
---|
[7444] | 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" |
---|
[9406] | 18 | #include "netdefs.h" |
---|
| 19 | #include <cassert> |
---|
[7444] | 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 | { |
---|
[7459] | 28 | assert( ptrIn ); |
---|
| 29 | assert( ptrOut ); |
---|
[7559] | 30 | |
---|
[7444] | 31 | this->ptrIn = ptrIn; |
---|
| 32 | this->ptrOut = ptrOut; |
---|
| 33 | this->length = length; |
---|
| 34 | this->permission = permission; |
---|
| 35 | this->priority = priority; |
---|
[7559] | 36 | this->realPriority = priority; |
---|
[7444] | 37 | this->name = name; |
---|
[7631] | 38 | this->bWatched = false; |
---|
[7731] | 39 | this->changed = false; |
---|
[7444] | 40 | } |
---|
| 41 | |
---|
| 42 | |
---|
| 43 | /** |
---|
| 44 | * standard deconstructor |
---|
| 45 | */ |
---|
| 46 | SynchronizeableVar::~SynchronizeableVar () |
---|
| 47 | { |
---|
| 48 | } |
---|
| 49 | |
---|
Note: See
TracBrowser
for help on using the repository browser.