Team Fortress 2 Source Code as on 22/4/2020
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines
967 B

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // The abstract base operator class - all actions within the scenegraph happen via operators
  4. //
  5. //=============================================================================
  6. #ifndef DMEOPERATOR_H
  7. #define DMEOPERATOR_H
  8. #ifdef _WIN32
  9. #pragma once
  10. #endif
  11. #include "datamodel/dmelement.h"
  12. #include "tier1/utlvector.h"
  13. //-----------------------------------------------------------------------------
  14. // A class representing a camera
  15. //-----------------------------------------------------------------------------
  16. class CDmeOperator : public IDmeOperator, public CDmElement
  17. {
  18. DEFINE_ELEMENT( CDmeOperator, CDmElement );
  19. public:
  20. virtual bool IsDirty(); // ie needs to operate
  21. virtual void Operate() {}
  22. virtual void GetInputAttributes ( CUtlVector< CDmAttribute * > &attrs ) {}
  23. virtual void GetOutputAttributes( CUtlVector< CDmAttribute * > &attrs ) {}
  24. };
  25. #endif // DMEOPERATOR_H