Panda3D
panda
src
skel
basicSkel.h
1
// Filename: basicSkel.h
2
// Created by: jyelon (31Jan07)
3
//
4
////////////////////////////////////////////////////////////////////
5
//
6
// PANDA 3D SOFTWARE
7
// Copyright (c) Carnegie Mellon University. All rights reserved.
8
//
9
// All use of this software is subject to the terms of the revised BSD
10
// license. You should have received a copy of this license along
11
// with this source code in a file named "LICENSE."
12
//
13
////////////////////////////////////////////////////////////////////
14
15
#ifndef BASICSKEL_H
16
#define BASICSKEL_H
17
18
#include "pandabase.h"
19
20
////////////////////////////////////////////////////////////////////
21
// Class : BasicSkel
22
// Description : This is the most basic of the skeleton classes.
23
// It stores an integer, and will return it on request.
24
//
25
// The skeleton classes are intended to help you learn
26
// how to add C++ classes to panda. See also the manual,
27
// "Adding C++ Classes to Panda."
28
////////////////////////////////////////////////////////////////////
29
class
EXPCL_PANDASKEL
BasicSkel
{
30
PUBLISHED:
31
INLINE
BasicSkel
();
32
INLINE ~BasicSkel();
33
34
// These inline functions allow you to get and set _value.
35
INLINE
void
set_value(
int
n);
36
INLINE
int
get_value();
37
38
// These do the same thing as the functions above.
39
void
set_value_alt(
int
n);
40
int
get_value_alt();
41
42
private
:
43
int
_value;
44
};
45
46
#include "basicSkel.I"
47
48
#endif
49
BasicSkel
This is the most basic of the skeleton classes.
Definition:
basicSkel.h:29
Generated on Wed May 17 2017 23:47:11 for Panda3D by
1.8.13