56 tgRod* m_pRod = tgCast::cast<tgSenseable, tgRod>(pSenseable);
72 throw std::invalid_argument(
"pSenseable is NOT a tgRod, inside tgRodSensorInfo.");
75 std::vector<tgSensor*> newSensors;
78 newSensors.push_back(
new tgRodSensor( tgCast::cast<tgSenseable, tgRod>(pSenseable) ));
virtual std::vector< tgSensor * > createSensorsIfAppropriate(tgSenseable *pSenseable)
virtual bool isThisMySenseable(tgSenseable *pSenseable)
Utility class for class casting and filtering collections by type.
Constains definition of concrete class tgRodSensor.
Definition of concrete class tgRodSensorInfo.
Contains the definition of class tgRod.
Constains the implementation of mixin class tgSenseable.