libGizmod/GizmoEvent.cpp

Go to the documentation of this file.
00001 
00012 /*
00013   
00014   Copyright (c) 2007, Tim Burrell
00015   Licensed under the Apache License, Version 2.0 (the "License");
00016   you may not use this file except in compliance with the License.
00017   You may obtain a copy of the License at 
00018 
00019         http://www.apache.org/licenses/LICENSE-2.0
00020 
00021   Unless required by applicable law or agreed to in writing, software
00022   distributed under the License is distributed on an "AS IS" BASIS,
00023   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00024   See the License for the specific language governing permissions and 
00025   limitations under the License. 
00026   
00027 */
00028 
00029 #include "GizmoEvent.hpp"
00030 #include "../libH/Debug.hpp"
00031 #include "../libH/Exception.hpp"
00032 #include <boost/shared_ptr.hpp>
00033 
00034 using namespace std;
00035 using namespace boost;
00036 using namespace H;
00037 using namespace Gizmod;
00038 
00040 // Type Defs
00042 
00044 // Construction
00046 
00050 GizmoEvent::GizmoEvent(GizmoEventClass Class, bool IsRemote) {
00051         mClass = Class;
00052         mIsRemote = IsRemote;
00053 }
00054 
00058 GizmoEvent::GizmoEvent() {
00059         mClass = GIZMO_EVENTCLASS_STANDARD;
00060         mIsRemote = false;
00061 }
00062 
00066 GizmoEvent::~GizmoEvent() {
00067 }
00068 
00070 // Class Body
00072 
00080 GizmoEventClass GizmoEvent::getClass() {
00081         return mClass;
00082 }
00083 
00091 bool GizmoEvent::isRemote() {
00092         return mIsRemote;
00093 }
00094 
00099 void GizmoEvent::setIsRemote(bool IsRemote) {
00100         mIsRemote = IsRemote;
00101 }

Generated on Wed Nov 7 10:04:16 2007 for gizmod by  doxygen 1.5.3