NTRT Simulator
Version: Master
|
#include <tgSenseable.h>
Public Member Functions | |
virtual std::vector < tgSenseable * > | getSenseableDescendants () const |
This class is used to abstract away the class of pointers that can be passed around in the tgSensors infrastructure. For now, it's really only tgModel that will inherit from it.
Definition at line 38 of file tgSenseable.h.
|
virtual |
In order to create sensors for a whole hierarchy of senseable objects, sense-able objects need to have references to thei children. This will be used in a tgDataManager's setup and step functions. For now, this 'should' be handled by tgModel's getDescendants function.
Return an empty vector of descendants. It's up to child classes to re-implement this.
Reimplemented in tgModel.
Definition at line 37 of file tgSenseable.cpp.