Public Member Functions | Private Member Functions | Static Private Attributes

LCM::FloatingPoint Class Reference

#include <FloatingPoint.h>

List of all members.

Public Member Functions

 FloatingPoint ()
virtual ~FloatingPoint ()
void trapInexact ()
void trapDivbyzero ()
void trapUnderflow ()
void trapOverflow ()
void trapInvalid ()

Private Member Functions

unsigned getCurrentMask ()
void setMask (unsigned mask)

Static Private Attributes

static bool active_ = false
static unsigned mask_
static unsigned oldMask_ = LCM::emptyMask_

Detailed Description

Definition at line 27 of file FloatingPoint.h.


Constructor & Destructor Documentation

LCM::FloatingPoint::FloatingPoint (  ) 

Definition at line 31 of file FloatingPoint.cc.

LCM::FloatingPoint::~FloatingPoint (  )  [virtual]

Definition at line 42 of file FloatingPoint.cc.


Member Function Documentation

void LCM::FloatingPoint::trapInexact (  ) 

Definition at line 207 of file FloatingPoint.cc.

void LCM::FloatingPoint::trapDivbyzero (  ) 

Definition at line 214 of file FloatingPoint.cc.

void LCM::FloatingPoint::trapUnderflow (  ) 

Definition at line 221 of file FloatingPoint.cc.

void LCM::FloatingPoint::trapOverflow (  ) 

Definition at line 228 of file FloatingPoint.cc.

void LCM::FloatingPoint::trapInvalid (  ) 

Definition at line 235 of file FloatingPoint.cc.

unsigned LCM::FloatingPoint::getCurrentMask (  )  [private]

Definition at line 242 of file FloatingPoint.cc.

void LCM::FloatingPoint::setMask ( unsigned  mask  )  [private]

Definition at line 251 of file FloatingPoint.cc.


Member Data Documentation

bool LCM::FloatingPoint::active_ = false [static, private]

Definition at line 43 of file FloatingPoint.h.

unsigned LCM::FloatingPoint::mask_ [static, private]

Definition at line 44 of file FloatingPoint.h.

unsigned LCM::FloatingPoint::oldMask_ = LCM::emptyMask_ [static, private]

Definition at line 45 of file FloatingPoint.h.


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