HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
typeNotice.h
Go to the documentation of this file.
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 
16 
17 /// \class TfTypeWasDeclaredNotice
18 ///
19 /// TfNotice sent after a TfType is declared.
21 {
22 public:
24  virtual ~TfTypeWasDeclaredNotice();
25 
26  /// Get the newly declared TfType.
27  TfType GetType() const { return _type; }
28 
29 private:
30  TfType _type;
31 };
32 
34 
35 #endif // PXR_BASE_TF_TYPE_NOTICE_H
TfTypeWasDeclaredNotice(TfType t)
virtual ~TfTypeWasDeclaredNotice()
TfType GetType() const
Get the newly declared TfType.
Definition: typeNotice.h:27
GLdouble t
Definition: glad.h:2397
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
Definition: path.h:1425
#define PXR_NAMESPACE_CLOSE_SCOPE
Definition: pxr.h:74
Definition: type.h:47