All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
typeNotice.h
1//
2// Copyright 2016 Pixar
3//
4// Licensed under the terms set forth in the LICENSE.txt file available at
5// https://openusd.org/license.
6//
7#ifndef PXR_BASE_TF_TYPE_NOTICE_H
8#define PXR_BASE_TF_TYPE_NOTICE_H
9
10#include "pxr/pxr.h"
11
12#include "pxr/base/tf/notice.h"
13#include "pxr/base/tf/type.h"
14
15PXR_NAMESPACE_OPEN_SCOPE
16
21{
22public:
25
27 TfType GetType() const { return _type; }
28
29private:
30 TfType _type;
31};
32
33PXR_NAMESPACE_CLOSE_SCOPE
34
35#endif // PXR_BASE_TF_TYPE_NOTICE_H
The base class for objects used to notify interested parties (listeners) when events have occurred.
Definition: notice.h:77
TfType represents a dynamic runtime type.
Definition: type.h:48
TfNotice sent after a TfType is declared.
Definition: typeNotice.h:21
TfType GetType() const
Get the newly declared TfType.
Definition: typeNotice.h:27