#include <AnglesAttribute.h>
Public Types | |
typedef MemberCaller < AnglesAttribute,&AnglesAttribute::apply > | ApplyCaller |
typedef MemberCaller < AnglesAttribute,&AnglesAttribute::update > | UpdateCaller |
Public Member Functions | |
AnglesAttribute (const std::string &classname, const std::string &key) | |
GtkWidget * | getWidget () const |
void | apply (void) |
void | update (void) |
Private Attributes | |
std::string | m_classname |
std::string | m_key |
AnglesEntry | m_angles |
NonModalEntry | m_nonModal |
GtkBox * | m_hbox |
Definition at line 18 of file AnglesAttribute.h.
typedef MemberCaller<AnglesAttribute, &AnglesAttribute::apply> AnglesAttribute::ApplyCaller |
Definition at line 62 of file AnglesAttribute.h.
typedef MemberCaller<AnglesAttribute, &AnglesAttribute::update> AnglesAttribute::UpdateCaller |
Definition at line 91 of file AnglesAttribute.h.
AnglesAttribute::AnglesAttribute | ( | const std::string & | classname, | |
const std::string & | key | |||
) | [inline] |
Definition at line 26 of file AnglesAttribute.h.
References NonModalEntry::connect(), m_angles, m_hbox, m_nonModal, AnglesEntry::m_pitch, AnglesEntry::m_roll, AnglesEntry::m_yaw, and EntityAttribute::numeric_entry_new().
void AnglesAttribute::apply | ( | void | ) | [inline] |
Definition at line 55 of file AnglesAttribute.h.
References EntityAttribute::angle_normalised(), EntityAttribute::entitySetValue(), entry_get_float(), m_angles, m_classname, m_key, AnglesEntry::m_pitch, AnglesEntry::m_roll, and AnglesEntry::m_yaw.
GtkWidget* AnglesAttribute::getWidget | ( | ) | const [inline, virtual] |
void AnglesAttribute::update | ( | void | ) | [inline, virtual] |
Implements EntityAttribute.
Definition at line 64 of file AnglesAttribute.h.
References EntityAttribute::angle_normalised(), EntityAttribute::entityGetValueForKey(), m_angles, m_key, AnglesEntry::m_pitch, AnglesEntry::m_roll, AnglesEntry::m_yaw, string, BasicVector3< Element >::x(), BasicVector3< Element >::y(), and BasicVector3< Element >::z().
AnglesEntry AnglesAttribute::m_angles [private] |
Definition at line 22 of file AnglesAttribute.h.
Referenced by AnglesAttribute(), apply(), and update().
std::string AnglesAttribute::m_classname [private] |
Definition at line 20 of file AnglesAttribute.h.
Referenced by apply().
GtkBox* AnglesAttribute::m_hbox [private] |
Definition at line 24 of file AnglesAttribute.h.
Referenced by AnglesAttribute(), and getWidget().
std::string AnglesAttribute::m_key [private] |
Definition at line 21 of file AnglesAttribute.h.
NonModalEntry AnglesAttribute::m_nonModal [private] |
Definition at line 23 of file AnglesAttribute.h.
Referenced by AnglesAttribute().