Panda3D
panda
src
pgraph
auxSceneData.cxx
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 auxSceneData.cxx
10
* @author drose
11
* @date 2004-09-27
12
*/
13
14
#include "
auxSceneData.h
"
15
#include "
indent.h
"
16
17
TypeHandle
AuxSceneData::_type_handle;
18
19
/**
20
*
21
*/
22
void
AuxSceneData::
23
output(std::ostream &out)
const
{
24
out << get_type() <<
" expires "
<<
get_expiration_time
();
25
}
26
27
/**
28
*
29
*/
30
void
AuxSceneData::
31
write(std::ostream &out,
int
indent_level)
const
{
32
indent
(out, indent_level) << *
this
<<
"\n"
;
33
}
indent
std::ostream & indent(std::ostream &out, int indent_level)
A handy function for doing text formatting.
Definition:
indent.cxx:20
auxSceneData.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
AuxSceneData::get_expiration_time
double get_expiration_time() const
Returns the frame_time at which this AuxSceneData object is currently scheduled to be removed from th...
Definition:
auxSceneData.I:67
TypeHandle
TypeHandle is the identifier used to differentiate C++ class types.
Definition:
typeHandle.h:81
indent.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
Generated on Sun Dec 27 2020 13:23:07 for Panda3D by
1.8.20