OSG  3.4.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Namespaces | Macros
Action.h File Reference
#include <osgAnimation/Export>
#include <osgAnimation/Animation>
#include <osgAnimation/ActionVisitor>
#include <osgAnimation/FrameAction>
#include <iostream>
Include dependency graph for Action.h:

Go to the source code of this file.

Classes

class  osgAnimation::Action
 
class  osgAnimation::Action::Callback
 

Namespaces

 osgAnimation
 

Macros

#define META_Action(library, name)
 

Macro Definition Documentation

#define META_Action (   library,
  name 
)
Value:
virtual osg::Object* cloneType() const { return new name (); } \
virtual osg::Object* clone(const osg::CopyOp& copyop) const { return new name (*this,copyop); } \
virtual bool isSameKindAs(const osg::Object* obj) const { return dynamic_cast<const name *>(obj)!=NULL; } \
virtual const char* className() const { return #name; } \
virtual const char* libraryName() const { return #library; } \
virtual void accept(osgAnimation::ActionVisitor& nv) { nv.apply(*this); } \
#define NULL
Definition: Export.h:59
virtual void apply(Action &action)
T * clone(const T *t, const osg::CopyOp &copyop=osg::CopyOp::SHALLOW_COPY)
Definition: Object.h:242
T * cloneType(const T *t)
Definition: Object.h:284

Definition at line 24 of file Action.h.