Panda3D
pandatool
src
text-stats
textStats.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 textStats.h
10
* @author drose
11
* @date 2000-07-12
12
*/
13
14
#ifndef TEXTSTATS_H
15
#define TEXTSTATS_H
16
17
#include "
pandatoolbase.h
"
18
19
#include "
programBase.h
"
20
#include "
pStatServer.h
"
21
22
#include <iostream>
23
#include <fstream>
24
25
/**
26
* A simple, scrolling-text stats server. Guaranteed to compile on every
27
* platform.
28
*/
29
class
TextStats
:
public
ProgramBase
,
public
PStatServer
{
30
public
:
31
TextStats
();
32
33
virtual
PStatMonitor
*make_monitor();
34
35
void
run();
36
37
private
:
38
int
_port;
39
bool
_show_raw_data;
40
41
// [PECI]
42
bool
_got_outputFileName;
43
std::string _outputFileName;
44
std::ostream *_outFile;
45
};
46
47
#endif
PStatMonitor
This is an abstract class that presents the interface to any number of different front-ends for the s...
Definition:
pStatMonitor.h:39
PStatServer
The overall manager of the network connections.
Definition:
pStatServer.h:36
ProgramBase
This is intended to be the base class for most general-purpose utility programs in the PANDATOOL tree...
Definition:
programBase.h:34
TextStats
A simple, scrolling-text stats server.
Definition:
textStats.h:29
pStatServer.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
pandatoolbase.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
programBase.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
Generated on Tue Aug 31 2021 11:10:31 for Panda3D by
1.9.1