/*
 *                         OpenSplice DDS
 *
 *   This software and documentation are Copyright 2006 to 2009 PrismTech 
 *   Limited and its licensees. All rights reserved. See file:
 *
 *                     $OSPL_HOME/LICENSE 
 *
 *   for full copyright notice and license terms. 
 *
 */
#ifndef CCPP_GUARDCONDITION_H
#define CCPP_GUARDCONDITION_H

#include "ccpp.h"
#include "ccpp_Condition_impl.h"
/* !!!!!!!!NOTE From here no more includes are allowed!!!!!!! */

namespace DDS
{

    typedef GuardConditionInterface_ptr GuardCondition_ptr;
    typedef GuardConditionInterface_var GuardCondition_var;

    class OS_DCPS_API GuardCondition
        : public virtual GuardConditionInterface,
          public ::DDS::Condition_impl
    {
    public:
        GuardCondition( );

        ~GuardCondition();

        virtual ::DDS::ReturnCode_t set_trigger_value (
            ::CORBA::Boolean value
        ) THROW_ORB_EXCEPTIONS;
    };
}

#endif /* GUARDCONDITION */
