Kernel: Replace GetStaticHandleType by HANDLE_TYPE constants

This commit is contained in:
Yuri Kunde Schlesner 2014-12-21 08:40:29 -02:00
parent 73fba22c01
commit 23f2142009
8 changed files with 15 additions and 15 deletions

View file

@ -19,8 +19,8 @@ public:
std::string GetTypeName() const override { return "Event"; }
std::string GetName() const override { return name; }
static Kernel::HandleType GetStaticHandleType() { return Kernel::HandleType::Event; }
Kernel::HandleType GetHandleType() const override { return Kernel::HandleType::Event; }
static const HandleType HANDLE_TYPE = HandleType::Event;
HandleType GetHandleType() const override { return HANDLE_TYPE; }
ResetType intitial_reset_type; ///< ResetType specified at Event initialization
ResetType reset_type; ///< Current ResetType