Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

ACSAlarmSystemInterfaceProxy Class Reference

#include <ACSAlarmSystemInterfaceProxy.h>

Inheritance diagram for ACSAlarmSystemInterfaceProxy:

Inheritance graph
[legend]
Collaboration diagram for ACSAlarmSystemInterfaceProxy:

Collaboration graph
[legend]
List of all members.

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 ()

Private Attributes

LoggingProxym_logger

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  )  [inline, 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   )  [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 std::vector< acsalarm::FaultState > &  states  )  [virtual]
 

Push a collection of fault states.

Parameters:
states 

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::pushActiveList std::vector< acsalarm::FaultState > &  activeFaults  )  [virtual]
 

Push the set of active fault states.

Parameters:
activeFaults the active fault states.


Member Data Documentation

LoggingProxy* ACSAlarmSystemInterfaceProxy::m_logger [private]
 

The logger


The documentation for this class was generated from the following file:
Generated on Thu Apr 30 02:35:46 2009 for ACS C++ API by doxygen 1.3.8