Panda3D
Loading...
Searching...
No Matches
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"
21#include "configVariableBool.h"
22#include "configVariableEnum.h"
23#include "threadPriority.h"
24
25// Configure variables for net package.
26
27NotifyCategoryDecl(net, EXPCL_PANDA_NET, EXPTP_PANDA_NET);
28
29extern int get_net_max_write_queue();
30extern int get_net_max_response_queue();
31extern bool get_net_error_abort();
32extern double get_net_max_poll_cycle();
33extern double get_net_max_block();
34extern std::string make_thread_name(const std::string &thread_name, int thread_index);
35
36extern ConfigVariableInt net_max_read_per_epoch;
37extern ConfigVariableInt net_max_write_per_epoch;
38
39extern ConfigVariableEnum<ThreadPriority> net_thread_priority;
40
41extern EXPCL_PANDA_NET void init_libnet();
42
43#endif
This class specializes ConfigVariable as an enumerated type.
This is a convenience class to specialize ConfigVariable as an integer type.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
EXPCL_PANDA_NET void init_libnet()
Initializes the library.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.