Public Member Functions | Private Attributes | List of all members
exotica::AllowedCollisionMatrix Class Reference

#include <collision_scene.h>

Public Member Functions

 AllowedCollisionMatrix ()
 
 AllowedCollisionMatrix (const AllowedCollisionMatrix &acm)
 
void clear ()
 
void getAllEntryNames (std::vector< std::string > &names) const
 
bool getAllowedCollision (const std::string &name1, const std::string &name2) const
 
size_t getNumberOfEntries () const
 
bool hasEntry (const std::string &name) const
 
AllowedCollisionMatrixoperator= (const AllowedCollisionMatrix &other)
 
void setEntry (const std::string &name1, const std::string &name2)
 
 ~AllowedCollisionMatrix ()
 

Private Attributes

std::unordered_map< std::string, std::unordered_set< std::string > > entries_
 

Detailed Description

Definition at line 50 of file collision_scene.h.

Constructor & Destructor Documentation

exotica::AllowedCollisionMatrix::AllowedCollisionMatrix ( )
inline

Definition at line 53 of file collision_scene.h.

exotica::AllowedCollisionMatrix::~AllowedCollisionMatrix ( )
inline

Definition at line 54 of file collision_scene.h.

exotica::AllowedCollisionMatrix::AllowedCollisionMatrix ( const AllowedCollisionMatrix acm)
inline

Definition at line 55 of file collision_scene.h.

Member Function Documentation

void exotica::AllowedCollisionMatrix::clear ( )
inline

Definition at line 64 of file collision_scene.h.

void exotica::AllowedCollisionMatrix::getAllEntryNames ( std::vector< std::string > &  names) const
inline

Definition at line 67 of file collision_scene.h.

bool exotica::AllowedCollisionMatrix::getAllowedCollision ( const std::string &  name1,
const std::string &  name2 
) const
inline

Definition at line 76 of file collision_scene.h.

size_t exotica::AllowedCollisionMatrix::getNumberOfEntries ( ) const
inline

Definition at line 75 of file collision_scene.h.

bool exotica::AllowedCollisionMatrix::hasEntry ( const std::string &  name) const
inline

Definition at line 65 of file collision_scene.h.

AllowedCollisionMatrix& exotica::AllowedCollisionMatrix::operator= ( const AllowedCollisionMatrix other)
inline

Definition at line 56 of file collision_scene.h.

void exotica::AllowedCollisionMatrix::setEntry ( const std::string &  name1,
const std::string &  name2 
)
inline

Definition at line 66 of file collision_scene.h.

Member Data Documentation

std::unordered_map<std::string, std::unordered_set<std::string> > exotica::AllowedCollisionMatrix::entries_
private

Definition at line 84 of file collision_scene.h.


The documentation for this class was generated from the following file:


exotica_core
Author(s): Yiming Yang, Michael Camilleri
autogenerated on Sat Apr 10 2021 02:34:50