summaryrefslogtreecommitdiffstats
path: root/src/core/model
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/core/model
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/core/model')
-rw-r--r--src/core/model/RBAConstraintImpl.cpp2
-rw-r--r--src/core/model/RBAConstraintImpl.hpp4
-rw-r--r--src/core/model/RBAContent.hpp2
3 files changed, 4 insertions, 4 deletions
diff --git a/src/core/model/RBAConstraintImpl.cpp b/src/core/model/RBAConstraintImpl.cpp
index a634621..2e27867 100644
--- a/src/core/model/RBAConstraintImpl.cpp
+++ b/src/core/model/RBAConstraintImpl.cpp
@@ -57,7 +57,7 @@ RBAConstraintImpl::isRuntime() const
}
bool
-RBAConstraintImpl::execute(RBAArbitrator* const arb)
+RBAConstraintImpl::execute(RBAArbitratorImpl* const arb)
{
LOG_arbitrateConstraintLogicLogLine(" constraint expression["
+ getExpression()->LOG_getExpressionText()
diff --git a/src/core/model/RBAConstraintImpl.hpp b/src/core/model/RBAConstraintImpl.hpp
index eb4d6ab..a70dfc2 100644
--- a/src/core/model/RBAConstraintImpl.hpp
+++ b/src/core/model/RBAConstraintImpl.hpp
@@ -27,7 +27,7 @@
namespace rba
{
-class RBAArbitrator;
+class RBAArbitratorImpl;
class DLL_EXPORT RBAConstraintImpl : public RBAConstraint,
public RBAAbstractConstraint
@@ -45,7 +45,7 @@ public:
std::string getName() const override;
bool isConstraint() const override;
bool isRuntime() const;
- bool execute(RBAArbitrator* const arb);
+ bool execute(RBAArbitratorImpl* const arb);
private:
bool runtime_ {RUNTIME_EDEFAULT};
diff --git a/src/core/model/RBAContent.hpp b/src/core/model/RBAContent.hpp
index 17e912c..47f1e3d 100644
--- a/src/core/model/RBAContent.hpp
+++ b/src/core/model/RBAContent.hpp
@@ -30,7 +30,7 @@
namespace rba
{
-class RBAArbitrator;
+class RBAArbitratorImpl;
class RBAAllocatable;
class RBAContentState;
class RBAResultImpl;