Documentation


EngineNode.cpp

Go to the documentation of this file.
00001 //
00002 // C++ Implementation: EngineNode
00003 //
00004 // Description:
00005 //
00006 //
00007 // Author: My Name <me@myaddress>, (C) 2004
00008 //
00009 // Copyright: See COPYING file that comes with this distribution
00010 //
00011 //
00012 #include <animal/engine/EngineNode.h>
00013 #include <assert.h>
00014 
00015 namespace X3DTK
00016 {
00017 
00018   namespace X3D
00019   {
00020 
00021     EngineNode::EngineNode()
00022         : m_animate(true)
00023         , m_parentEngine(0)
00024         , m_behavior(KINEMATICS)
00025     {
00026       // Node
00027       //define(Recorder<EngineNode>::getTypeName("EngineNode"));
00028     }
00029 
00030 
00031     EngineNode::~EngineNode()
00032     {}
00033 
00034     void EngineNode::declareOutputs( X3D_X3DNodeList& )
00035     {
00036       std::cerr<<"Method declareOutputs not derived for engine "<< getName() << std::endl;
00037       std::cerr<<"Are you sure that this engine does not modify any renderable node ?"<<std::endl;
00038       std::cerr<<"If so, derive this method with an empty method."<<std::endl;
00039       assert(false);
00040     }
00041 
00042 
00047     void EngineNode::reset()
00048     {}
00049 
00054     void EngineNode::postReset()
00055     {}
00056 
00061     void EngineNode::animate(float)
00062     {}
00063 
00068     void EngineNode::postAnimate(float)
00069     {}
00070 
00074     EngineNode::Behavior X3DTK::X3D::EngineNode::behavior() const
00075     {
00076       return m_behavior;
00077     }
00078   };
00079 
00080 };
00081 
00082 
00083 

Generated on Thu Dec 23 13:52:24 2004 by doxygen 1.3.6