//Editor-Info: -*- C++ -*-
//
//Subject: TOVE project / SIG
//
//File: sigmode.cpp
//
//Version: $Revision: 1.6 $
//
//State: $State: Exp $
//
//Date: $Date: 1999/03/10 09:34:05 $
//
//Organisation:
//      Helsinki University of Technology
//      Laboratory of Telecommunications Software and Multimedia
//
//Author:
//      Sami Raatikainen
//
//Description:
//
//
//Copyright:
//
//
//Licence:
//
//
//History: 

#include "sigmode.h"
#include "pf/state.h"
#include "pf/exception.h"

sigMode *sigMode :: _only = 0;

sigMode :: sigMode(void)
    : _callState(0)
{
    return;
}

sigMode :: ~sigMode(void)
{
    return;
}

sigMode *sigMode :: instance(void)
{
    if (_only == 0)
    {
        _only = new sigMode;
    }
    return _only;
}

void sigMode :: setCallState(pfUlong value_)
{
    _callState = value_;
    return;
}

pfUlong sigMode :: getCallState(void) const
{
    return _callState;
}


bool sigMode :: isNetworkMode(void)
{
    throw pfException(PF_EX_INFO);
    return 0;
}

void sigMode :: setZeroEndpointReference(
    pfMessenger *, 
    sigProtocol *)
{
    throw pfException(PF_EX_INFO);
    return;    
}

pfState *sigMode :: createNullState(void)
{
    throw pfException(PF_EX_INFO);
    return 0;
}

pfState *sigMode :: createCallInitiatedState(void)
{
    throw pfException(PF_EX_INFO);
    return 0;
}

pfState *sigMode :: createOutgoingCallProceedingState(void)
{
    throw pfException(PF_EX_INFO);
    return 0;
}

pfState *sigMode :: createCallDeliveredState(void)
{
    throw pfException(PF_EX_INFO);
    return 0;
}

pfState *sigMode :: createCallPresentState(void)
{
    throw pfException(PF_EX_INFO);
    return 0;
}

pfState *sigMode :: createCallReceivedState(void)
{
    throw pfException(PF_EX_INFO);
    return 0;
}

pfState *sigMode :: createUserConnectRequestState(void)
{
    throw pfException(PF_EX_INFO);
    return 0;
}

pfState *sigMode :: createNetworkConnectRequestState(void)
{
    throw pfException(PF_EX_INFO);
    return 0;
}

pfState *sigMode :: createIncomingCallProceedingState(void)
{
    throw pfException(PF_EX_INFO);
    return 0;
}

pfState *sigMode :: createActiveState(void)
{
    throw pfException(PF_EX_INFO);
    return 0;
}

pfState *sigMode :: createReleaseRequestState(void)
{
    throw pfException(PF_EX_INFO);
    return 0;
}

pfState *sigMode :: createReleaseIndicationState(void)
{
    throw pfException(PF_EX_INFO);
    return 0;
}


pfState *sigMode :: createIdleState(void)
{
    throw pfException(PF_EX_INFO);
    return 0;
}

pfState *sigMode :: createAwaitIAAState(void)
{
    throw pfException(PF_EX_INFO);
    return 0;
}

pfState *sigMode :: createAwaitACMState(void)
{
    throw pfException(PF_EX_INFO);
    return 0;
}

pfState *sigMode :: createAwaitANMState(void)
{
    throw pfException(PF_EX_INFO);
    return 0;
}

pfState *sigMode :: createAwaitAcceptedReqState(void)
{
    throw pfException(PF_EX_INFO);
    return 0;
}

pfState *sigMode :: createAwaitAnswerReqState(void)
{
    throw pfException(PF_EX_INFO);
    return 0;
}

pfState *sigMode :: createAwaitAddressCompReqState(void)
{
    throw pfException(PF_EX_INFO);
    return 0;
}

pfState *sigMode :: createCallAnsweredState(void)
{
    throw pfException(PF_EX_INFO);
    return 0;
}

pfState *sigMode :: createAwaitRLCState(void)
{
    throw pfException(PF_EX_INFO);
    return 0;
}

pfState *sigMode :: createAwaitReleaseRespState(void)
{
    throw pfException(PF_EX_INFO);
    return 0;
}

pfState *sigMode :: createRELCollisionState(void)
{
    throw pfException(PF_EX_INFO);
    return 0;
}
