summaryrefslogtreecommitdiff
path: root/doc/html/classsf_1_1AudioResource.htm
blob: af6f04682dbf393f131588e84bc60b8c84476df7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
    <head>
        <title>SFML - Simple and Fast Multimedia Library</title>
        <meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
        <link href="doxygen.css" rel="stylesheet" type="text/css" />
        <link href="tabs.css" rel="stylesheet" type="text/css" />
    </head>
    <body>
        <div id="logo">
            <img src="./logo.jpg" width="770" height="200" title="SFML home" alt="SFML logo" />
        </div>
<!-- Generated by Doxygen 1.5.2 -->
<div class="tabs">
  <ul>
    <li><a href="index.htm"><span>Main&nbsp;Page</span></a></li>
    <li><a href="namespaces.htm"><span>Namespaces</span></a></li>
    <li class="current"><a href="classes.htm"><span>Classes</span></a></li>
    <li><a href="files.htm"><span>Files</span></a></li>
  </ul>
</div>
<div class="tabs">
  <ul>
    <li><a href="classes.htm"><span>Alphabetical&nbsp;List</span></a></li>
    <li><a href="annotated.htm"><span>Class&nbsp;List</span></a></li>
    <li><a href="hierarchy.htm"><span>Class&nbsp;Hierarchy</span></a></li>
    <li><a href="functions.htm"><span>Class&nbsp;Members</span></a></li>
  </ul>
</div>
<div class="nav">
<a class="el" href="namespacesf.htm">sf</a>::<a class="el" href="classsf_1_1AudioResource.htm">AudioResource</a></div>
<h1>sf::AudioResource Class Reference</h1><!-- doxytag: class="sf::AudioResource" -->Abstract base class for every class that owns a device-dependant resource -- allow them to initialize / shutdown even when the audio context is not created.  
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="AudioResource_8hpp-source.htm">AudioResource.hpp</a>&gt;</code>
<p>
<p>Inheritance diagram for sf::AudioResource:
<p><center><img src="classsf_1_1AudioResource.png" usemap="#sf::AudioResource_map" border="0" alt=""></center>
<map name="sf::AudioResource_map">
<area href="classsf_1_1Sound.htm" alt="sf::Sound" shape="rect" coords="0,56,115,80">
<area href="classsf_1_1SoundBuffer.htm" alt="sf::SoundBuffer" shape="rect" coords="125,56,240,80">
<area href="classsf_1_1SoundStream.htm" alt="sf::SoundStream" shape="rect" coords="0,112,115,136">
<area href="classsf_1_1Music.htm" alt="sf::Music" shape="rect" coords="0,168,115,192">
</map>
<a href="classsf_1_1AudioResource-members.htm">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsf_1_1AudioResource.htm#cdff57800064eb0d6ca5ce1773182705">AudioResource</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Default constructor.  <a href="#cdff57800064eb0d6ca5ce1773182705"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsf_1_1AudioResource.htm#72180730c0d811d1a9c5d0c9c9a71907">AudioResource</a> (const <a class="el" href="classsf_1_1AudioResource.htm">AudioResource</a> &amp;)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Copy constructor.  <a href="#72180730c0d811d1a9c5d0c9c9a71907"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsf_1_1AudioResource.htm#001f961761cf2406d9fa5acce91beebd">~AudioResource</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Destructor.  <a href="#001f961761cf2406d9fa5acce91beebd"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Abstract base class for every class that owns a device-dependant resource -- allow them to initialize / shutdown even when the audio context is not created. 
<p>

<p>
Definition at line <a class="el" href="AudioResource_8hpp-source.htm#l00041">41</a> of file <a class="el" href="AudioResource_8hpp-source.htm">AudioResource.hpp</a>.<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="cdff57800064eb0d6ca5ce1773182705"></a><!-- doxytag: member="sf::AudioResource::AudioResource" ref="cdff57800064eb0d6ca5ce1773182705" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">sf::AudioResource::AudioResource           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Default constructor. 
<p>

</div>
</div><p>
<a class="anchor" name="72180730c0d811d1a9c5d0c9c9a71907"></a><!-- doxytag: member="sf::AudioResource::AudioResource" ref="72180730c0d811d1a9c5d0c9c9a71907" args="(const AudioResource &amp;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">sf::AudioResource::AudioResource           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classsf_1_1AudioResource.htm">AudioResource</a> &amp;&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Copy constructor. 
<p>

</div>
</div><p>
<a class="anchor" name="001f961761cf2406d9fa5acce91beebd"></a><!-- doxytag: member="sf::AudioResource::~AudioResource" ref="001f961761cf2406d9fa5acce91beebd" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual sf::AudioResource::~AudioResource           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Destructor. 
<p>

</div>
</div><p>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="AudioResource_8hpp-source.htm">AudioResource.hpp</a></ul>

        <p id="footer">
            &nbsp;::&nbsp; Copyright &copy; 2007-2008 Laurent Gomila, all rights reserved &nbsp;::&nbsp;
            Documentation generated by <a href="http://www.doxygen.org/" title="doxygen website">doxygen 1.5.2</a> &nbsp;::&nbsp;
        </p>

    </body>
</html>