Workspace 7.0.2
Classes | Namespaces | Macros
sceneitemtypesingletontraits.h File Reference
#include <QCoreApplication>
Include dependency graph for sceneitemtypesingletontraits.h:
This graph shows which files directly or indirectly include this file:

Classes

class  SceneItemTypeSingletonTraits< Derived >
 SceneItemType singleton class template. More...
 

Namespaces

namespace  CSIRO
 Top level namespace for all Workspace code.
 
namespace  CSIRO::Rendering
 Rendering of meshed models.
 

Macros

#define DECLARE_SCENEITEM_TYPE(T, WORKSPACE_EXPORT_SYMBOL)
 

Macro Definition Documentation

◆ DECLARE_SCENEITEM_TYPE

#define DECLARE_SCENEITEM_TYPE (   T,
  WORKSPACE_EXPORT_SYMBOL 
)
Value:
namespace CSIRO \
{ \
namespace Rendering \
{ \
template<> \
WORKSPACE_EXPORT_SYMBOL const T& SceneItemTypeSingletonTraits<T>::getInstance(); \
} \
}
Top level namespace for all Workspace code.
Definition: applicationsupportplugin.cpp:32

This macro is analogous to the DECLARE_WORKSPACE_OPERATION_FACTORY macro. See its detailed description for why we also need a similar macro for SceneItemTypeSingletons.