Ocean
Empty.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) Meta Platforms, Inc. and affiliates.
3  *
4  * This source code is licensed under the MIT license found in the
5  * LICENSE file in the root directory of this source tree.
6  */
7 
8 #ifndef META_OCEAN_INTERACTION_EPY_EMPTY_H
9 #define META_OCEAN_INTERACTION_EPY_EMPTY_H
10 
11 #include "ocean/base/Base.h"
12 
14 
15 namespace Ocean
16 {
17 
18 namespace Interaction
19 {
20 
21 namespace Empty
22 {
23 
24 /**
25  * @ingroup interaction
26  * @defgroup interactionepy Ocean Interaction Empty Demo Library
27  * @{
28  * The Ocean Interaction Empty Demo Library gives an exampl how to implement an interaction library for the Ocean framework.<br>
29  * @}
30  */
31 
32 /**
33  * @namespace Ocean::Interaction::Empty Namespace of the Interaction Empty Demo library.<p>
34  * The Namespace Ocean::Interaction::Empty is used in the entire Ocean Interaction Empty Demo Library.
35  */
36 
37 // Defines OCEAN_INTERACTION_EPY_EXPORT for dll export and import.
38 #if defined(_WINDOWS) && defined(OCEAN_RUNTIME_SHARED)
39  #ifdef USE_OCEAN_INTERACTION_EPY_EXPORT
40  #define OCEAN_INTERACTION_EPY_EXPORT __declspec(dllexport)
41  #else
42  #define OCEAN_INTERACTION_EPY_EXPORT __declspec(dllimport)
43  #endif
44 #else
45  #define OCEAN_INTERACTION_EPY_EXPORT
46 #endif
47 
48 #ifndef _DLL
49 
50 /**
51  * Registers this empty demo interaction library at the global interaction manager.
52  * This function calls EPYLibrary::registerLibrary() only.
53  * @ingroup interactionepy
54  */
56 
57 /**
58  * Unregisters this empty demo interaction library at the global interaction manager.
59  * This function calls EPYLibrary::unregisterLibrary() only.
60  * @return True, if succeeded
61  * @ingroup interactionepy
62  */
64 
65 #endif // _DLL
66 
67 } // namespace Empty
68 
69 } // namespace Interaction
70 
71 } // namespace Ocean
72 
73 #endif // META_OCEAN_INTERACTION_EPY_EMPTY_H
bool unregisterEmptyLibrary()
Unregisters this empty demo interaction library at the global interaction manager.
void registerEmptyLibrary()
Registers this empty demo interaction library at the global interaction manager.
The namespace covering the entire Ocean framework.
Definition: Accessor.h:15