#include <discrete_contact.H>
Inherits EVENT.
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 |
|
|
|
|
|
Implements EVENT. |
|
Reimplemented from EVENT. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|