Panda3D
 All Classes Functions Variables Enumerations
config_express.h
00001 // Filename: config_express.h
00002 // Created by:  cary (04Jan00)
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 #ifndef __CONFIG_EXPRESS_H__
00016 #define __CONFIG_EXPRESS_H__
00017 
00018 #include "pandabase.h"
00019 #include "notifyCategoryProxy.h"
00020 #include "dconfig.h"
00021 
00022 #include "configVariableBool.h"
00023 #include "configVariableInt.h"
00024 #include "configVariableDouble.h"
00025 #include "configVariableList.h"
00026 #include "configVariableFilename.h"
00027 
00028 // Include this so interrogate can find it.
00029 #include "executionEnvironment.h"
00030 
00031 ConfigureDecl(config_express, EXPCL_PANDAEXPRESS, EXPTP_PANDAEXPRESS);
00032 NotifyCategoryDecl(express, EXPCL_PANDAEXPRESS, EXPTP_PANDAEXPRESS);
00033 NotifyCategoryDecl(clock, EXPCL_PANDAEXPRESS, EXPTP_PANDAEXPRESS);
00034 
00035 // Actually, we can't determine this config variable the normal way,
00036 // because we must be able to access it at static init time.  Instead
00037 // of declaring it a global constant, we'll make it a member of
00038 // MemoryUsage.
00039 
00040 //extern EXPCL_PANDAEXPRESS const bool track_memory_usage;
00041 
00042 EXPCL_PANDAEXPRESS bool get_use_high_res_clock();
00043 EXPCL_PANDAEXPRESS bool get_paranoid_clock();
00044 EXPCL_PANDAEXPRESS bool get_paranoid_inheritance();
00045 EXPCL_PANDAEXPRESS bool get_verify_dcast();
00046 
00047 extern ConfigVariableInt patchfile_window_size;
00048 extern ConfigVariableInt patchfile_increment_size;
00049 extern ConfigVariableInt patchfile_buffer_size;
00050 extern ConfigVariableInt patchfile_zone_size;
00051 
00052 extern ConfigVariableBool keep_temporary_files;
00053 extern ConfigVariableBool multifile_always_binary;
00054 
00055 extern EXPCL_PANDAEXPRESS ConfigVariableBool collect_tcp;
00056 extern EXPCL_PANDAEXPRESS ConfigVariableDouble collect_tcp_interval;
00057 
00058 // Expose the Config variable for Python access.
00059 BEGIN_PUBLISH
00060 EXPCL_PANDAEXPRESS DConfig &get_config_express();
00061 END_PUBLISH
00062 
00063 extern EXPCL_PANDAEXPRESS void init_libexpress();
00064 
00065 #endif /* __CONFIG_UTIL_H__ */
 All Classes Functions Variables Enumerations