summaryrefslogtreecommitdiff
path: root/public/movieobjects/dmeoperator.h
blob: 503b4cc98d7fde6cf63ec70517446bf8ca340c47 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
//========= 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