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

#include <collision_scene.h>

Collaboration diagram for exotica::AllowedCollisionMatrix:
Collaboration graph

Public Member Functions

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

Private Attributes

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

Constructor & Destructor Documentation

◆ AllowedCollisionMatrix() [1/2]

exotica::AllowedCollisionMatrix::AllowedCollisionMatrix ( )
inline

◆ ~AllowedCollisionMatrix()

exotica::AllowedCollisionMatrix::~AllowedCollisionMatrix ( )
inline

◆ AllowedCollisionMatrix() [2/2]

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

Member Function Documentation

◆ clear()

void exotica::AllowedCollisionMatrix::clear ( )
inline

◆ getAllEntryNames()

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

◆ getAllowedCollision()

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

◆ getNumberOfEntries()

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

◆ hasEntry()

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

◆ operator=()

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

◆ setEntry()

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

Member Data Documentation

◆ entries_

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

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