Panda3D
 All Classes Functions Variables Enumerations
eventStorePandaNode.I
00001 // Filename: eventStorePandaNode.I
00002 // Created by:  drose (13Sep06)
00003 //
00004 ////////////////////////////////////////////////////////////////////
00005 //
00006 // PANDA 3D SOFTWARE
00007 // Copyright (c) Carnegie Mellon University.  All rights reserved.
00008 //
00009 // All use of this software is subject to the terms of the revised BSD
00010 // license.  You should have received a copy of this license along
00011 // with this source code in a file named "LICENSE."
00012 //
00013 ////////////////////////////////////////////////////////////////////
00014 
00015 
00016 ////////////////////////////////////////////////////////////////////
00017 //     Function: EventStorePandaNode::Constructor
00018 //       Access: Published
00019 //  Description: 
00020 ////////////////////////////////////////////////////////////////////
00021 INLINE EventStorePandaNode::
00022 EventStorePandaNode(const PandaNode *value) : 
00023   _value((PandaNode *)value) 
00024 {
00025 }
00026 
00027 ////////////////////////////////////////////////////////////////////
00028 //     Function: EventStorePandaNode::set_value
00029 //       Access: Published
00030 //  Description: Changes the value stored in the parameter.  It is
00031 //               dangerous to do this for a parameter already added to
00032 //               an event, since the parameters may be shared.
00033 ////////////////////////////////////////////////////////////////////
00034 INLINE void EventStorePandaNode::
00035 set_value(const PandaNode *value) {
00036   _value = (PandaNode *)value;
00037 }
00038 
00039 
00040 ////////////////////////////////////////////////////////////////////
00041 //     Function: EventStorePandaNode::get_value
00042 //       Access: Published
00043 //  Description: Retrieves the value stored in the parameter.
00044 ////////////////////////////////////////////////////////////////////
00045 INLINE PandaNode *EventStorePandaNode::
00046 get_value() const {
00047   return _value;
00048 }
 All Classes Functions Variables Enumerations