NTRT Simulator  Version: Master
 All Classes Namespaces Files Functions Variables Typedefs Friends Pages
BigPuppyController Class Reference
Inheritance diagram for BigPuppyController:
Collaboration diagram for BigPuppyController:

Public Member Functions

 BigPuppyController (double timestep)
 
virtual void onSetup (BigPuppy &subject)
 
virtual void onStep (BigPuppy &subject, double dt)
 
virtual void onTeardown (BigPuppy &subject)
 
virtual void onAttach (BigPuppy &subject)
 

Detailed Description

Definition at line 39 of file BigPuppyController.h.

Member Function Documentation

virtual void tgObserver< BigPuppy >::onAttach ( BigPuppy subject)
inlinevirtualinherited

Notify the observers when an attach action has occurred. Will only occur once, typically before setup

Parameters
[in,out]subjectthe subject being observed

Definition at line 55 of file tgObserver.h.

void BigPuppyController::onSetup ( BigPuppy subject)
virtual

Notify the observers when a setup action has occurred.

Parameters
[in,out]subjectthe subject being observed

Reimplemented from tgObserver< BigPuppy >.

Definition at line 52 of file BigPuppyController.cpp.

void BigPuppyController::onStep ( BigPuppy subject,
double  dt 
)
virtual

Notify the observers when a step action has occurred.

Parameters
[in,out]subjectthe subject being observed
[in]thenumber of seconds since the previous call; must be positive

Implements tgObserver< BigPuppy >.

Definition at line 56 of file BigPuppyController.cpp.

void BigPuppyController::onTeardown ( BigPuppy subject)
virtual

Notify the observers when a teardown action has occurred.

Parameters
[in,out]subjectthe subject being observed

Reimplemented from tgObserver< BigPuppy >.

Definition at line 70 of file BigPuppyController.cpp.


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