//Editor-Info: -*- C++ -*-
//
//Subject: TOVE project / CPCS protocol
//
//File: cpcsstate.h
//
//Version: $Revision: 1.8 $
//
//State: $State: Exp $
//
//Date: $Date: 1998/07/21 13:28:43 $
//
//Organisation:
//      Helsinki University of Technology
//      Laboratory of Telecommunications and Multimedia
//
//Author:
//      Juhana Räsänen
//
//Description:
//      Base State class definition for CPCS state machine
//
//Copyright:
//      Copyright 1999 Helsinki University of Technology
//      ALL RIGHTS RESERVED BETWEEN JANUARY 1996 AND JUNE 1999.
//
//Licence:
//
//
//History:
//
 
#ifndef __CPCSSTATE_H__
#define __CPCSSTATE_H__

#include "pf/state.h"
#include "iface/cpcsif/cpcsdownprimitives.h"

class pfProtocol;
class pfDevice;

//
// Class: cpcsState
//
// Description:
//     This is the CPCS state machine base state class. Actual states
//     inherit this class and default action for incoming CPCS data
//     requests is defined here.
//

class cpcsState : public pfState, public cpcsDownInputs
{
    public:
        // Actions for incoming CPCS-signals from upper layer
        virtual void cpcsUNITDATAreqAct(cpcsUNITDATAreq *messenger_,
                                        pfProtocol *protocol_) const;

    protected:
        cpcsState(void);
        virtual ~cpcsState(void);
};


#endif // __CPCSSTATE_H__

