summaryrefslogtreecommitdiffstats
path: root/src/view
diff options
context:
space:
mode:
authorAnusha Gugale <external.agogale@jp.adit-jv.com>2021-01-19 18:06:48 +0530
committerKenji Hosokawa <khosokawa@jp.adit-jv.com>2021-01-20 22:39:18 +0900
commitca54ecb2f7ffdc1d68ed72836f09058d3ef242ec (patch)
treeced19c3a922cff59a552a10c0bd27afa05b87e5f /src/view
parent2cfe2c611be63ae4541abf4e13cfecff0f008f25 (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/view')
-rw-r--r--src/view/RBAAllInstanceOfArea.cpp4
-rw-r--r--src/view/RBAAllInstanceOfArea.hpp2
-rw-r--r--src/view/RBAAllInstanceOfViewContent.cpp4
-rw-r--r--src/view/RBAAllInstanceOfViewContent.hpp2
-rw-r--r--src/view/RBADisplayingContent.cpp4
-rw-r--r--src/view/RBADisplayingContent.hpp2
-rw-r--r--src/view/RBAIsDisplayed.cpp4
-rw-r--r--src/view/RBAIsDisplayed.hpp2
-rw-r--r--src/view/RBAIsHidden.cpp4
-rw-r--r--src/view/RBAIsHidden.hpp2
-rw-r--r--src/view/RBAIsVisible.cpp4
-rw-r--r--src/view/RBAIsVisible.hpp2
12 files changed, 18 insertions, 18 deletions
diff --git a/src/view/RBAAllInstanceOfArea.cpp b/src/view/RBAAllInstanceOfArea.cpp
index 032cc90..2b43baf 100644
--- a/src/view/RBAAllInstanceOfArea.cpp
+++ b/src/view/RBAAllInstanceOfArea.cpp
@@ -20,7 +20,7 @@
#include "RBAAllInstanceOfArea.hpp"
#include "RBAAreaImpl.hpp"
-#include "RBAArbitrator.hpp"
+#include "RBAArbitratorImpl.hpp"
#include "RBAExpressionVisitor.hpp"
#include "RBAModelImpl.hpp"
#include "RBAModelElementType.hpp"
@@ -45,7 +45,7 @@ RBAAllInstanceOfArea::getModelElementType() const
const RBARuleObject*
RBAAllInstanceOfArea::getReferenceObjectCore(RBAConstraintInfo* info,
- RBAArbitrator* arb) const
+ RBAArbitratorImpl* arb) const
{
return &allAreaSet_;
}
diff --git a/src/view/RBAAllInstanceOfArea.hpp b/src/view/RBAAllInstanceOfArea.hpp
index b2ffaa7..aa04f0b 100644
--- a/src/view/RBAAllInstanceOfArea.hpp
+++ b/src/view/RBAAllInstanceOfArea.hpp
@@ -39,7 +39,7 @@ class DLL_EXPORT RBAAllInstanceOfArea : public RBASetExpression
void accept(RBAExpressionVisitor& visitor) override;
RBAModelElementType getModelElementType() const override;
const RBARuleObject* getReferenceObjectCore(RBAConstraintInfo* info,
- RBAArbitrator* arb) const override;
+ RBAArbitratorImpl* arb) const override;
void setAreas(const std::list<const RBAAreaImpl*>& areas);
// Log
diff --git a/src/view/RBAAllInstanceOfViewContent.cpp b/src/view/RBAAllInstanceOfViewContent.cpp
index 7620410..9e036ac 100644
--- a/src/view/RBAAllInstanceOfViewContent.cpp
+++ b/src/view/RBAAllInstanceOfViewContent.cpp
@@ -19,7 +19,7 @@
#include "RBAAllInstanceOfViewContent.hpp"
#include "RBAViewContentImpl.hpp"
-#include "RBAArbitrator.hpp"
+#include "RBAArbitratorImpl.hpp"
#include "RBAExpressionVisitor.hpp"
#include "RBAModelImpl.hpp"
#include "RBAModelElementType.hpp"
@@ -44,7 +44,7 @@ RBAAllInstanceOfViewContent::getModelElementType() const
const RBARuleObject*
RBAAllInstanceOfViewContent::getReferenceObjectCore(RBAConstraintInfo* info,
- RBAArbitrator* arb) const
+ RBAArbitratorImpl* arb) const
{
return &allViewContentSet_;
}
diff --git a/src/view/RBAAllInstanceOfViewContent.hpp b/src/view/RBAAllInstanceOfViewContent.hpp
index 214a070..3758bbe 100644
--- a/src/view/RBAAllInstanceOfViewContent.hpp
+++ b/src/view/RBAAllInstanceOfViewContent.hpp
@@ -39,7 +39,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 RBAViewContentImpl*>& contents);
// Log
diff --git a/src/view/RBADisplayingContent.cpp b/src/view/RBADisplayingContent.cpp
index 003e3c3..b91d4bc 100644
--- a/src/view/RBADisplayingContent.cpp
+++ b/src/view/RBADisplayingContent.cpp
@@ -19,7 +19,7 @@
#include "RBADisplayingContent.hpp"
#include "RBAAllocatable.hpp"
-#include "RBAArbitrator.hpp"
+#include "RBAArbitratorImpl.hpp"
#include "RBAContent.hpp"
#include "RBAContentState.hpp"
#include "RBAExpressionVisitor.hpp"
@@ -49,7 +49,7 @@ RBADisplayingContent::getModelElementType() const
const RBARuleObject*
RBADisplayingContent::getReferenceObjectCore(RBAConstraintInfo* info,
- RBAArbitrator* arb) const
+ RBAArbitratorImpl* arb) const
{
const RBARuleObject* object {nullptr};
const auto leftInfo = info->getChild(0U);
diff --git a/src/view/RBADisplayingContent.hpp b/src/view/RBADisplayingContent.hpp
index 0bcbf5a..582d849 100644
--- a/src/view/RBADisplayingContent.hpp
+++ b/src/view/RBADisplayingContent.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
diff --git a/src/view/RBAIsDisplayed.cpp b/src/view/RBAIsDisplayed.cpp
index 34a445d..7658d71 100644
--- a/src/view/RBAIsDisplayed.cpp
+++ b/src/view/RBAIsDisplayed.cpp
@@ -21,7 +21,7 @@
#include "RBAAllocatable.hpp"
#include "RBARuleObject.hpp"
#include "RBAContentState.hpp"
-#include "RBAArbitrator.hpp"
+#include "RBAArbitratorImpl.hpp"
#include "RBAResultImpl.hpp"
#include "RBAContent.hpp"
#include "RBAExpressionVisitor.hpp"
@@ -46,7 +46,7 @@ RBAIsDisplayed::getModelElementType() const
bool
RBAIsDisplayed::executeCore(RBAConstraintInfo* info,
- RBAArbitrator* arb) const
+ RBAArbitratorImpl* arb) const
{
bool isPassed {false};
// Add itself to the constraint hierarchy for coverage.
diff --git a/src/view/RBAIsDisplayed.hpp b/src/view/RBAIsDisplayed.hpp
index a991588..f265e9c 100644
--- a/src/view/RBAIsDisplayed.hpp
+++ b/src/view/RBAIsDisplayed.hpp
@@ -38,7 +38,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/view/RBAIsHidden.cpp b/src/view/RBAIsHidden.cpp
index f33c3ed..eeea2ab 100644
--- a/src/view/RBAIsHidden.cpp
+++ b/src/view/RBAIsHidden.cpp
@@ -17,7 +17,7 @@
#include "RBAIsHidden.hpp"
-#include "RBAArbitrator.hpp"
+#include "RBAArbitratorImpl.hpp"
#include "RBAAllocatable.hpp"
#include "RBAExpressionVisitor.hpp"
#include "RBAResultImpl.hpp"
@@ -42,7 +42,7 @@ RBAIsHidden::getModelElementType() const
bool
RBAIsHidden::executeCore(RBAConstraintInfo* info,
- RBAArbitrator* arb) const
+ RBAArbitratorImpl* arb) const
{
bool isPassed {false};
// Add itself to the constraint hierarchy for coverage.
diff --git a/src/view/RBAIsHidden.hpp b/src/view/RBAIsHidden.hpp
index ab33826..fa06cf6 100644
--- a/src/view/RBAIsHidden.hpp
+++ b/src/view/RBAIsHidden.hpp
@@ -39,7 +39,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/view/RBAIsVisible.cpp b/src/view/RBAIsVisible.cpp
index 8ebfac7..432a3ad 100644
--- a/src/view/RBAIsVisible.cpp
+++ b/src/view/RBAIsVisible.cpp
@@ -16,7 +16,7 @@
/// IsVisible class
#include "RBAAllocatable.hpp"
-#include "RBAArbitrator.hpp"
+#include "RBAArbitratorImpl.hpp"
#include "RBAConstraintInfo.hpp"
#include "RBAContent.hpp"
#include "RBAContentState.hpp"
@@ -44,7 +44,7 @@ RBAIsVisible::getModelElementType() const
bool
RBAIsVisible::executeCore(RBAConstraintInfo* info,
- RBAArbitrator* arb) const
+ RBAArbitratorImpl* arb) const
{
bool isPassed {false};
// Add itself to the constraint hierarchy for coverage.
diff --git a/src/view/RBAIsVisible.hpp b/src/view/RBAIsVisible.hpp
index a919519..8faee67 100644
--- a/src/view/RBAIsVisible.hpp
+++ b/src/view/RBAIsVisible.hpp
@@ -39,7 +39,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