Last change
on this file since 9449 was
7954,
checked in by patrick, 18 years ago
|
trunk: merged the network branche back to trunk.
|
File size:
939 bytes
|
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_uint.h" |
---|
| 18 | |
---|
| 19 | |
---|
| 20 | /** |
---|
| 21 | * standard constructor |
---|
| 22 | */ |
---|
| 23 | SynchronizeableUInt::SynchronizeableUInt( unsigned int * ptrIn, unsigned int * ptrOut, std::string name, int permission, int priority) : SynchronizeableInt( (int*)ptrIn, (int*)ptrOut, name, permission, priority ) |
---|
| 24 | { |
---|
| 25 | } |
---|
| 26 | |
---|
| 27 | |
---|
| 28 | /** |
---|
| 29 | * standard deconstructor |
---|
| 30 | */ |
---|
| 31 | SynchronizeableUInt::~SynchronizeableUInt () |
---|
| 32 | { |
---|
| 33 | } |
---|
| 34 | |
---|
| 35 | |
---|
[7578] | 36 | /** |
---|
| 37 | * print out variable value |
---|
| 38 | */ |
---|
| 39 | void SynchronizeableUInt::debug( ) |
---|
| 40 | { |
---|
| 41 | printf( "SYNCHRONIZEABLE_VAR: %s IN: %u OUT: %u\n", name.c_str(), *vPtrIn, *vPtrOut ); |
---|
| 42 | } |
---|
| 43 | |
---|
Note: See
TracBrowser
for help on using the repository browser.