#include <GizmoEvent.hpp>
Public Member Functions | |
GizmoEventClass | getClass () |
Get the class of the Gizmo. | |
bool | isRemote () |
Get whether or not it's a remote event. | |
void | setIsRemote (bool IsRemote) |
Set whether or not it's a remote event. | |
GizmoEvent () | |
Serialize Constructor. | |
GizmoEvent (GizmoEventClass Class, bool IsRemote) | |
Default Constructor. | |
virtual | ~GizmoEvent () |
Destructor. | |
Protected Attributes | |
GizmoEventClass | mClass |
Class of the Gizmo. | |
bool | mIsRemote |
True if the event is a remote event. | |
Friends | |
class | boost::serialization::access |
This class is the base of all GizmoEvents attached to the system. Each gizmo must inherit this class
Definition at line 96 of file GizmoEvent.hpp.
GizmoEvent::GizmoEvent | ( | ) |
Serialize Constructor.
GizmoEvent Serialize Constructor.
Definition at line 58 of file GizmoEvent.cpp.
References Gizmod::GIZMO_EVENTCLASS_STANDARD, mClass, and mIsRemote.
GizmoEvent::GizmoEvent | ( | GizmoEventClass | Class, | |
bool | IsRemote | |||
) |
GizmoEvent::~GizmoEvent | ( | ) | [virtual] |
GizmoEventClass GizmoEvent::getClass | ( | ) |
bool GizmoEvent::isRemote | ( | ) |
Get whether or not it's a remote event.
Definition at line 91 of file GizmoEvent.cpp.
References mIsRemote.
void GizmoEvent::setIsRemote | ( | bool | IsRemote | ) |
Set whether or not it's a remote event.
IsRemote | True if the remote is from afar |
Definition at line 99 of file GizmoEvent.cpp.
References mIsRemote.