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
34 lines
967 B
//========= Copyright Valve Corporation, All rights reserved. ============// |
|
// |
|
// The abstract base operator class - all actions within the scenegraph happen via operators |
|
// |
|
//============================================================================= |
|
|
|
#ifndef DMEOPERATOR_H |
|
#define DMEOPERATOR_H |
|
#ifdef _WIN32 |
|
#pragma once |
|
#endif |
|
|
|
#include "datamodel/dmelement.h" |
|
|
|
#include "tier1/utlvector.h" |
|
|
|
|
|
//----------------------------------------------------------------------------- |
|
// A class representing a camera |
|
//----------------------------------------------------------------------------- |
|
class CDmeOperator : public IDmeOperator, public CDmElement |
|
{ |
|
DEFINE_ELEMENT( CDmeOperator, CDmElement ); |
|
|
|
public: |
|
virtual bool IsDirty(); // ie needs to operate |
|
virtual void Operate() {} |
|
|
|
virtual void GetInputAttributes ( CUtlVector< CDmAttribute * > &attrs ) {} |
|
virtual void GetOutputAttributes( CUtlVector< CDmAttribute * > &attrs ) {} |
|
}; |
|
|
|
|
|
#endif // DMEOPERATOR_H
|
|
|