DART  6.10.1
dart::collision::CollisionGroup::CollisionSource< Source, Child >::ChildInfo Struct Reference

This is information pertaining to a child of the source. More...

#include <CollisionGroup.hpp>

Public Member Functions

 ChildInfo (const std::size_t version)
 A constructor that simply accepts a last known version number. More...
 

Public Attributes

std::size_t mLastKnownVersion
 Last known version of this child. More...
 
std::unordered_set< const dynamics::ShapeFrame * > mFrames
 Last known set of frames attached to this child. More...
 

Detailed Description

template<typename Source, typename Child = void>
struct dart::collision::CollisionGroup::CollisionSource< Source, Child >::ChildInfo

This is information pertaining to a child of the source.

In the current implementation, this only gets used by SkeletonSources.

Constructor & Destructor Documentation

◆ ChildInfo()

template<typename Source , typename Child = void>
dart::collision::CollisionGroup::CollisionSource< Source, Child >::ChildInfo::ChildInfo ( const std::size_t  version)
inlineexplicit

A constructor that simply accepts a last known version number.

Shape frames can be added later.

Member Data Documentation

◆ mFrames

template<typename Source , typename Child = void>
std::unordered_set<const dynamics::ShapeFrame*> dart::collision::CollisionGroup::CollisionSource< Source, Child >::ChildInfo::mFrames

Last known set of frames attached to this child.

◆ mLastKnownVersion

template<typename Source , typename Child = void>
std::size_t dart::collision::CollisionGroup::CollisionSource< Source, Child >::ChildInfo::mLastKnownVersion

Last known version of this child.