positionedobject.h

Go to the documentation of this file.
00001 
00024 #ifndef POSITIONEDOBJECT_H_INCLUDED_C4278579
00025 #define POSITIONEDOBJECT_H_INCLUDED_C4278579
00026 
00027 #include "openalpp/export.h"
00028 #include "openalpp/audiobase.h"
00029 
00030 namespace openalpp {
00031 
00036 class OPENALPP_API PositionedObject : public AudioBase {
00037 
00038  public:
00039 
00040    PositionedObject() {}
00041  
00048   virtual void setPosition(float x, float y, float z)=0;
00049 
00056   virtual void getPosition(float &x, float &y, float &z) const =0;
00057 
00064   virtual void setVelocity(float vx, float vy, float vz)=0;
00065 
00072   virtual void getVelocity(float &vx, float &vy, float &vz) const =0;
00073 
00074  protected:
00075     virtual ~PositionedObject() {}
00076 
00077 };
00078 
00079 }
00080 
00081 #endif /* POSITIONEDOBJECT_H_INCLUDED_C4278579 */

Generated on Sun Oct 15 08:41:42 2006 for openalpp by  doxygen 1.4.7