Anatomy of the RT Framework
The INtime class framework provides classes for communication objects, threads and applications – including classes for low level objects and interrupt handling.
Some general rules are:
- every application should have a class derived from CIApp and exactly one global instance of that class must exist
- the communication object classes will typically be used as is
- the thread classes are intended for derivation to customize a part of the class behavior
When creating an instance of a class, the constructor of the object only allocates the necessary memory and initializes the object to an empty state. The Create function (with class dependent parameters) can be used to create an INtime object; Lookup or assignment can be used to connect to an existing INtime object. The destructor for an object deletes the corresponding INtime object only if the object had created it in the first place.