12 using namespace ODemo;
36 vector<double> direction(2);
40 s1.
move(4, direction);
42 if (direction[0] == 1.0) {
void info() const override
Return identification info.
const char * what() const noexceptoverride
Return message text.
Comprehensive include file for all tracer classes.
Simple Exception root class.
Header for object tracer demo routines.
virtual void info() const
Get info.
int app_exception()
Demo prog for ctor/dtor features in class derivation.
void info() const override
Get info.
#define COMP_MISC_FUNCTION_TRACER
Macro for tracking function scope.
void move(double speed, std::vector< double > direction) override
Sailboat motion.
void info() const override
Display info on model and color of the bike.
#define COMP_MISC_LOG_TRACER(MSG)
Macro for inserting log message into tracker output at current severity level.
Comprehensive include file for all of objtracer.
Represents a simple Bicycle.
void info() const override
Get info.
#define COMP_MISC_BLOCK_TRACER(MSG)
Macro for tracking block scope.
void start_sinking()
Start sinking, even if you are already sinking.