LCOV - code coverage report
Current view: top level - source/simulation2/components - CCmpObstructionManager.cpp (source / functions) Hit Total Coverage
Test: 0 A.D. test coverage report Lines: 258 673 38.3 %
Date: 2023-01-19 00:18:29 Functions: 34 70 48.6 %

Function Name Sort by function name Hit count Sort by hit count
CCmpObstructionManager::Deserialize(CParamNode const&, IDeserializer&) 0
CCmpObstructionManager::RemoveShape(ICmpObstructionManager::tag_t) 0
CCmpObstructionManager::RenderSubmit(SceneCollector&) 0
CCmpObstructionManager::HandleMessage(CMessage const&, bool) 0
CCmpObstructionManager::MakeDirtyDebug() 0
void CCmpObstructionManager::SerializeCommon<ISerializer>(ISerializer&) 0
void CCmpObstructionManager::SerializeCommon<IDeserializer>(IDeserializer&) 0
CCmpObstructionManager::SetDebugOverlay(bool) 0
CCmpObstructionManager::SetUnitMovingFlag(ICmpObstructionManager::tag_t, bool) 0
CCmpObstructionManager::UpdateInformations(GridUpdateInformation&) 0
CCmpObstructionManager::SetUnitControlGroup(ICmpObstructionManager::tag_t, unsigned int) 0
CCmpObstructionManager::SetPassabilityCircular(bool) 0
CCmpObstructionManager::MoveShape(ICmpObstructionManager::tag_t, CFixed<int, 2147483647, 32, 15, 16, 65536>, CFixed<int, 2147483647, 32, 15, 16, 65536>, CFixed<int, 2147483647, 32, 15, 16, 65536>) 0
CCmpObstructionManager::Rasterize(Grid<unsigned short>&, std::vector<PathfinderPassability, std::allocator<PathfinderPassability> > const&, bool) 0
CCmpObstructionManager::Serialize(ISerializer&) 0
void SerializeHelper<(anonymous namespace)::StaticShape, void>::operator()<ISerializer>(ISerializer&, char const*, std::conditional<is_same_v<ISerializer, ISerializer&>, (anonymous namespace)::StaticShape const&, (anonymous namespace)::StaticShape&>::type) const 0
void SerializeHelper<(anonymous namespace)::StaticShape, void>::operator()<IDeserializer>(IDeserializer&, char const*, std::conditional<is_same_v<IDeserializer, ISerializer&>, (anonymous namespace)::StaticShape const&, (anonymous namespace)::StaticShape&>::type) const 0
void SerializeHelper<(anonymous namespace)::UnitShape, void>::operator()<ISerializer>(ISerializer&, char const*, std::conditional<is_same_v<ISerializer, ISerializer&>, (anonymous namespace)::UnitShape const&, (anonymous namespace)::UnitShape&>::type) const 0
void SerializeHelper<(anonymous namespace)::UnitShape, void>::operator()<IDeserializer>(IDeserializer&, char const*, std::conditional<is_same_v<IDeserializer, ISerializer&>, (anonymous namespace)::UnitShape const&, (anonymous namespace)::UnitShape&>::type) const 0
CCmpObstructionManager::IsInPointRange(unsigned int, CFixed<int, 2147483647, 32, 15, 16, 65536>, CFixed<int, 2147483647, 32, 15, 16, 65536>, CFixed<int, 2147483647, 32, 15, 16, 65536>, CFixed<int, 2147483647, 32, 15, 16, 65536>, bool) const 0
CCmpObstructionManager::DistanceToPoint(unsigned int, CFixed<int, 2147483647, 32, 15, 16, 65536>, CFixed<int, 2147483647, 32, 15, 16, 65536>) const 0
CCmpObstructionManager::RasterizeHelper(Grid<unsigned short>&, unsigned char, bool, unsigned short, CFixed<int, 2147483647, 32, 15, 16, 65536>) const 0
CCmpObstructionManager::AreShapesInRange(ICmpObstructionManager::ObstructionSquare const&, ICmpObstructionManager::ObstructionSquare const&, CFixed<int, 2147483647, 32, 15, 16, 65536>, CFixed<int, 2147483647, 32, 15, 16, 65536>, bool) const 0
CCmpObstructionManager::GetComponentTypeId() const 0
CCmpObstructionManager::MaxDistanceToPoint(unsigned int, CFixed<int, 2147483647, 32, 15, 16, 65536>, CFixed<int, 2147483647, 32, 15, 16, 65536>) const 0
CCmpObstructionManager::IsPointInPointRange(CFixed<int, 2147483647, 32, 15, 16, 65536>, CFixed<int, 2147483647, 32, 15, 16, 65536>, CFixed<int, 2147483647, 32, 15, 16, 65536>, CFixed<int, 2147483647, 32, 15, 16, 65536>, CFixed<int, 2147483647, 32, 15, 16, 65536>, CFixed<int, 2147483647, 32, 15, 16, 65536>) const 0
CCmpObstructionManager::GetUnitsOnObstruction(ICmpObstructionManager::ObstructionSquare const&, std::vector<unsigned int, std::allocator<unsigned int> >&, IObstructionTestFilter const&, bool) const 0
CCmpObstructionManager::GetObstructionsInRange(IObstructionTestFilter const&, CFixed<int, 2147483647, 32, 15, 16, 65536>, CFixed<int, 2147483647, 32, 15, 16, 65536>, CFixed<int, 2147483647, 32, 15, 16, 65536>, CFixed<int, 2147483647, 32, 15, 16, 65536>, std::vector<ICmpObstructionManager::ObstructionSquare, std::allocator<ICmpObstructionManager::ObstructionSquare> >&) const 0
CCmpObstructionManager::GetPassabilityCircular() const 0
CCmpObstructionManager::GetUnitShapeObstruction(CFixed<int, 2147483647, 32, 15, 16, 65536>, CFixed<int, 2147483647, 32, 15, 16, 65536>, CFixed<int, 2147483647, 32, 15, 16, 65536>) const 0
CCmpObstructionManager::IsInTargetParabolicRange(unsigned int, unsigned int, CFixed<int, 2147483647, 32, 15, 16, 65536>, CFixed<int, 2147483647, 32, 15, 16, 65536>, CFixed<int, 2147483647, 32, 15, 16, 65536>, bool) const 0
CCmpObstructionManager::GetStaticShapeObstruction(CFixed<int, 2147483647, 32, 15, 16, 65536>, CFixed<int, 2147483647, 32, 15, 16, 65536>, CFixed<int, 2147483647, 32, 15, 16, 65536>, CFixed<int, 2147483647, 32, 15, 16, 65536>, CFixed<int, 2147483647, 32, 15, 16, 65536>) const 0
CCmpObstructionManager::GetUnitObstructionsInRange(IObstructionTestFilter const&, CFixed<int, 2147483647, 32, 15, 16, 65536>, CFixed<int, 2147483647, 32, 15, 16, 65536>, CFixed<int, 2147483647, 32, 15, 16, 65536>, CFixed<int, 2147483647, 32, 15, 16, 65536>, std::vector<ICmpObstructionManager::ObstructionSquare, std::allocator<ICmpObstructionManager::ObstructionSquare> >&) const 0
CCmpObstructionManager::GetStaticObstructionsInRange(IObstructionTestFilter const&, CFixed<int, 2147483647, 32, 15, 16, 65536>, CFixed<int, 2147483647, 32, 15, 16, 65536>, CFixed<int, 2147483647, 32, 15, 16, 65536>, CFixed<int, 2147483647, 32, 15, 16, 65536>, std::vector<ICmpObstructionManager::ObstructionSquare, std::allocator<ICmpObstructionManager::ObstructionSquare> >&) const 0
CCmpObstructionManager::GetStaticObstructionsOnObstruction(ICmpObstructionManager::ObstructionSquare const&, std::vector<unsigned int, std::allocator<unsigned int> >&, IObstructionTestFilter const&) const 0
CCmpObstructionManager::TestLine(IObstructionTestFilter const&, CFixed<int, 2147483647, 32, 15, 16, 65536>, CFixed<int, 2147483647, 32, 15, 16, 65536>, CFixed<int, 2147483647, 32, 15, 16, 65536>, CFixed<int, 2147483647, 32, 15, 16, 65536>, CFixed<int, 2147483647, 32, 15, 16, 65536>, bool) const 0
_GLOBAL__sub_I_CCmpObstructionManager.cpp 1
__static_initialization_and_destruction_0(int, int) 1
CCmpObstructionManager::SetStaticControlGroup(ICmpObstructionManager::tag_t, unsigned int, unsigned int) 2
CCmpObstructionManager::GetObstruction(ICmpObstructionManager::tag_t) const 8
CCmpObstructionManager::MakeDirtyAll() 9
CCmpObstructionManager::SetBounds(CFixed<int, 2147483647, 32, 15, 16, 65536>, CFixed<int, 2147483647, 32, 15, 16, 65536>, CFixed<int, 2147483647, 32, 15, 16, 65536>, CFixed<int, 2147483647, 32, 15, 16, 65536>) 9
CCmpObstructionManager::IsInTargetRange(unsigned int, unsigned int, CFixed<int, 2147483647, 32, 15, 16, 65536>, CFixed<int, 2147483647, 32, 15, 16, 65536>, bool) const 10
CCmpObstructionManager::MaxDistanceToTarget(unsigned int, unsigned int) const 11
CCmpObstructionManager::MaxDistanceBetweenShapes(ICmpObstructionManager::ObstructionSquare const&, ICmpObstructionManager::ObstructionSquare const&) const 11
(anonymous namespace)::StaticShape::StaticShape() 12
CCmpObstructionManager::Deallocate(IComponent*) 12
CCmpObstructionManager::AddStaticShape(unsigned int, CFixed<int, 2147483647, 32, 15, 16, 65536>, CFixed<int, 2147483647, 32, 15, 16, 65536>, CFixed<int, 2147483647, 32, 15, 16, 65536>, CFixed<int, 2147483647, 32, 15, 16, 65536>, CFixed<int, 2147483647, 32, 15, 16, 65536>, unsigned char, unsigned int, unsigned int) 12
CCmpObstructionManager::MakeDirtyStatic(unsigned char, unsigned int, (anonymous namespace)::StaticShape const&) 12
CCmpObstructionManager::Init(CParamNode const&) 12
CCmpObstructionManager::Deinit() 12
CCmpObstructionManager::Allocate(ScriptInterface const&, JS::Handle<JS::Value>) 12
CCmpObstructionManager::CCmpObstructionManager() 12
CCmpObstructionManager::~CCmpObstructionManager() 12
CCmpObstructionManager::~CCmpObstructionManager().2 12
CCmpObstructionManager::TestUnitShape(IObstructionTestFilter const&, CFixed<int, 2147483647, 32, 15, 16, 65536>, CFixed<int, 2147483647, 32, 15, 16, 65536>, CFixed<int, 2147483647, 32, 15, 16, 65536>, std::vector<unsigned int, std::allocator<unsigned int> >*) const 16
CCmpObstructionManager::TestStaticShape(IObstructionTestFilter const&, CFixed<int, 2147483647, 32, 15, 16, 65536>, CFixed<int, 2147483647, 32, 15, 16, 65536>, CFixed<int, 2147483647, 32, 15, 16, 65536>, CFixed<int, 2147483647, 32, 15, 16, 65536>, CFixed<int, 2147483647, 32, 15, 16, 65536>, std::vector<unsigned int, std::allocator<unsigned int> >*) const 16
CCmpObstructionManager::IsInWorld(CFixed<int, 2147483647, 32, 15, 16, 65536>, CFixed<int, 2147483647, 32, 15, 16, 65536>, CFixed<int, 2147483647, 32, 15, 16, 65536>) const 16
(anonymous namespace)::UnitShape::UnitShape() 18
CCmpObstructionManager::AddUnitShape(unsigned int, CFixed<int, 2147483647, 32, 15, 16, 65536>, CFixed<int, 2147483647, 32, 15, 16, 65536>, CFixed<int, 2147483647, 32, 15, 16, 65536>, unsigned char, unsigned int) 18
CCmpObstructionManager::MakeDirtyUnit(unsigned char, unsigned int, (anonymous namespace)::UnitShape const&) 18
CCmpObstructionManager::MarkDirtinessGrid(CFixed<int, 2147483647, 32, 15, 16, 65536> const&, CFixed<int, 2147483647, 32, 15, 16, 65536> const&, CFixed<int, 2147483647, 32, 15, 16, 65536> const&) 18
CCmpObstructionManager::MarkDirtinessGrid(CFixed<int, 2147483647, 32, 15, 16, 65536> const&, CFixed<int, 2147483647, 32, 15, 16, 65536> const&, CFixedVector2D const&) 19
CCmpObstructionManager::DistanceToTarget(unsigned int, unsigned int) const 20
CCmpObstructionManager::DistanceBetweenShapes(ICmpObstructionManager::ObstructionSquare const&, ICmpObstructionManager::ObstructionSquare const&) const 20
CCmpObstructionManager::ResetSubdivisions(CFixed<int, 2147483647, 32, 15, 16, 65536>, CFixed<int, 2147483647, 32, 15, 16, 65536>) 21
CCmpObstructionManager::IsInWorld(CFixedVector2D const&) const 64
RegisterComponentType_ObstructionManager(CComponentManager&) 116
CCmpObstructionManager::ClassInit(CComponentManager&) 116
CCmpObstructionManager::GetSchema[abi:cxx11]() 116

Generated by: LCOV version 1.13