Panda3D
|
00001 // Filename: callbackData.cxx 00002 // Created by: drose (13Mar09) 00003 // 00004 //////////////////////////////////////////////////////////////////// 00005 // 00006 // PANDA 3D SOFTWARE 00007 // Copyright (c) Carnegie Mellon University. All rights reserved. 00008 // 00009 // All use of this software is subject to the terms of the revised BSD 00010 // license. You should have received a copy of this license along 00011 // with this source code in a file named "LICENSE." 00012 // 00013 //////////////////////////////////////////////////////////////////// 00014 00015 #include "callbackData.h" 00016 00017 TypeHandle CallbackData::_type_handle; 00018 00019 00020 //////////////////////////////////////////////////////////////////// 00021 // Function: CallbackData::output 00022 // Access: Published, Virtual 00023 // Description: 00024 //////////////////////////////////////////////////////////////////// 00025 void CallbackData:: 00026 output(ostream &out) const { 00027 out << get_type(); 00028 } 00029 00030 //////////////////////////////////////////////////////////////////// 00031 // Function: CallbackData::upcall 00032 // Access: Published, Virtual 00033 // Description: You should make this call during the callback if you 00034 // want to continue the normal function that would have 00035 // been done in the absence of a callback. 00036 //////////////////////////////////////////////////////////////////// 00037 void CallbackData:: 00038 upcall() { 00039 } 00040