Panda3D
Loading...
Searching...
No Matches
pStatProperties.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 pStatProperties.h
10 * @author drose
11 * @date 2001-05-17
12 */
13
14#ifndef PSTATPROPERTIES_H
15#define PSTATPROPERTIES_H
16
17#include "pandabase.h"
18
19
20class PStatClient;
22
23EXPCL_PANDA_PSTATCLIENT int get_current_pstat_major_version();
24EXPCL_PANDA_PSTATCLIENT int get_current_pstat_minor_version();
25
26#ifdef DO_PSTATS
27void initialize_collector_def(const PStatClient *client, PStatCollectorDef *def);
28#endif // DO_PSTATS
29
30#endif
Manages the communications to report statistics via a network connection to a remote PStatServer.
Defines the details about the Collectors: the name, the suggested color, etc.
EXPCL_PANDA_PSTATCLIENT int get_current_pstat_major_version()
Returns the current major version number of the PStats protocol.
EXPCL_PANDA_PSTATCLIENT int get_current_pstat_minor_version()
Returns the current minor version number of the PStats protocol.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.