From: <ro...@us...> - 2008-10-30 20:36:39
|
Revision: 2021 http://nscldaq.svn.sourceforge.net/nscldaq/?rev=2021&view=rev Author: ron-fox Date: 2008-10-30 20:36:24 +0000 (Thu, 30 Oct 2008) Log Message: ----------- Added abstract base class CObject .. which can be a leaf or a composite. This is the ultimate base class of teh event segments and scaler banks. Modified Paths: -------------- trunk/nextgen/sbs/readout/Makefile.am Added Paths: ----------- trunk/nextgen/sbs/readout/CObject.h Added: trunk/nextgen/sbs/readout/CObject.h =================================================================== --- trunk/nextgen/sbs/readout/CObject.h (rev 0) +++ trunk/nextgen/sbs/readout/CObject.h 2008-10-30 20:36:24 UTC (rev 2021) @@ -0,0 +1,30 @@ +#ifndef __COBJECT_H +#define __COBJECT_H + +/* + This software is Copyright by the Board of Trustees of Michigan + State University (c) Copyright 2005. + + You may use this software under the terms of the GNU public license + (GPL). The terms of this license are described at: + + http://www.gnu.org/licenses/gpl.txt + + Author: + Ron Fox + NSCL + Michigan State University + East Lansing, MI 48824-1321 +*/ + + +/*! + This is a pure abstract base class. It defines the base of a tree + of objects that may or may not be containers of other objects. +*/ +class CObject +{ +public: + virtual bool isComposite() = 0; +}; +#endif Modified: trunk/nextgen/sbs/readout/Makefile.am =================================================================== --- trunk/nextgen/sbs/readout/Makefile.am 2008-10-30 20:25:25 UTC (rev 2020) +++ trunk/nextgen/sbs/readout/Makefile.am 2008-10-30 20:36:24 UTC (rev 2021) @@ -10,9 +10,12 @@ noinst_HEADERS = CReadoutMain.h Skeleton.h CTCLAuthorizer.h \ CAuthorizedTclServer.h CExperiment.h Asserts.h \ - RunState.h + RunState.h CObject.h + + + INCLUDES = -I@top_srcdir@/base/exception \ -I@top_srcdir@/base/tclplus \ -I@top_srcdir@/base/headers \ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |