ESP-IDF
ot::Router::GetCost() const
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading (2/5)...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
ot::Router::GetCost() const
ot::Router::GetCost() const method
Get the route cost to this router.
Syntax
Show:
Summary
Declaration
from
router.hpp:122
uint8_t
GetCost
(
void
)
const
;
Return value
The route cost to this router.
Examples
References
from
examples
Code
Location
Scope
Referrer
uint8_t
GetCost
(
void
)
const
{
return
mCost
;
}
router.hpp:122
mPathCost
=
aRouter
.
GetCost
(
)
;
router.cpp:49
ot::Router::Info
ot::Router::Info::SetFrom()
aPathCost
+=
router
->
GetCost
(
)
;
router_table.cpp:437
ot::RouterTable
ot::RouterTable::GetNextHopAndPathCost() const
uint8_t
nextHopPathCost
=
router
->
GetCost
(
)
+
GetLinkCost
(
*
nextHop
)
;
router_table.cpp:471
ot::RouterTable
ot::RouterTable::GetNextHopAndPathCost() const
uint8_t
curCost
=
router
->
GetCost
(
)
+
GetLinkCost
(
*
nextHop
)
;
router_table.cpp:650
ot::RouterTable
ot::RouterTable::UpdateRoutes()
Call Tree
from
examples
ot::Router::GetCost() const
is called by 3 functions:
ot::Router::Info::SetFrom()
ot::RouterTable::GetNextHopAndPathCost() const
ot::RouterTable::UpdateRoutes()
All items filtered out
ot::Router::GetCost() const
All items filtered out
Data Use
from
examples
ot::Router::GetCost() const
reads 1 variable:
ot::Router::mCost
All items filtered out
ot::Router::GetCost() const
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Lifecycle
from
examples
All items filtered out
All items filtered out