RioEngine  0.1
My first attempt to create a 3D WYSIWYG Game Engine
ik_IVirtualRefCounted.h
Go to the documentation of this file.
1 // Copyright (C) 2002-2014 Nikolaus Gebhardt
2 // This file is part of the "irrKlang" library.
3 // For conditions of distribution and use, see copyright notice in irrKlang.h
4 
5 #ifndef __I_IRRKLANG_VIRTUAL_UNKNOWN_H_INCLUDED__
6 #define __I_IRRKLANG_VIRTUAL_UNKNOWN_H_INCLUDED__
7 
8 #include "ik_irrKlangTypes.h"
9 
10 
11 namespace irrklang
12 {
13 
15 
20  {
21  public:
22 
25  {
26  }
27 
29 
32  virtual void grab() = 0;
33 
35 
38  virtual bool drop() = 0;
39  };
40 
41 
42 
43 } // end namespace irrklang
44 
45 
46 
47 #endif
48 
Reference counting base class for objects in the Irrlicht Engine similar to IRefCounted.
virtual bool drop()=0
Drops the object. Decrements the reference counter by one.
Everything in the irrKlang Sound Engine can be found in this namespace.
virtual void grab()=0
Grabs the object. Increments the reference counter by one.
virtual ~IVirtualRefCounted()
Destructor.