#ifndef __JLANG__JREGULATOR__ #define __JLANG__JREGULATOR__ #include "JLang/JDefault.hh" /** * \author mdejong */ namespace JLANG {} namespace JPP { using namespace JLANG; } namespace JLANG { /** * Interface for controlling object throughput. */ class JRegulator : public JDefault { public: /** * Virtual destructor. */ virtual ~JRegulator() {} /** * Accept. * * \return true if accepted; else false */ virtual bool accept() const { return true; } }; } #endif