Castor3D  ..
Classes | Namespaces | Macros
Scene.hpp File Reference
+ Include dependency graph for Scene.hpp:
+ This graph shows which files directly or indirectly include this file:

Classes

class  Castor3D::Scene
 Scene handler class. More...
 
class  Castor3D::Scene::TextLoader
 Scene loader. More...
 
class  Castor3D::Scene::BinaryParser
 Sampler loader. More...
 

Namespaces

 Castor3D
 

Macros

#define DECLARE_MANAGER_MEMBER(memberName, className)
 
#define DECLARE_MANAGER_VIEW_MEMBER(memberName, className, eventType)
 
#define DECLARE_MANAGER_VIEW_MEMBER_EX(memberName, mgrName, className, eventType)
 

Macro Definition Documentation

◆ DECLARE_MANAGER_MEMBER

#define DECLARE_MANAGER_MEMBER (   memberName,
  className 
)
Value:
public:\
inline className##Manager & Get##className##Manager()\
{\
return *m_##memberName##Manager;\
}\
inline className##Manager const & Get##className##Manager()const\
{\
return *m_##memberName##Manager;\
}\
private:\
className##ManagerUPtr m_##memberName##Manager

◆ DECLARE_MANAGER_VIEW_MEMBER

#define DECLARE_MANAGER_VIEW_MEMBER (   memberName,
  className,
  eventType 
)
Value:
public:\
inline ManagerView< className, className##Manager, eventType > & Get##className##View()\
{\
return *m_##memberName##ManagerView;\
}\
inline ManagerView< className, className##Manager, eventType > const & Get##className##View()const\
{\
return *m_##memberName##ManagerView;\
}\
private:\
std::unique_ptr< ManagerView< className, className##Manager, eventType > > m_##memberName##ManagerView

◆ DECLARE_MANAGER_VIEW_MEMBER_EX

#define DECLARE_MANAGER_VIEW_MEMBER_EX (   memberName,
  mgrName,
  className,
  eventType 
)
Value:
public:\
inline ManagerView< className, mgrName##Manager, eventType > & Get##className##View()\
{\
return *m_##memberName##ManagerView;\
}\
inline ManagerView< className, mgrName##Manager, eventType > const & Get##className##View()const\
{\
return *m_##memberName##ManagerView;\
}\
private:\
std::unique_ptr< ManagerView< className, mgrName##Manager, eventType > > m_##memberName##ManagerView