Panda3D
 All Classes Functions Variables Enumerations
config_net.h
00001 // Filename: config_net.h
00002 // Created by:  drose (25Feb00)
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_NET_H
00016 #define CONFIG_NET_H
00017 
00018 #include "pandabase.h"
00019 #include "notifyCategoryProxy.h"
00020 #include "configVariableInt.h"
00021 #include "configVariableDouble.h"
00022 #include "configVariableBool.h"
00023 #include "configVariableEnum.h"
00024 #include "threadPriority.h"
00025 
00026 // Configure variables for net package.
00027 
00028 NotifyCategoryDecl(net, EXPCL_PANDA_NET, EXPTP_PANDA_NET);
00029 
00030 extern int get_net_max_write_queue();
00031 extern int get_net_max_response_queue();
00032 extern bool get_net_error_abort();
00033 extern double get_net_max_poll_cycle();
00034 extern double get_net_max_block();
00035 extern string make_thread_name(const string &thread_name, int thread_index);
00036 
00037 extern ConfigVariableInt net_max_read_per_epoch;
00038 extern ConfigVariableInt net_max_write_per_epoch;
00039 
00040 extern ConfigVariableEnum<ThreadPriority> net_thread_priority;
00041 
00042 extern EXPCL_PANDA_NET void init_libnet();
00043 
00044 #endif
00045 
 All Classes Functions Variables Enumerations