Panda3D

config_recorder.cxx

00001 // Filename: config_recorder.cxx
00002 // Created by:  drose (28Jan04)
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 "config_recorder.h"
00016 
00017 #include "mouseRecorder.h"
00018 #include "recorderController.h"
00019 #include "recorderFrame.h"
00020 #include "recorderHeader.h"
00021 #include "recorderTable.h"
00022 #include "socketStreamRecorder.h"
00023 
00024 #include "dconfig.h"
00025 
00026 ConfigureDef(config_recorder);
00027 NotifyCategoryDef(recorder, "");
00028 
00029 ConfigureFn(config_recorder) {
00030   MouseRecorder::init_type();
00031   RecorderController::init_type();
00032   RecorderFrame::init_type();
00033   RecorderHeader::init_type();
00034   RecorderTable::init_type();
00035   ReferenceCount::init_type();
00036 
00037   MouseRecorder::register_with_read_factory();
00038   RecorderFrame::register_with_read_factory();
00039   RecorderHeader::register_with_read_factory();
00040   RecorderTable::register_with_read_factory();
00041 
00042 #ifdef HAVE_OPENSSL
00043   SocketStreamRecorder::init_type();
00044   SocketStreamRecorder::register_with_read_factory();
00045 #endif
00046 }
 All Classes Functions Variables Enumerations