DefaultAttributes.hh

Go to the documentation of this file.
00001 //---------------------------------------------------------------------------
00002 // Copyright (c) 1995-2005 Ohio Board of Regents and the University of
00003 // Cincinnati.  All Rights Reserved.
00004 
00005 // You may modify, distribute, and use the software contained in this package
00006 // under the terms of the "GNU LIBRARY GENERAL PUBLIC LICENSE" version 2,
00007 // June 1991. A copy of this license agreement can be found in the file
00008 // "LGPL", distributed with this archive.
00009 
00010 //---------------------------------------------------------------------------
00011 
00012 #include "tyvis/Types.hh"
00013 #include "tyvis/PhysicalLiteral.hh"
00014 
00015 //The following structure has the default attributes of a signal 
00016 struct DefaultAttributes {
00017   DefaultAttributes();
00018   DefaultAttributes(const DefaultAttributes&);
00019   DefaultAttributes& operator=(const DefaultAttributes& val);
00020 
00021   bool event;
00022   bool active;
00023   PhysicalLiteral last_event;
00024   PhysicalLiteral last_active;
00025   enum { INT, DOUBLE, INT64 } sigtype;
00026   union {
00027     int inttype;
00028     double floattype;
00029     LONG physicaltype;
00030   } last_value;
00031 };

Generated on Fri Mar 31 11:05:08 2006 for Tyvis by  doxygen 1.4.6