버전
menu_open
알림: 고객님의 주요 출시 버전( 2021.1.14.8108 )에 해당하는 최신 설명서로 이동했습니다. 특정 버전의 설명서를 보시려면 Audiokinetic 런처에서 오프라인 설명서를 다운로드하고 Wwise Authoring의 Offline Documentation을 확인하세요.
link
Wwise SDK 2021.1.14
SourceControlContainers.h
이 파일의 문서화 페이지로 가기
1 /*******************************************************************************
2 The content of this file includes portions of the AUDIOKINETIC Wwise Technology
3 released in source code form as part of the SDK installer package.
4 
5 Commercial License Usage
6 
7 Licensees holding valid commercial licenses to the AUDIOKINETIC Wwise Technology
8 may use this file in accordance with the end user license agreement provided
9 with the software or, alternatively, in accordance with the terms contained in a
10 written agreement between you and Audiokinetic Inc.
11 
12 Apache License Usage
13 
14 Alternatively, this file may be used under the Apache License, Version 2.0 (the
15 "Apache License"); you may not use this file except in compliance with the
16 Apache License. You may obtain a copy of the Apache License at
17 http://www.apache.org/licenses/LICENSE-2.0.
18 
19 Unless required by applicable law or agreed to in writing, software distributed
20 under the Apache License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES
21 OR CONDITIONS OF ANY KIND, either express or implied. See the Apache License for
22 the specific language governing permissions and limitations under the License.
23 
24  Version: v2021.1.14 Build: 6590
25  Copyright (c) 2006-2023 Audiokinetic Inc.
26 *******************************************************************************/
27 
28 /// \file AK/Wwise/SourceControl/SourceControlContainers.h
29 /// \brief Wwise source control containers interface that is used to pass data containers (list and map) in parameters.
30 
31 #ifndef _AK_WWISE_SOURCECONTROLCONTAINERS_H
32 #define _AK_WWISE_SOURCECONTROLCONTAINERS_H
33 
34 // Audiokinetic namespace
35 namespace AK
36 {
37  // Audiokinetic Wwise namespace
38  namespace Wwise
39  {
40  /// Source Control Containers namespace
41  namespace SourceControlContainers
42  {
43  /// Container position
44  struct __AkPos{};
45  /// Pointer to a container position
46  typedef __AkPos* AkPos;
47 
48  // IAkList
49  /// Template parameters:
50  /// - Type: Class of object stored in the list.
51  /// - Arg_Type: Type used to reference objects stored in the list. Can be a reference. By default, this is a reference to the type.
52  ///
53  /// \akwarning
54  /// The functions in this interface are not thread-safe, unless stated otherwise.
55  /// \endakwarning
56  ///
57  /// \aknote The class implementing this interface is a wrapper around the MFC \b CList class. Documentation can be found on MSDN.
58  /// \endaknote
59  template <class Type, class Arg_Type = const Type&>
60  class IAkList
61  {
62  public:
63  virtual unsigned int GetCount() const = 0;
64  virtual unsigned int GetSize() const = 0;
65  virtual bool IsEmpty() const = 0;
66 
67  virtual AkPos AddHead( Arg_Type in_newElement ) = 0;
68  virtual AkPos AddTail( Arg_Type in_newElement ) = 0;
69 
70  virtual void RemoveHead() = 0;
71  virtual void RemoveTail() = 0;
72  virtual void RemoveAt( AkPos in_position ) = 0;
73  virtual void RemoveAll() = 0;
74 
75  virtual Type& GetHead() = 0;
76  virtual const Type& GetHead() const = 0;
77  virtual Type& GetTail() = 0;
78  virtual const Type& GetTail() const = 0;
79  virtual AkPos GetHeadPosition() const = 0;
80  virtual AkPos GetTailPosition() const = 0;
81  virtual Type& GetNext( AkPos& in_rPosition ) = 0;
82  virtual const Type& GetNext( AkPos& in_rPosition ) const = 0;
83  virtual Type& GetPrev( AkPos& in_rPosition ) = 0;
84  virtual const Type& GetPrev( AkPos& in_rPosition ) const = 0;
85  virtual Type& GetAt( AkPos in_position ) = 0;
86  virtual const Type& GetAt( AkPos in_position ) const = 0;
87 
88  virtual void SetAt( AkPos in_pos, Arg_Type in_newElement ) = 0;
89  virtual AkPos InsertBefore( AkPos in_position, Arg_Type in_newElement ) = 0;
90  virtual AkPos InsertAfter( AkPos in_position, Arg_Type in_newElement ) = 0;
91  };
92 
93  // IAkMap
94  /// Template parameters:
95  /// - Key: Class of the object used as the map key.
96  /// - Arg_Key: Data type used for Key arguments.
97  /// - Value: Class of the object stored in the map.
98  /// - Arg_Value: Data type used for Value arguments; usually a reference to Value.
99  ///
100  /// \akwarning
101  /// The functions in this interface are not thread-safe, unless stated otherwise.
102  /// \endakwarning
103  ///
104  /// \aknote The class implementing this interface is a wrapper around the MFC \b CMap class. Documentation can be found on MSDN.
105  /// \endaknote
106  template <class Key, class Arg_Key, class Value, class Arg_Value>
107  class IAkMap
108  {
109  public:
110  virtual unsigned int GetCount() const = 0;
111  virtual unsigned int GetSize() const = 0;
112  virtual bool IsEmpty() const = 0;
113 
114  virtual bool Lookup( Arg_Key in_key, Value& in_rValue ) const = 0;
115 
116  virtual Value& operator[]( Arg_Key in_key ) = 0;
117  virtual void SetAt( Arg_Key in_key, Arg_Value in_newValue ) = 0;
118 
119  virtual bool RemoveKey( Arg_Key in_key ) = 0;
120  virtual void RemoveAll() = 0;
121 
122  virtual AkPos GetStartPosition() const = 0;
123  virtual void GetNextAssoc( AkPos& in_rNextPosition, Key& in_rKey, Value& in_rValue ) const = 0;
124  };
125  };
126  }
127 }
128 
129 #endif // _AK_WWISE_SOURCECONTROLCONTAINERS_H
virtual void GetNextAssoc(AkPos &in_rNextPosition, Key &in_rKey, Value &in_rValue) const =0
virtual Type & GetPrev(AkPos &in_rPosition)=0
virtual AkPos GetStartPosition() const =0
virtual AkPos InsertAfter(AkPos in_position, Arg_Type in_newElement)=0
Audiokinetic namespace
virtual void SetAt(AkPos in_pos, Arg_Type in_newElement)=0
virtual Type & GetNext(AkPos &in_rPosition)=0
virtual unsigned int GetCount() const =0
virtual AkPos GetTailPosition() const =0
virtual const Type & GetAt(AkPos in_position) const =0
virtual AkPos AddHead(Arg_Type in_newElement)=0
virtual AkPos InsertBefore(AkPos in_position, Arg_Type in_newElement)=0
virtual unsigned int GetSize() const =0
virtual const Type & GetNext(AkPos &in_rPosition) const =0
virtual Type & GetAt(AkPos in_position)=0
virtual const Type & GetHead() const =0
virtual void SetAt(Arg_Key in_key, Arg_Value in_newValue)=0
__AkPos * AkPos
Pointer to a container position
virtual unsigned int GetCount() const =0
virtual Value & operator[](Arg_Key in_key)=0
virtual bool IsEmpty() const =0
virtual unsigned int GetSize() const =0
virtual void RemoveAt(AkPos in_position)=0
virtual AkPos AddTail(Arg_Type in_newElement)=0
virtual bool IsEmpty() const =0
virtual const Type & GetTail() const =0
virtual const Type & GetPrev(AkPos &in_rPosition) const =0
virtual bool Lookup(Arg_Key in_key, Value &in_rValue) const =0
virtual bool RemoveKey(Arg_Key in_key)=0
virtual AkPos GetHeadPosition() const =0

이 페이지가 도움이 되었나요?

지원이 필요하신가요?

질문이 있으신가요? 문제를 겪고 계신가요? 더 많은 정보가 필요하신가요? 저희에게 문의해주시면 도와드리겠습니다!

지원 페이지를 방문해 주세요

작업하는 프로젝트에 대해 알려주세요. 언제든지 도와드릴 준비가 되어 있습니다.

프로젝트를 등록하세요. 아무런 조건이나 의무 사항 없이 빠른 시작을 도와드리겠습니다.

Wwise를 시작해 보세요