Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Institute of Technical Acoustics (ITA)
ITASimulationScheduler
Commits
7b1dc2b9
Commit
7b1dc2b9
authored
Aug 04, 2020
by
Pascal Palenda
Browse files
Change namespace naming style - WIP
parent
75a06d4c
Changes
91
Hide whitespace changes
Inline
Side-by-side
apps/raven/ravenegg/ravenegg.cpp
View file @
7b1dc2b9
...
...
@@ -54,9 +54,9 @@
using
namespace
std
;
using
namespace
ITA
::
s
imulation
_s
cheduler
;
using
namespace
r
oom
_a
coustics
;
using
namespace
r
aven
;
using
namespace
ITA
::
S
imulation
S
cheduler
;
using
namespace
R
oom
A
coustics
;
using
namespace
R
aven
;
void
normalize_0dB
(
ITASampleFrame
*
);
...
...
benchmarks/basic_bench_with_profiler/main.cpp
View file @
7b1dc2b9
...
...
@@ -8,10 +8,10 @@
#include <filesystem>
#include <VistaBase/VistaTimeUtils.h>
using
namespace
ITA
::
s
imulation
_s
cheduler
;
using
namespace
r
oom
_a
coustics
;
using
namespace
a
udibility
_f
ilter
;
using
namespace
r
aven
;
using
namespace
ITA
::
S
imulation
S
cheduler
;
using
namespace
R
oom
A
coustics
;
using
namespace
A
udibility
F
ilter
;
using
namespace
R
aven
;
struct
ResultDump
:
IResultHandler
{
...
...
@@ -70,7 +70,7 @@ int main ( )
std
::
ofstream
myfile
;
myfile
.
open
(
"CompleteTest_Master_Test_Config.json"
);
myfile
<<
u
tils
::
JSONConfigUtils
::
WriteVistaPropertyListToJSON
(
oConfig
.
Store
(
)
).
write_formatted
(
);
myfile
<<
U
tils
::
JSONConfigUtils
::
WriteVistaPropertyListToJSON
(
oConfig
.
Store
(
)
).
write_formatted
(
);
myfile
.
close
(
);
auto
masterController
=
std
::
make_unique
<
CMasterSimulationController
>
(
oConfig
);
...
...
@@ -99,7 +99,7 @@ int main ( )
std
::
ofstream
myProfile
;
myProfile
.
open
(
"profiler.json"
);
myProfile
<<
::
p
rofiler
::
ProfilerToJson
(
).
str
(
);
myProfile
<<
::
P
rofiler
::
ProfilerToJson
(
).
str
(
);
myProfile
.
close
(
);
return
0
;
...
...
include/ITA/simulation_scheduler/3d_object.h
View file @
7b1dc2b9
...
...
@@ -11,7 +11,7 @@
namespace
ITA
{
namespace
s
imulation
_s
cheduler
namespace
S
imulation
S
cheduler
{
///
/// \brief Models a source or receiver in 3D space.
...
...
@@ -153,7 +153,7 @@ namespace ITA
lhs
.
GetOrientation
(
)
==
rhs
.
GetOrientation
(
);
}
}
// namespace
s
imulation
_s
cheduler
}
// namespace
S
imulation
S
cheduler
}
// namespace ITA
#endif // INCLUDE_WATCHER_ITA_SIMULATION_SCHEDULER_3D_OBJECT
include/ITA/simulation_scheduler/audibility_filter/audibility_filter_interface.h
View file @
7b1dc2b9
...
...
@@ -14,11 +14,11 @@
namespace
ITA
{
namespace
s
imulation
_s
cheduler
namespace
S
imulation
S
cheduler
{
class
CUpdateScene
;
namespace
a
udibility
_f
ilter
namespace
A
udibility
F
ilter
{
///
/// \brief The interface for an audibility filter.
...
...
@@ -141,8 +141,8 @@ namespace ITA
///
static
std
::
map
<
std
::
string
,
CreateCallback
>
m_mFilters
;
};
}
// namespace
a
udibility
_f
ilter
}
// namespace
s
imulation
_s
cheduler
}
// namespace
A
udibility
F
ilter
}
// namespace
S
imulation
S
cheduler
}
// namespace ITA
#endif // INCLUDE_WATCHER_ITA_SIMULATION_SCHEDULER_AUDIBILITY_FILTER_AUDIBILITY_FILTER_INTERFACE
\ No newline at end of file
include/ITA/simulation_scheduler/audibility_filter/filter_network.h
View file @
7b1dc2b9
...
...
@@ -15,11 +15,11 @@
namespace
ITA
{
namespace
s
imulation
_s
cheduler
namespace
S
imulation
S
cheduler
{
class
CUpdateScene
;
namespace
a
udibility
_f
ilter
namespace
A
udibility
F
ilter
{
///
/// \brief This class models a network of audibility filters.
...
...
@@ -163,8 +163,8 @@ namespace ITA
///
std
::
unique_ptr
<
NetworkTreeNode
>
m_pNetworkTree
;
};
}
// namespace
a
udibility
_f
ilter
}
// namespace
s
imulation
_s
cheduler
}
// namespace
A
udibility
F
ilter
}
// namespace
S
imulation
S
cheduler
}
// namespace ITA
#endif // INCLUDE_WATCHER_ITA_SIMULATION_SCHEDULER_AUDIBILITY_FILTER_FILTER_NETWORK
\ No newline at end of file
include/ITA/simulation_scheduler/audibility_filter/perceptive_rotation_filter.h
View file @
7b1dc2b9
...
...
@@ -12,11 +12,11 @@
namespace
ITA
{
namespace
s
imulation
_s
cheduler
namespace
S
imulation
S
cheduler
{
class
CUpdateScene
;
namespace
a
udibility
_f
ilter
namespace
A
udibility
F
ilter
{
///
/// \brief Perceptive rotation filter.
...
...
@@ -111,8 +111,8 @@ namespace ITA
};
}
// namespace
a
udibility
_f
ilter
}
// namespace
s
imulation
_s
cheduler
}
// namespace
A
udibility
F
ilter
}
// namespace
S
imulation
S
cheduler
}
// namespace ITA
#endif // INCLUDE_WATCHER_ITA_SIMULATION_SCHEDULER_AUDIBILITY_FILTER_PERCEPTIVE_ROTATION_FILTER
\ No newline at end of file
include/ITA/simulation_scheduler/audibility_filter/rate_filter.h
View file @
7b1dc2b9
...
...
@@ -12,11 +12,11 @@
namespace
ITA
{
namespace
s
imulation
_s
cheduler
namespace
S
imulation
S
cheduler
{
class
CUpdateScene
;
namespace
a
udibility
_f
ilter
namespace
A
udibility
F
ilter
{
///
/// \brief Rate filter
...
...
@@ -80,8 +80,8 @@ namespace ITA
///
double
m_dRate
;
};
}
// namespace
a
udibility
_f
ilter
}
// namespace
s
imulation
_s
cheduler
}
// namespace
A
udibility
F
ilter
}
// namespace
S
imulation
S
cheduler
}
// namespace ITA
#endif // INCLUDE_WATCHER_ITA_SIMULATION_SCHEDULER_AUDIBILITY_FILTER_RATE_FILTER
\ No newline at end of file
include/ITA/simulation_scheduler/audibility_filter/reverberation_radius_filter.h
View file @
7b1dc2b9
...
...
@@ -9,11 +9,11 @@
namespace
ITA
{
namespace
s
imulation
_s
cheduler
namespace
S
imulation
S
cheduler
{
class
CUpdateScene
;
namespace
a
udibility
_f
ilter
namespace
A
udibility
F
ilter
{
///
/// \brief Reverberation radius filter
...
...
@@ -77,8 +77,8 @@ namespace ITA
///
double
m_dReverberationRadius
;
};
}
// namespace
a
udibility
_f
ilter
}
// namespace
s
imulation
_s
cheduler
}
// namespace
A
udibility
F
ilter
}
// namespace
S
imulation
S
cheduler
}
// namespace ITA
#endif // INCLUDE_WATCHER_ITA_SIMULATION_SCHEDULER_AUDIBILITY_FILTER_REVERBERATION_RADIUS_FILTER
\ No newline at end of file
include/ITA/simulation_scheduler/audibility_filter/rotation_filter.h
View file @
7b1dc2b9
...
...
@@ -12,11 +12,11 @@
namespace
ITA
{
namespace
s
imulation
_s
cheduler
namespace
S
imulation
S
cheduler
{
class
CUpdateScene
;
namespace
a
udibility
_f
ilter
namespace
A
udibility
F
ilter
{
///
/// \brief Rotation filter
...
...
@@ -131,8 +131,8 @@ namespace ITA
///
RotationModes
m_eRotationMode
=
RotationModes
::
absolute
;
};
}
// namespace
a
udibility
_f
ilter
}
// namespace
s
imulation
_s
cheduler
}
// namespace
A
udibility
F
ilter
}
// namespace
S
imulation
S
cheduler
}
// namespace ITA
#endif // INCLUDE_WATCHER_ITA_SIMULATION_SCHEDULER_AUDIBILITY_FILTER_ROTATION_FILTER
\ No newline at end of file
include/ITA/simulation_scheduler/audibility_filter/translation_filter.h
View file @
7b1dc2b9
...
...
@@ -9,11 +9,11 @@
namespace
ITA
{
namespace
s
imulation
_s
cheduler
namespace
S
imulation
S
cheduler
{
class
CUpdateScene
;
namespace
a
udibility
_f
ilter
namespace
A
udibility
F
ilter
{
///
/// \brief Translation filter
...
...
@@ -94,8 +94,8 @@ namespace ITA
///
TranslationModes
m_eTranslationMode
=
TranslationModes
::
absolute
;
};
}
// namespace
a
udibility
_f
ilter
}
// namespace
s
imulation
_s
cheduler
}
// namespace
A
udibility
F
ilter
}
// namespace
S
imulation
S
cheduler
}
// namespace ITA
#endif // INCLUDE_WATCHER_ITA_SIMULATION_SCHEDULER_AUDIBILITY_FILTER_TRANSLATION_FILTER
\ No newline at end of file
include/ITA/simulation_scheduler/audibility_filter/zone_filter.h
View file @
7b1dc2b9
...
...
@@ -12,11 +12,11 @@
namespace
ITA
{
namespace
s
imulation
_s
cheduler
namespace
S
imulation
S
cheduler
{
class
CUpdateScene
;
namespace
a
udibility
_f
ilter
namespace
A
udibility
F
ilter
{
///
/// \brief Zone filter.
...
...
@@ -85,8 +85,8 @@ namespace ITA
///
std
::
vector
<
std
::
pair
<
VistaVector3D
,
VistaVector3D
>>
m_vpZones
;
};
}
// namespace
a
udibility
_f
ilter
}
// namespace
s
imulation
_s
cheduler
}
// namespace
A
udibility
F
ilter
}
// namespace
S
imulation
S
cheduler
}
// namespace ITA
#endif // INCLUDE_WATCHER_ITA_SIMULATION_SCHEDULER_AUDIBILITY_FILTER_ZONE_FILTER
\ No newline at end of file
include/ITA/simulation_scheduler/config_interface.h
View file @
7b1dc2b9
...
...
@@ -9,7 +9,7 @@
namespace
ITA
{
namespace
s
imulation
_s
cheduler
namespace
S
imulation
S
cheduler
{
///
/// \brief Interface for a configuration.
...
...
@@ -29,7 +29,7 @@ namespace ITA
///
virtual
void
Load
(
const
VistaPropertyList
&
oProperties
)
=
0
;
};
}
// namespace
s
imulation
_s
cheduler
}
// namespace
S
imulation
S
cheduler
}
// namespace ITA
#endif // INCLUDE_WATCHER_ITA_SIMULATION_SCHEDULER_CONFIG_INTERFACE
include/ITA/simulation_scheduler/ir_simulation_result.h
View file @
7b1dc2b9
...
...
@@ -12,7 +12,7 @@
namespace
ITA
{
namespace
s
imulation
_s
cheduler
namespace
S
imulation
S
cheduler
{
///
/// \brief Result of a room acoustic simulation.
...
...
@@ -68,7 +68,7 @@ namespace ITA
std
::
unique_ptr
<
CSimulationResult
>
Clone
(
)
const
override
;
};
}
// namespace
s
imulation
_s
cheduler
}
// namespace
S
imulation
S
cheduler
}
// namespace ITA
#endif // INCLUDE_WATCHER_ITA_SIMULATION_SCHEDULER_IR_SIMULATION_RESULT
\ No newline at end of file
include/ITA/simulation_scheduler/profiler/profiler.h
View file @
7b1dc2b9
...
...
@@ -13,7 +13,7 @@
namespace
ITA
{
namespace
s
imulation
_s
cheduler
namespace
S
imulation
S
cheduler
{
#ifdef WITH_PROFILER
///
...
...
@@ -32,18 +32,18 @@ namespace ITA
///
/// \brief Issue an event with the name \p NAME.
///
#define PROFILER_EVENT_COUNT( NAME)
p
rofiler::AddEventCount( NAME, __FUNCTION__, __FILE__ );
#define PROFILER_EVENT_COUNT( NAME)
P
rofiler::AddEventCount( NAME, __FUNCTION__, __FILE__ );
///
/// \brief Add the value \p VALUE to the profiler under the name \p NAME.
///
#define PROFILER_VALUE( NAME, VALUE)
p
rofiler::AddValue( NAME, VALUE, __FUNCTION__, __FILE__ );
#define PROFILER_VALUE( NAME, VALUE)
P
rofiler::AddValue( NAME, VALUE, __FUNCTION__, __FILE__ );
///
/// \brief Start a section with the name \p NAME.
///
#define PROFILER_SECTION( NAME )
p
rofiler::CSection PROFILER_UNIQUE_SECTION(__LINE__);\
p
rofiler::StartSection(PROFILER_UNIQUE_SECTION(__LINE__), NAME, __FUNCTION__, __FILE__ );
#define PROFILER_SECTION( NAME )
P
rofiler::CSection PROFILER_UNIQUE_SECTION(__LINE__);\
P
rofiler::StartSection(PROFILER_UNIQUE_SECTION(__LINE__), NAME, __FUNCTION__, __FILE__ );
///
/// \brief Start a section with the name "Full".
...
...
@@ -53,23 +53,23 @@ namespace ITA
///
/// \brief End the last opened section in this thread.
///
#define PROFILER_END_SECTION()
p
rofiler::EndSection();
#define PROFILER_END_SECTION()
P
rofiler::EndSection();
///
/// \brief Name the current thread.
///
/// Only the first invocation of this has an effect.
///
#define PROFILER_NAME_THREAD( NAME )
p
rofiler::NameThread( NAME );
#define PROFILER_NAME_THREAD( NAME )
P
rofiler::NameThread( NAME );
///
/// \brief Name the current thread "Main".
///
/// Only the first invocation of this has an effect.
///
#define PROFILER_NAME_THREAD_MAIN( )
p
rofiler::NameThread( "Main" );
#define PROFILER_NAME_THREAD_MAIN( )
P
rofiler::NameThread( "Main" );
namespace
p
rofiler
namespace
P
rofiler
{
class
ProfileSection
;
class
CProfiler
;
...
...
@@ -189,7 +189,7 @@ namespace ITA
/// \brief Parse the profiler data as a json file.
///
std
::
stringstream
ITA_SIMULATION_SCHEDULER_API
ProfilerToJson
(
);
}
// namespace
p
rofiler
}
// namespace
P
rofiler
#else
#define PROFILER_EVENT_COUNT( ... )
...
...
@@ -209,7 +209,7 @@ namespace ITA
///
void
ITA_SIMULATION_SCHEDULER_API
StoreProfilerData
(
const
std
::
string
&
sProfilerFileName
);
}
// namespace
s
imulation
_s
cheduler
}
// namespace
S
imulation
S
cheduler
}
// namespace ITA
#endif // INCLUDE_WATCHER_ITA_SIMULATION_SCHEDULER_PROFILER_PROFILER
\ No newline at end of file
include/ITA/simulation_scheduler/profiler/profiler_types.h
View file @
7b1dc2b9
...
...
@@ -10,9 +10,9 @@
namespace
ITA
{
namespace
s
imulation
_s
cheduler
namespace
S
imulation
S
cheduler
{
namespace
p
rofiler
namespace
P
rofiler
{
///
/// \brief Types of data that can be stored as a value.
...
...
@@ -127,8 +127,8 @@ namespace ITA
///
double
m_dTimeStamp
=
ITAClock
::
getDefaultClock
(
)
->
getTime
(
);
};
}
// namespace
p
rofiler
}
// namespace
s
imulation
_s
cheduler
}
// namespace
P
rofiler
}
// namespace
S
imulation
S
cheduler
}
// namespace ITA
#endif // INCLUDE_WATCHER_ITA_SIMULATION_SCHEDULER_PROFILER_PROFILER_TYPES
\ No newline at end of file
include/ITA/simulation_scheduler/result_handler.h
View file @
7b1dc2b9
...
...
@@ -12,7 +12,7 @@
namespace
ITA
{
namespace
s
imulation
_s
cheduler
namespace
S
imulation
S
cheduler
{
///
/// \brief Result handler interface.
...
...
@@ -31,7 +31,7 @@ namespace ITA
///
virtual
void
PostResultReceived
(
std
::
unique_ptr
<
CSimulationResult
>
pResult
)
=
0
;
};
}
// namespace
s
imulation
_s
cheduler
}
// namespace
S
imulation
S
cheduler
}
// namespace ITA
#endif // INCLUDE_WATCHER_ITA_SIMULATION_SCHEDULER_RESULT_HANDLER
\ No newline at end of file
include/ITA/simulation_scheduler/room_acoustics/master_simulation_controller.h
View file @
7b1dc2b9
...
...
@@ -26,11 +26,11 @@
namespace
ITA
{
namespace
s
imulation
_s
cheduler
namespace
S
imulation
S
cheduler
{
class
IResultHandler
;
namespace
r
oom
_a
coustics
namespace
R
oom
A
coustics
{
///
/// \brief Primary interaction class for room acoustic simulations.
...
...
@@ -207,8 +207,8 @@ namespace ITA
ITAAtomicBool
m_bStopACK
=
false
;
/// \}
};
}
// namespace
r
oom
_a
coustics
}
// namespace
s
imulation
_s
cheduler
}
// namespace
R
oom
A
coustics
}
// namespace
S
imulation
S
cheduler
}
// namespace ITA
#endif // INCLUDE_WATCHER_ITA_SIMULATION_SCHEDULER_ROOM_ACOUSTICS_MASTER_SIMULATION_CONTROLLER
include/ITA/simulation_scheduler/room_acoustics/raven/raven_scene.h
View file @
7b1dc2b9
...
...
@@ -19,11 +19,11 @@
namespace
ITA
{
namespace
s
imulation
_s
cheduler
namespace
S
imulation
S
cheduler
{
namespace
r
oom
_a
coustics
namespace
R
oom
A
coustics
{
namespace
r
aven
namespace
R
aven
{
///
/// \brief Scene class for Raven instances.
...
...
@@ -228,12 +228,12 @@ namespace ITA
};
ENABLE_BITMASK_OPERATORS
(
r
oom
_a
coustics
::
r
aven
::
CRavenScene
::
CReceiverState
::
DifferenceFlags
);
ENABLE_BITMASK_OPERATORS
(
r
oom
_a
coustics
::
r
aven
::
CRavenScene
::
CSourceState
::
DifferenceFlags
);
ENABLE_BITMASK_OPERATORS
(
R
oom
A
coustics
::
R
aven
::
CRavenScene
::
CReceiverState
::
DifferenceFlags
);
ENABLE_BITMASK_OPERATORS
(
R
oom
A
coustics
::
R
aven
::
CRavenScene
::
CSourceState
::
DifferenceFlags
);
}
// namespace
r
aven
}
// namespace
r
oom
_a
coustics
}
// namespace
s
imulation
_s
cheduler
}
// namespace
R
aven
}
// namespace
R
oom
A
coustics
}
// namespace
S
imulation
S
cheduler
}
// namespace ITA
#endif
...
...
include/ITA/simulation_scheduler/room_acoustics/raven/raven_simulation_result.h
View file @
7b1dc2b9
...
...
@@ -23,11 +23,11 @@
namespace
ITA
{
namespace
s
imulation
_s
cheduler
namespace
S
imulation
S
cheduler
{
namespace
r
oom
_a
coustics
namespace
R
oom
A
coustics
{
namespace
r
aven
namespace
R
aven
{
///
...
...
@@ -113,9 +113,9 @@ namespace ITA
std
::
vector
<
std
::
unique_ptr
<
ComplexSimulationSoundPath
>
>
vcspResult
;
//!< Result container
};
}
// namespace
r
aven
}
// namespace
r
oom
_a
coustics
}
// namespace
s
imulation
_s
cheduler
}
// namespace
R
aven
}
// namespace
R
oom
A
coustics
}
// namespace
S
imulation
S
cheduler
}
// namespace ITA
#endif
...
...
include/ITA/simulation_scheduler/room_acoustics/raven/raven_worker_interface.h
View file @
7b1dc2b9
...
...
@@ -12,11 +12,11 @@
namespace
ITA
{
namespace
s
imulation
_s
cheduler
namespace
S
imulation
S
cheduler
{
namespace
r
oom
_a
coustics
namespace
R
oom
A
coustics
{
namespace
r
aven
namespace
R
aven
{
class
CSimulationTask
;
class
CRavenConfig
;
...
...
@@ -74,9 +74,9 @@ namespace ITA
///
static
std
::
unique_ptr
<
CRIRSimulationResult
>
ConvertSimulationResult
(
std
::
unique_ptr
<
CRavenSimulationResult
>
pResult
,
CSimulationTask
*
pTask
);
};
}
// namespace
r
aven
}
// namespace
r
oom
_a
coustics
}
// namespace
s
imulation
_s
cheduler
}
// namespace
R
aven
}
// namespace
R
oom
A
coustics
}
// namespace
S
imulation
S
cheduler
}
// namespace ITA
#endif
...
...
Prev
1
2
3
4
5
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment