//===========================================================================// // File: cmpnnt.hh // // Project: MUNGA Brick: Watcher // // Contents: // //---------------------------------------------------------------------------// // Date Who Modification // // -------- --- -----------------------------------------------------------// // 12/14/94 ECH Initial coding. // //---------------------------------------------------------------------------// // Copyright (C) 1994-1995, Virtual World Entertainment, Inc. // // All Rights reserved worldwide // // This unpublished sourcecode is PROPRIETARY and CONFIDENTIAL // //===========================================================================// #if !defined(CMPNNT_HPP) # define CMPNNT_HPP # if !defined(RECEIVER_HPP) # include # endif //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Component ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ class Component: public Receiver { public: // //----------------------------------------------------------------------- // Destructor //----------------------------------------------------------------------- // ~Component(); // //----------------------------------------------------------------------- // Execute //----------------------------------------------------------------------- // virtual void Execute(); // //----------------------------------------------------------------------- // Shared Data Support //----------------------------------------------------------------------- // static Derivation ClassDerivations; static SharedData DefaultData; Logical TestInstance() const; protected: // //----------------------------------------------------------------------- // Constructor //----------------------------------------------------------------------- // Component( ClassID class_id = TrivialComponentClassID, SharedData &shared_data = DefaultData ); Component( PlugStream *stream, SharedData &shared_data = DefaultData ); }; #endif