cgma
|
#include <CommandFeedback.hpp>
Public Types | |
typedef const std::type_info & | Type |
Public Member Functions | |
CommandFeedback () | |
virtual | ~CommandFeedback () |
virtual Type | this_type () const =0 |
template<typename target_type > | |
target_type & | get_reference () |
template<typename target_type > | |
const target_type & | get_reference () const |
Definition at line 8 of file CommandFeedback.hpp.
typedef const std::type_info& CommandFeedback::Type |
Definition at line 11 of file CommandFeedback.hpp.
CommandFeedback::CommandFeedback | ( | ) | [inline] |
Definition at line 13 of file CommandFeedback.hpp.
{}
virtual CommandFeedback::~CommandFeedback | ( | ) | [inline, virtual] |
Definition at line 16 of file CommandFeedback.hpp.
{}
target_type& CommandFeedback::get_reference | ( | ) | [inline] |
Definition at line 22 of file CommandFeedback.hpp.
{ assert(this->this_type() == target_type::type()); return *(dynamic_cast<target_type*>(this)); }
const target_type& CommandFeedback::get_reference | ( | ) | const [inline] |
Definition at line 29 of file CommandFeedback.hpp.
{ assert(this->this_type() == target_type::type()); return *(dynamic_cast<const target_type*>(this)); }
virtual Type CommandFeedback::this_type | ( | ) | const [pure virtual] |
Implemented in DeprecatedCommandError.