Ocular Engine
Ocular::Editor::SceneObjectFocusedEvent Class Reference

#include <SceneObjectFocusedEvent.hpp>

Inheritance diagram for Ocular::Editor::SceneObjectFocusedEvent:
Ocular::Core::AEvent Ocular::Core::Object Ocular::Core::ObjectIO Ocular::Core::Exposable Ocular::Core::Buildable

Public Member Functions

 SceneObjectFocusedEvent (Core::SceneObject *object)
 
- Public Member Functions inherited from Ocular::Core::AEvent
 AEvent (std::string name, Priority priority=Priority::Medium)
 
Priority getPriority () const
 
- Public Member Functions inherited from Ocular::Core::Object
 Object (std::string name, std::string className)
 Creates a new Object with the specified name and class. More...
 
 Object (std::string name)
 Creates a new Object with the specified name. More...
 
 Object ()
 Creates a new Object with the default name ('Name').
 
std::string const & getName () const
 
void setName (std::string name)
 Sets the name of the Object. More...
 
std::string const & getClass () const
 
void setUUID (std::string const &uuid)
 
UUID const & getUUID () const
 
int64_t getCreationTime () const
 
virtual std::string toString () const
 
template<class T >
bool isType ()
 
- Public Member Functions inherited from Ocular::Core::ObjectIO
virtual void onLoad (BuilderNode const *node) override
 
virtual void onSave (BuilderNode *node) const override
 
- Public Member Functions inherited from Ocular::Core::Exposable
void getAllExposedNames (std::vector< std::string > &names) const
 
bool getVariable (std::string const &name, ExposedVariable &var)
 
template<typename T >
bool getVariableValue (std::string const &name, T &var)
 
template<typename T >
bool setVariableValue (std::string const &name, T const &value)
 
virtual void onVariableModified (std::string const &varName)
 

Public Attributes

Core::SceneObjectobject
 

Additional Inherited Members

- Protected Member Functions inherited from Ocular::Core::Exposable
void exposeVariable (std::string const &name, std::string const &type, bool isPointer, bool isExposed, void *data)
 
- Protected Attributes inherited from Ocular::Core::Object
std::string m_Name
 
std::string m_Class
 
UUID m_UUID
 
const int64_t m_CreationTime
 
- Protected Attributes inherited from Ocular::Core::Exposable
std::unordered_map< std::string, ExposedVariablem_ExposedVariables
 

Detailed Description

Event generated when a SceneObject has been focused on. For example, when an object is double-clicked in the SceneTree widget.

See also SceneObjectSelectedEvent

String Descriptor: "SceneObjectFocusedEvent"
Event Priority: Medium

Constructor & Destructor Documentation

Ocular::Editor::SceneObjectFocusedEvent::SceneObjectFocusedEvent ( Core::SceneObject object)
Parameters
[in]objectPointer to object that was focused. Set to NULL to indicate previous object was unfocused.

The documentation for this class was generated from the following files: