diff options
author | 2021-01-19 18:06:48 +0530 | |
---|---|---|
committer | 2021-01-20 22:39:18 +0900 | |
commit | ca54ecb2f7ffdc1d68ed72836f09058d3ef242ec (patch) | |
tree | ced19c3a922cff59a552a10c0bd27afa05b87e5f /src/sound | |
parent | 2cfe2c611be63ae4541abf4e13cfecff0f008f25 (diff) |
Create RBAArbitratorImpl class to hide internal interfaces
Signed-off-by: Anusha Gugale <external.agogale@jp.adit-jv.com>
Change-Id: Ica733746489825c5e9e5995964801ef2d173cd24
Diffstat (limited to 'src/sound')
-rw-r--r-- | src/sound/RBAAllInstanceOfSoundContent.cpp | 4 | ||||
-rw-r--r-- | src/sound/RBAAllInstanceOfSoundContent.hpp | 2 | ||||
-rw-r--r-- | src/sound/RBAAllInstanceOfZone.cpp | 4 | ||||
-rw-r--r-- | src/sound/RBAAllInstanceOfZone.hpp | 2 | ||||
-rw-r--r-- | src/sound/RBAIsAttenuated.cpp | 4 | ||||
-rw-r--r-- | src/sound/RBAIsAttenuated.hpp | 2 | ||||
-rw-r--r-- | src/sound/RBAIsMuted.cpp | 4 | ||||
-rw-r--r-- | src/sound/RBAIsMuted.hpp | 2 | ||||
-rw-r--r-- | src/sound/RBAIsOutputted.cpp | 4 | ||||
-rw-r--r-- | src/sound/RBAIsOutputted.hpp | 2 | ||||
-rw-r--r-- | src/sound/RBAIsSounding.cpp | 4 | ||||
-rw-r--r-- | src/sound/RBAIsSounding.hpp | 2 | ||||
-rw-r--r-- | src/sound/RBAOutputtingSound.cpp | 4 | ||||
-rw-r--r-- | src/sound/RBAOutputtingSound.hpp | 2 |
14 files changed, 21 insertions, 21 deletions
diff --git a/src/sound/RBAAllInstanceOfSoundContent.cpp b/src/sound/RBAAllInstanceOfSoundContent.cpp index 181fb7b..19d722c 100644 --- a/src/sound/RBAAllInstanceOfSoundContent.cpp +++ b/src/sound/RBAAllInstanceOfSoundContent.cpp @@ -20,7 +20,7 @@ #include "RBAAllInstanceOfSoundContent.hpp" #include "RBASoundContentImpl.hpp" -#include "RBAArbitrator.hpp" +#include "RBAArbitratorImpl.hpp" #include "RBAExpressionVisitor.hpp" #include "RBAModelImpl.hpp" #include "RBAModelElementType.hpp" @@ -46,7 +46,7 @@ RBAAllInstanceOfSoundContent::getModelElementType() const const RBARuleObject* RBAAllInstanceOfSoundContent::getReferenceObjectCore(RBAConstraintInfo* info, - RBAArbitrator* arb) const + RBAArbitratorImpl* arb) const { return &allSoundContentSet_; } diff --git a/src/sound/RBAAllInstanceOfSoundContent.hpp b/src/sound/RBAAllInstanceOfSoundContent.hpp index 08ea67f..7c9a1bd 100644 --- a/src/sound/RBAAllInstanceOfSoundContent.hpp +++ b/src/sound/RBAAllInstanceOfSoundContent.hpp @@ -40,7 +40,7 @@ public: void accept(RBAExpressionVisitor& visitor) override; RBAModelElementType getModelElementType() const override; const RBARuleObject* getReferenceObjectCore(RBAConstraintInfo* info, - RBAArbitrator* arb) const override; + RBAArbitratorImpl* arb) const override; void setContents(const std::list<const RBASoundContentImpl*>& contents); // Log diff --git a/src/sound/RBAAllInstanceOfZone.cpp b/src/sound/RBAAllInstanceOfZone.cpp index e50768c..a813e3f 100644 --- a/src/sound/RBAAllInstanceOfZone.cpp +++ b/src/sound/RBAAllInstanceOfZone.cpp @@ -20,7 +20,7 @@ #include "RBAAllInstanceOfZone.hpp" #include "RBAZoneImpl.hpp" -#include "RBAArbitrator.hpp" +#include "RBAArbitratorImpl.hpp" #include "RBAExpressionVisitor.hpp" #include "RBAModelImpl.hpp" #include "RBAModelElementType.hpp" @@ -46,7 +46,7 @@ RBAAllInstanceOfZone::getModelElementType() const const RBARuleObject* RBAAllInstanceOfZone::getReferenceObjectCore(RBAConstraintInfo* info, - RBAArbitrator* arb) const + RBAArbitratorImpl* arb) const { return &allZoneSet_; } diff --git a/src/sound/RBAAllInstanceOfZone.hpp b/src/sound/RBAAllInstanceOfZone.hpp index 73f15a4..679d9a8 100644 --- a/src/sound/RBAAllInstanceOfZone.hpp +++ b/src/sound/RBAAllInstanceOfZone.hpp @@ -41,7 +41,7 @@ public: void accept(RBAExpressionVisitor& visitor) override; RBAModelElementType getModelElementType() const override; const RBARuleObject* getReferenceObjectCore(RBAConstraintInfo* info, - RBAArbitrator* arb) const override; + RBAArbitratorImpl* arb) const override; void setZones(const std::list<const RBAZoneImpl*> zones); // Log diff --git a/src/sound/RBAIsAttenuated.cpp b/src/sound/RBAIsAttenuated.cpp index cf55890..49b6538 100644 --- a/src/sound/RBAIsAttenuated.cpp +++ b/src/sound/RBAIsAttenuated.cpp @@ -19,7 +19,7 @@ #include "RBAExpression.hpp" #include "RBAZoneImpl.hpp" -#include "RBAArbitrator.hpp" +#include "RBAArbitratorImpl.hpp" #include "RBAExpressionVisitor.hpp" #include "RBAResultImpl.hpp" #include "RBALogManager.hpp" @@ -44,7 +44,7 @@ RBAIsAttenuated::getModelElementType() const bool RBAIsAttenuated::executeCore(RBAConstraintInfo* info, - RBAArbitrator* arb) const + RBAArbitratorImpl* arb) const { bool isPassed {false}; LOG_addHierarchy(LOG_getSymbol()); diff --git a/src/sound/RBAIsAttenuated.hpp b/src/sound/RBAIsAttenuated.hpp index 2ed62b2..05dead5 100644 --- a/src/sound/RBAIsAttenuated.hpp +++ b/src/sound/RBAIsAttenuated.hpp @@ -40,7 +40,7 @@ public: public: void accept(RBAExpressionVisitor& visitor) override; RBAModelElementType getModelElementType() const override; - bool executeCore(RBAConstraintInfo* info, RBAArbitrator * arb) const override; + bool executeCore(RBAConstraintInfo* info, RBAArbitratorImpl * arb) const override; // Log #ifdef RBA_USE_LOG diff --git a/src/sound/RBAIsMuted.cpp b/src/sound/RBAIsMuted.cpp index 1555137..e2f4671 100644 --- a/src/sound/RBAIsMuted.cpp +++ b/src/sound/RBAIsMuted.cpp @@ -16,7 +16,7 @@ /// IsMuted class #include "RBAIsMuted.hpp" -#include "RBAArbitrator.hpp" +#include "RBAArbitratorImpl.hpp" #include "RBAResultImpl.hpp" #include "RBAAllocatable.hpp" #include "RBAExpressionVisitor.hpp" @@ -42,7 +42,7 @@ RBAIsMuted::getModelElementType() const bool RBAIsMuted::executeCore(RBAConstraintInfo* info, - RBAArbitrator* arb) const + RBAArbitratorImpl* arb) const { bool isPassed {false}; // Add itself to the constraint hierarchy for coverage diff --git a/src/sound/RBAIsMuted.hpp b/src/sound/RBAIsMuted.hpp index 71b9d94..d48443f 100644 --- a/src/sound/RBAIsMuted.hpp +++ b/src/sound/RBAIsMuted.hpp @@ -41,7 +41,7 @@ public: public: void accept(RBAExpressionVisitor& visitor) override; RBAModelElementType getModelElementType() const override; - bool executeCore(RBAConstraintInfo* info, RBAArbitrator * arb) const override; + bool executeCore(RBAConstraintInfo* info, RBAArbitratorImpl * arb) const override; // Log #ifdef RBA_USE_LOG diff --git a/src/sound/RBAIsOutputted.cpp b/src/sound/RBAIsOutputted.cpp index f99d8d5..860673d 100644 --- a/src/sound/RBAIsOutputted.cpp +++ b/src/sound/RBAIsOutputted.cpp @@ -16,7 +16,7 @@ /// IsOutputted class #include "RBAIsOutputted.hpp" -#include "RBAArbitrator.hpp" +#include "RBAArbitratorImpl.hpp" #include "RBAZoneImpl.hpp" #include "RBAResultImpl.hpp" #include "RBAContentState.hpp" @@ -44,7 +44,7 @@ RBAIsOutputted::getModelElementType() const bool RBAIsOutputted::executeCore(RBAConstraintInfo* info, - RBAArbitrator* arb) const + RBAArbitratorImpl* arb) const { bool isPassed {false}; // Add itself to the constraint hierarchy for coverage diff --git a/src/sound/RBAIsOutputted.hpp b/src/sound/RBAIsOutputted.hpp index 995527c..ef891af 100644 --- a/src/sound/RBAIsOutputted.hpp +++ b/src/sound/RBAIsOutputted.hpp @@ -41,7 +41,7 @@ public: public: void accept(RBAExpressionVisitor& visitor) override; RBAModelElementType getModelElementType() const override; - bool executeCore(RBAConstraintInfo* info, RBAArbitrator * arb) const override; + bool executeCore(RBAConstraintInfo* info, RBAArbitratorImpl * arb) const override; // Log #ifdef RBA_USE_LOG diff --git a/src/sound/RBAIsSounding.cpp b/src/sound/RBAIsSounding.cpp index a4ab4c4..7e51b65 100644 --- a/src/sound/RBAIsSounding.cpp +++ b/src/sound/RBAIsSounding.cpp @@ -18,7 +18,7 @@ #include <algorithm> #include "RBAAllocatable.hpp" -#include "RBAArbitrator.hpp" +#include "RBAArbitratorImpl.hpp" #include "RBAConstraintInfo.hpp" #include "RBAContent.hpp" #include "RBAContentState.hpp" @@ -47,7 +47,7 @@ RBAIsSounding::getModelElementType() const bool RBAIsSounding::executeCore(RBAConstraintInfo* info, - RBAArbitrator* arb) const + RBAArbitratorImpl* arb) const { bool isPassed {false}; // Add itself to the constraint hierarchy for coverage diff --git a/src/sound/RBAIsSounding.hpp b/src/sound/RBAIsSounding.hpp index 45aa0ed..a99925f 100644 --- a/src/sound/RBAIsSounding.hpp +++ b/src/sound/RBAIsSounding.hpp @@ -37,7 +37,7 @@ public: public: void accept(RBAExpressionVisitor& visitor) override; RBAModelElementType getModelElementType() const override; - bool executeCore(RBAConstraintInfo* info, RBAArbitrator * arb) const override; + bool executeCore(RBAConstraintInfo* info, RBAArbitratorImpl * arb) const override; // Log #ifdef RBA_USE_LOG diff --git a/src/sound/RBAOutputtingSound.cpp b/src/sound/RBAOutputtingSound.cpp index 14d1567..18c65d7 100644 --- a/src/sound/RBAOutputtingSound.cpp +++ b/src/sound/RBAOutputtingSound.cpp @@ -19,7 +19,7 @@ #include "RBAOutputtingSound.hpp" #include "RBAAllocatable.hpp" -#include "RBAArbitrator.hpp" +#include "RBAArbitratorImpl.hpp" #include "RBAContent.hpp" #include "RBAContentState.hpp" #include "RBAExpressionVisitor.hpp" @@ -50,7 +50,7 @@ RBAOutputtingSound::getModelElementType() const const RBARuleObject* RBAOutputtingSound::getReferenceObjectCore(RBAConstraintInfo* info, - RBAArbitrator* arb) const + RBAArbitratorImpl* arb) const { const RBARuleObject* object {nullptr}; const auto leftInfo = info->getChild(0U); diff --git a/src/sound/RBAOutputtingSound.hpp b/src/sound/RBAOutputtingSound.hpp index dd2e67e..775763b 100644 --- a/src/sound/RBAOutputtingSound.hpp +++ b/src/sound/RBAOutputtingSound.hpp @@ -40,7 +40,7 @@ public: void accept(RBAExpressionVisitor& visitor) override; RBAModelElementType getModelElementType() const override; const RBARuleObject* getReferenceObjectCore(RBAConstraintInfo* info, - RBAArbitrator* arb) const override; + RBAArbitratorImpl* arb) const override; // Log #ifdef RBA_USE_LOG |