Panda3D
panda
src
net
config_net.h
Go to the documentation of this file.
1
/**
2
* PANDA 3D SOFTWARE
3
* Copyright (c) Carnegie Mellon University. All rights reserved.
4
*
5
* All use of this software is subject to the terms of the revised BSD
6
* license. You should have received a copy of this license along
7
* with this source code in a file named "LICENSE."
8
*
9
* @file config_net.h
10
* @author drose
11
* @date 2000-02-25
12
*/
13
14
#ifndef CONFIG_NET_H
15
#define CONFIG_NET_H
16
17
#include "
pandabase.h
"
18
#include "
notifyCategoryProxy.h
"
19
#include "
configVariableInt.h
"
20
#include "
configVariableDouble.h
"
21
#include "
configVariableBool.h
"
22
#include "
configVariableEnum.h
"
23
#include "
threadPriority.h
"
24
25
// Configure variables for net package.
26
27
NotifyCategoryDecl(net, EXPCL_PANDA_NET, EXPTP_PANDA_NET);
28
29
extern
int
get_net_max_write_queue();
30
extern
int
get_net_max_response_queue();
31
extern
bool
get_net_error_abort();
32
extern
double
get_net_max_poll_cycle();
33
extern
double
get_net_max_block();
34
extern
std::string make_thread_name(
const
std::string &thread_name,
int
thread_index);
35
36
extern
ConfigVariableInt
net_max_read_per_epoch;
37
extern
ConfigVariableInt
net_max_write_per_epoch;
38
39
extern
ConfigVariableEnum<ThreadPriority>
net_thread_priority;
40
41
extern
EXPCL_PANDA_NET
void
init_libnet
();
42
43
#endif
pandabase.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
configVariableDouble.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
ConfigVariableEnum
This class specializes ConfigVariable as an enumerated type.
Definition:
configVariableEnum.h:31
notifyCategoryProxy.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
configVariableEnum.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
configVariableInt.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
configVariableBool.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
init_libnet
EXPCL_PANDA_NET void init_libnet()
Initializes the library.
Definition:
config_net.cxx:157
threadPriority.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
ConfigVariableInt
This is a convenience class to specialize ConfigVariable as an integer type.
Definition:
configVariableInt.h:24
Generated on Sat Jan 11 2020 15:15:15 for Panda3D by
1.8.17