ACSAlarmSystemInterfaceProxy

NAME
SYNOPSIS
Detailed Description
Constructor & Destructor Documentation
Member Function Documentation
Author

NAME

ACSAlarmSystemInterfaceProxy −

SYNOPSIS

#include <ACSAlarmSystemInterfaceProxy.h>

Inherits acsalarm::AlarmSystemInterface.

Public Member Functions

ACSAlarmSystemInterfaceProxy (std::string name)

virtual ~ACSAlarmSystemInterfaceProxy ()

virtual void push (acsalarm::FaultState &state)

virtual void push (std::vector< acsalarm::FaultState > &states)

virtual void pushActiveList (std::vector< acsalarm::FaultState > &activeFaults)

Protected Member Functions

virtual bool publishMessage (acsalarm::ASIMessage)

Private Member Functions

virtual void close ()

Detailed Description

Implementation of a source that log messages instead of sending msg to the AlarmSrevice

Constructor & Destructor Documentation

ACSAlarmSystemInterfaceProxy::ACSAlarmSystemInterfaceProxy (std::string name)

virtual ACSAlarmSystemInterfaceProxy::~ACSAlarmSystemInterfaceProxy () [virtual]

Member Function Documentation

virtual void ACSAlarmSystemInterfaceProxy::close () [inline, private, virtual] Cleanup. Must be implemented by concrete sub classes; may be called by destructor or explicitly by client; it’s up to you how you wish the cleanup process to be initiated.

Implements acsalarm::AlarmSystemInterface.

virtual bool ACSAlarmSystemInterfaceProxy::publishMessage (acsalarm::ASIMessage msg) [inline, protected, virtual] Sends the message to the alarm server; concrete classes must override this and use the communication mechanism of their choice. For an example of a concrete class, see ACSLaser/laser-source-cpp/CERNAlarmSystemInterfaceProxy.

Implements acsalarm::AlarmSystemInterface.

virtual void ACSAlarmSystemInterfaceProxy::push (acsalarm::FaultState & state) [virtual] Push a fault state.

Parameters:

state the fault state change to push.

Reimplemented from acsalarm::AlarmSystemInterface.

virtual void ACSAlarmSystemInterfaceProxy::push (std::vector< acsalarm::FaultState > & states) [virtual] Push a collection of fault states.

Parameters:

states

Reimplemented from acsalarm::AlarmSystemInterface.

virtual void ACSAlarmSystemInterfaceProxy::pushActiveList (std::vector< acsalarm::FaultState > & activeFaults) [virtual] Push the set of active fault states.

Parameters:

activeFaults the active fault states.

Reimplemented from acsalarm::AlarmSystemInterface.

Author

Generated automatically by Doxygen for ACS-2015.2 C++ API from the source code.