jedi-outcast/code/ff/ff_MultiSet.h

43 lines
1 KiB
C
Raw Normal View History

2013-04-22 05:25:59 +00:00
#ifndef FF_MULTISET_H
#define FF_MULTISET_H
#include "ff_ffset.h"
//===[FFMultiSet]=====================================================/////////////
//
// A collection class of FFSet objects. These functions generally
// iterate over the entire set of FFSets, performing the same operation
// on all contained FFSets.
//
//====================================================================/////////////
class FFMultiSet
{
public:
typedef vector<FFSet*> Set;
protected:
FFConfigParser *mConfig;
Set mSet;
CImmDevices *mDevices;
public:
qboolean Init( FFConfigParser &config );
// qboolean Lookup( set<MultiEffect*> &effect, const char *name );
qboolean GetRegisteredNames( TNameTable &NameTable );
qboolean StopAll();
void clear();
//
// Optional
//
#ifdef FF_ACCESSOR
Set& GetSets() { return mSet; }
CImmDevices* GetDevices() { return mDevices; }
#endif
#ifdef FF_CONSOLECOMMAND
void Display( TNameTable &Unprocessed, TNameTable &Processed );
static void GetDisplayTokens( TNameTable &Tokens );
#endif
};
2013-04-04 21:05:53 +00:00
#endif // FF_MULTISET_H