A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
snake_case routing::NetPoint
[simgrid.git]
/
src
/
kernel
/
routing
/
NetPoint.cpp
diff --git
a/src/kernel/routing/NetPoint.cpp
b/src/kernel/routing/NetPoint.cpp
index
c15f13a
..
6a23274
100644
(file)
--- a/
src/kernel/routing/NetPoint.cpp
+++ b/
src/kernel/routing/NetPoint.cpp
@@
-13,17
+13,17
@@
namespace simgrid {
namespace kernel {
namespace routing {
namespace kernel {
namespace routing {
-simgrid::xbt::signal<void(NetPoint*)> NetPoint::on
C
reation;
+simgrid::xbt::signal<void(NetPoint*)> NetPoint::on
_c
reation;
NetPoint::NetPoint(std::string name, NetPoint::Type componentType, NetZoneImpl* netzone_p)
NetPoint::NetPoint(std::string name, NetPoint::Type componentType, NetZoneImpl* netzone_p)
- : name_(name), component_type_(componentType),
net
zone_(netzone_p)
+ : name_(name), component_type_(componentType),
englobing_
zone_(netzone_p)
{
if (netzone_p != nullptr)
{
if (netzone_p != nullptr)
- id_ = netzone_p->add
C
omponent(this);
+ id_ = netzone_p->add
_c
omponent(this);
else
id_ = static_cast<decltype(id_)>(-1);
else
id_ = static_cast<decltype(id_)>(-1);
- simgrid::s4u::Engine::get
Instance()->netpointR
egister(this);
- simgrid::kernel::routing::NetPoint::on
C
reation(this);
+ simgrid::s4u::Engine::get
_instance()->netpoint_r
egister(this);
+ simgrid::kernel::routing::NetPoint::on
_c
reation(this);
}
}
}
}
}
}
@@
-35,5
+35,5
@@
NetPoint::NetPoint(std::string name, NetPoint::Type componentType, NetZoneImpl*
*/
simgrid::kernel::routing::NetPoint* sg_netpoint_by_name_or_null(const char* name)
{
*/
simgrid::kernel::routing::NetPoint* sg_netpoint_by_name_or_null(const char* name)
{
- return simgrid::s4u::Engine::get
Instance()->getNetpointByNameOrN
ull(name);
+ return simgrid::s4u::Engine::get
_instance()->netpoint_by_name_or_n
ull(name);
}
}