[ C++ RCOS Home | RCOS.java Home | RCOS Home | David's Home ]
Name: |
Cblock |
Comment: |
now define the class based on DblList to provide functionality.. |
Collaborators: |
class Cblock : private DblList { public: Cblock (void) { } ~Cblock (void) { DblDrop(); } void CbDrop (void) { DblDelete(); } PCBLOCK CbHead (void) { return (PCBLOCK)DblGetHead(); } PCBLOCK CbTail (void) { return (PCBLOCK)DblGetTail(); } PCBLOCK CbNext (void) { return (PCBLOCK)DblGetNext(); } PCBLOCK CbNew (void); };