Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

EVENTdiscrete_contact Class Reference

#include <discrete_contact.H>

Inherits EVENT.

List of all members.

Public Types

typedef unsigned long bits

Public Methods

 EVENTdiscrete_contact (EVENTsource *s, const ARRAY< bits > &o, const ARRAY< bits > &n)
const ARRAY< bits > & oldstate () const
const ARRAY< bits > & newstate () const
bool testmaskold (const bits &mask, const bits &result) const
bool testmasknew (const bits &mask, const bits &result) const
 DEFINE_DERIVED_TYPE (EVENTdiscrete_contact, EVENT, cEVENTptr)

Protected Methods

bool testmask (const ARRAY< bits > &s, const bits &m, const bits &r) const
virtual bool compare (cEVENTptr &e) const
virtual void debug_data (ostream &o) const

Protected Attributes

ARRAY< bits_oldstate
ARRAY< bits_newstate


Member Typedef Documentation

typedef unsigned long EVENTdiscrete_contact::bits
 


Constructor & Destructor Documentation

EVENTdiscrete_contact::EVENTdiscrete_contact EVENTsource   s,
const ARRAY< bits > &    o,
const ARRAY< bits > &    n
[inline]
 


Member Function Documentation

virtual bool EVENTdiscrete_contact::compare cEVENTptr &    e const [inline, protected, virtual]
 

Implements EVENT.

virtual void EVENTdiscrete_contact::debug_data ostream &    o const [inline, protected, virtual]
 

Reimplemented from EVENT.

EVENTdiscrete_contact::DEFINE_DERIVED_TYPE EVENTdiscrete_contact   ,
EVENT   ,
cEVENTptr   
 

const ARRAY<bits>& EVENTdiscrete_contact::newstate   const [inline]
 

const ARRAY<bits>& EVENTdiscrete_contact::oldstate   const [inline]
 

bool EVENTdiscrete_contact::testmask const ARRAY< bits > &    s,
const bits   m,
const bits   r
const [inline, protected]
 

bool EVENTdiscrete_contact::testmasknew const bits   mask,
const bits   result
const [inline]
 

bool EVENTdiscrete_contact::testmaskold const bits   mask,
const bits   result
const [inline]
 


Member Data Documentation

ARRAY<bits> EVENTdiscrete_contact::_newstate [protected]
 

ARRAY<bits> EVENTdiscrete_contact::_oldstate [protected]
 


The documentation for this class was generated from the following file:
Generated on Mon Sep 15 16:26:00 2003 for gluebase by doxygen1.2.18