[ C++ RCOS Home | RCOS.java Home | RCOS Home | David's Home ]

RCOS C++ CRC for class Cblock

Name:

Cblock

Comment:

now define the class based on DblList to provide functionality..

Collaborators:

Responsibilities:

  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);
  };