| 
                Last change
                  on this file since 7975 was
                  7954,
                  checked in by patrick, 19 years ago
           | 
        
        
          | 
               
trunk: merged the network branche back to trunk. 
 
           | 
        
        | 
            File size:
            1.0 KB
           | 
      
      
        
  | 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 |  | 
|---|
| 19 |  | 
|---|
| 20 |  | 
|---|
| 21 | /** | 
|---|
| 22 |  * standard constructor | 
|---|
| 23 |  * @todo this constructor is not jet implemented - do it | 
|---|
| 24 | */ | 
|---|
| 25 | SynchronizeableVar::SynchronizeableVar ( void * ptrIn, void * ptrOut, std::string name, int length, int permission, int priority) | 
|---|
| 26 | { | 
|---|
| 27 |   assert( ptrIn ); | 
|---|
| 28 |   assert( ptrOut ); | 
|---|
| 29 |  | 
|---|
| 30 |   this->ptrIn = ptrIn; | 
|---|
| 31 |   this->ptrOut = ptrOut; | 
|---|
| 32 |   this->length = length; | 
|---|
| 33 |   this->permission = permission; | 
|---|
| 34 |   this->priority = priority; | 
|---|
| 35 |   this->realPriority = priority; | 
|---|
| 36 |   this->name = name; | 
|---|
| 37 |   this->bWatched = false; | 
|---|
| 38 |   this->changed = false; | 
|---|
| 39 | } | 
|---|
| 40 |  | 
|---|
| 41 |  | 
|---|
| 42 | /** | 
|---|
| 43 |  * standard deconstructor | 
|---|
| 44 | */ | 
|---|
| 45 | SynchronizeableVar::~SynchronizeableVar () | 
|---|
| 46 | { | 
|---|
| 47 | } | 
|---|
| 48 |  | 
|---|
       
      
      Note: See 
TracBrowser
        for help on using the repository browser.