state-observation 1.8.0
General implementation of observers.
Loading...
Searching...
No Matches
stateObservation::measurements::Contact Struct Reference

#include <Contact.hpp>

Inheritance diagram for stateObservation::measurements::Contact:
[legend]
Collaboration diagram for stateObservation::measurements::Contact:
[legend]

Public Member Functions

 Contact (unsigned id, std::string_view surfaceName)
virtual void resetContact () noexcept
unsigned id () const noexcept
const std::string & surfaceName () const noexcept
bool isSet () const noexcept
bool wasAlreadySet () const noexcept
void isSet (bool isSet)
void wasAlreadySet (bool wasAlreadySet)

Protected Member Functions

bool operator< (const Contact &rhs) const noexcept

Protected Attributes

unsigned id_ = 0
bool isSet_ = false
bool wasAlreadySet_ = false
std::string surface_

Detailed Description

Object making easier the handling of contacts within the observers.

Definition at line 14 of file Contact.hpp.

Constructor & Destructor Documentation

◆ Contact()

stateObservation::measurements::Contact::Contact ( unsigned id,
std::string_view surfaceName )
inline

Definition at line 17 of file Contact.hpp.

Member Function Documentation

◆ operator<()

bool stateObservation::measurements::Contact::operator< ( const Contact & rhs) const
inlineprotectednoexcept

Definition at line 21 of file Contact.hpp.

◆ resetContact()

virtual void stateObservation::measurements::Contact::resetContact ( )
inlinevirtualnoexcept

Definition at line 27 of file Contact.hpp.

◆ id()

unsigned stateObservation::measurements::Contact::id ( ) const
inlinenoexcept

Definition at line 33 of file Contact.hpp.

◆ surfaceName()

const std::string & stateObservation::measurements::Contact::surfaceName ( ) const
inlinenoexcept

Definition at line 38 of file Contact.hpp.

◆ isSet() [1/2]

bool stateObservation::measurements::Contact::isSet ( ) const
inlinenoexcept

Definition at line 42 of file Contact.hpp.

◆ wasAlreadySet() [1/2]

bool stateObservation::measurements::Contact::wasAlreadySet ( ) const
inlinenoexcept

Definition at line 46 of file Contact.hpp.

◆ isSet() [2/2]

void stateObservation::measurements::Contact::isSet ( bool isSet)
inline

Definition at line 51 of file Contact.hpp.

◆ wasAlreadySet() [2/2]

void stateObservation::measurements::Contact::wasAlreadySet ( bool wasAlreadySet)
inline

Definition at line 55 of file Contact.hpp.

Member Data Documentation

◆ id_

unsigned stateObservation::measurements::Contact::id_ = 0
protected

Definition at line 61 of file Contact.hpp.

◆ isSet_

bool stateObservation::measurements::Contact::isSet_ = false
protected

Definition at line 63 of file Contact.hpp.

◆ wasAlreadySet_

bool stateObservation::measurements::Contact::wasAlreadySet_ = false
protected

Definition at line 64 of file Contact.hpp.

◆ surface_

std::string stateObservation::measurements::Contact::surface_
protected

Definition at line 65 of file Contact.hpp.


The documentation for this struct was generated from the following file:
  • /build/source/include/state-observation/tools/measurements-manager/Contact.hpp