DDD  1.9.0.20240826145154
Public Member Functions | List of all members
fobs::DefaultObserver Class Reference
Inheritance diagram for fobs::DefaultObserver:
Inheritance graph
Collaboration diagram for fobs::DefaultObserver:
Collaboration graph

Public Member Functions

 DefaultObserver ()
 
bool should_interrupt (const GSDD &, const GSDD &)
 
bool should_interrupt (const GDDD &, const GDDD &)
 
bool was_interrupted () const
 
void update (const GSDD &, const GSDD &)
 
void update (const GDDD &, const GDDD &)
 

Constructor & Destructor Documentation

◆ DefaultObserver()

fobs::DefaultObserver::DefaultObserver ( )
inline

Member Function Documentation

◆ should_interrupt() [1/2]

bool fobs::DefaultObserver::should_interrupt ( const GDDD ,
const GDDD  
)
inlinevirtual

Implements fobs::FixObserver.

◆ should_interrupt() [2/2]

bool fobs::DefaultObserver::should_interrupt ( const GSDD after,
const GSDD before 
)
inlinevirtual
Warning
: if should_interrult() returns true, then it MUST return true at least until the next call to update(). The attribute is_interrupted is here for this purpose: it can be set to true only by should_interrupt and to false only by update, and is_interrupted => should_interrupt returns true

Implements fobs::FixObserver.

◆ update() [1/2]

void fobs::DefaultObserver::update ( const GDDD ,
const GDDD  
)
inlinevirtual

Implements fobs::FixObserver.

◆ update() [2/2]

void fobs::DefaultObserver::update ( const GSDD ,
const GSDD  
)
inlinevirtual

Implements fobs::FixObserver.

◆ was_interrupted()

bool fobs::DefaultObserver::was_interrupted ( ) const
inlinevirtual

Implements fobs::FixObserver.


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

Please comment this page and report errors about it on the RefDocComments page.
Generated on Mon Aug 26 2024 14:54:00 for DDD by doxygen 1.9.1