Inheritance diagram for DAQObject::

| Public Methods | |
| ~DAQObject () | |
| Basic destructor. More... | |
| int | GetType () | 
| Return object type of object. More... | |
| const char * | GetTypeString () | 
| Return stringification of the object type id. More... | |
| void | SetType (int) | 
| Set the object type of the object. More... | |
| void | SetType () | 
| Set the object type to the current object type. More... | |
| unsigned int | alarm (unsigned int) | 
| Override alarm function. More... | |
| daqsighandler_t | signal (int, daqsighandler_t) | 
| Override signal function. More... | |
| virtual int | operator== (const char *) const | 
| Equality with char*. Good for testing against NULL. More... | |
| virtual int | operator== (const DAQObject &) const | 
| Equality with a DAQObject. More... | |
| virtual bool | IsNull () | 
| Return true if object is null. More... | |
| virtual void | Nullify () | 
| Nullify this object. More... | |
| virtual ostream & | Print (ostream &) | 
| Print this object to an ostream. More... | |
| virtual void | PrintEyeCatcher (ostream &) | 
| Print an eye catcher to an ostream. More... | |
| virtual void | Dump (ostream &) | 
| Dump this object to an ostream. More... | |
| Basic_OStream_Iface & | Print (Basic_OStream_Iface &) | 
| Print this object to a Basic_OStream_Iface. More... | |
| void | Dump (Basic_OStream_Iface &) | 
| Dump this object to a Basic_OStream_Iface object. More... | |
| Protected Methods | |
| DAQObject () | |
| Basic Constructor. More... | |
| Friends | |
| class | DAQTrackMap | 
The DAQObject class is a super class from which nearly all other DAQ classes inherit. This class provides some basic functionality and support for tracking object creation. Some basic C/C++ functions are overridden in this class.
| 
 | 
| Basic destructor method. 
 
 | 
| 
 | 
| Basic constructor method. 
 
 | 
| 
 | 
| Dump this to a object that implements Basic_OStream_Iface interface. For a DAQObject this simply prints the type id and stringification. 
 
 | 
| 
 | 
| Dump this to an ostream. For a DAQObject this simply prints the type id and stringification. 
 
 | 
| 
 | 
| Get the type id of this object as previously set using SetType(). 
 
 | 
| 
 | 
| Get a string (char*) representation of the object type for this. 
 
 | 
| 
 | 
| Determine if this object is considered a null object (from a meta standpoint -- that is, the object exists but is considered to be an object of a null type). 
 
 
 | 
| 
 | 
| Make this a null object. That is IsNull() will return true once Nullify() is called on this. 
 
 | 
| 
 | 
| Print a stringified representation of this to an object that implements the Basic_OStream_Iface interface. 
 
 | 
| 
 | 
| Print a stringified representation of this to an ostream. 
 
 Reimplemented from Printable. Reimplemented in DAQNodeId, and DAQThreadId. | 
| 
 | 
| Print an eye catcher. Note that you can't create any new objects that might actually get added to the daq_tracker in this method or any methods derived from this method. Doing so tends to create deadlocks due to the locking nature of the daq_tracker. This method does very little (i.e. it prints nothing for a DAQObject). Override for better use. 
 
 Reimplemented in DAQThreadMutex, and DAQThreadRecursiveMutex. | 
| 
 | 
| Reset the type id of this to one set previously. This is mainly used during bootstrapping. 
 
 | 
| 
 | 
| DAQ objects can be typed so that they can be tracked at runtime. By default, all objects derived from a DAQObject are of type DAQObject. Derived classes can choose to provide a more informative type id by using this method to set their type. This has nothing to do with rtt. At this time, the system needs to have a type id entered into a compile time table for this. 
 
 
 | 
| 
 | 
| Override the standard C alarm() function. Throws an exception if it appears the alarm is already in use. 
 
 | 
| 
 | 
| Equality with DAQObject. Really just checks to make sure the object types are identical. Override if you want more functionality! 
 
 
 | 
| 
 | 
| Check if this can be considered equal to NULL. That is, This object must have a type of DAQObject and both (v == NULL) and IsNull() must be true. 
 
 
 | 
| 
 | |||||||||||||||
| Over the standard C signal() function. Throws an exception if an error is return from the call to signal(). 
 
 | 
 1.2.9.1 written by Dimitri van Heesch,
 © 1997-2001
1.2.9.1 written by Dimitri van Heesch,
 © 1997-2001