#include <ACSAlarmSystemInterfaceProxy.h>
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 () |
Implementation of a source that log messages instead of sending msg to the AlarmSrevice
ACSAlarmSystemInterfaceProxy::ACSAlarmSystemInterfaceProxy | ( | std::string | name | ) |
virtual ACSAlarmSystemInterfaceProxy::~ACSAlarmSystemInterfaceProxy | ( | ) | [virtual] |
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.
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.
states |
Reimplemented from acsalarm::AlarmSystemInterface.
virtual void ACSAlarmSystemInterfaceProxy::pushActiveList | ( | std::vector< acsalarm::FaultState > & | activeFaults | ) | [virtual] |
Push the set of active fault states.
activeFaults | the active fault states. |
Reimplemented from acsalarm::AlarmSystemInterface.