Public Member Functions | Protected Member Functions | Protected Attributes
ContactHandler Class Reference

#include <ContactHandler.h>

Inheritance diagram for ContactHandler:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 ContactHandler ()
bool endOfSimulation ()
unsigned int getObjectType () const
void handleSimulation ()
void synchronize ()
 ~ContactHandler ()

Protected Member Functions

void _initialize ()

Protected Attributes

double _acquisitionFrequency
simFloat _lastPublishedContact
ros::Publisher _pub

Detailed Description

The contact handler.

It reports the dynamic-engine-reported contacts between all scene objects on a topic called "contacts".

Definition at line 12 of file ContactHandler.h.


Constructor & Destructor Documentation

Definition at line 14 of file ContactHandler.cpp.

Definition at line 20 of file ContactHandler.cpp.


Member Function Documentation

void ContactHandler::_initialize ( ) [protected, virtual]

Implements GenericObjectHandler.

Definition at line 85 of file ContactHandler.cpp.

bool ContactHandler::endOfSimulation ( ) [virtual]

Reimplemented from GenericObjectHandler.

Definition at line 119 of file ContactHandler.cpp.

unsigned int ContactHandler::getObjectType ( ) const [virtual]

Implements GenericObjectHandler.

Definition at line 23 of file ContactHandler.cpp.

Implements GenericObjectHandler.

Definition at line 31 of file ContactHandler.cpp.

void ContactHandler::synchronize ( ) [virtual]

Reimplemented from GenericObjectHandler.

Definition at line 27 of file ContactHandler.cpp.


Member Data Documentation

Publisher frequency

Definition at line 53 of file ContactHandler.h.

Time of the last published contact.

Definition at line 58 of file ContactHandler.h.

Publisher for the contact readings.

Definition at line 48 of file ContactHandler.h.


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


contact_handler
Author(s): Martin Pecka
autogenerated on Wed Sep 9 2015 18:54:58