// ============================================================================ // // = CONTEXT // TANGO Project - Electrometer Support Library // // = FILENAME // CommunicationLink.cpp // // = AUTHOR // X. Elattaoui // // // $Author: xavela $ // // $Revision: 1.3 $ // // $Log: not supported by cvs2svn $ // Revision 1.2 2007/11/27 15:23:02 xavela // xavier : // - modif done on Novelec part : // bug fix // // Revision 1.1 2007/07/09 13:20:37 stephle // initial import // // // ============================================================================ // ============================================================================ // DEPENDENCIES // ============================================================================ #include <iostream> #include "CommunicationLink.h" #include "ElectrometerException.h" // ============================================================================ // CommunicationLink::CommunicationLink // ============================================================================ //CommunicationLink::CommunicationLink (const std::string& communication_link_name) CommunicationLink::CommunicationLink ( std::string& communication_link_name) : _communication_Device_name(communication_link_name) { //std::cout << "CommunicationLink::CommunicationLink <-" << std::endl; //std::cout << "CommunicationLink::CommunicationLink ->" << std::endl; } // ============================================================================ // CommunicationLink::~CommunicationLink // ============================================================================ CommunicationLink::~CommunicationLink (void) { //std::cout << "CommunicationLink::~CommunicationLink <-" << std::endl; //std::cout << "CommunicationLink::~CommunicationLink ->" << std::endl; } // ============================================================================ // CommunicationLink::isSRQLineUp // ============================================================================ bool CommunicationLink::isSRQLineUp (void) { throw electrometer::ElectrometerException("COMMAND_NOT_SUPPORTED", "This protocol cannot check the SRQ line state.", "CommunicationLink::isSRQLineUp( )."); } // ============================================================================ // CommunicationLink::clear // ============================================================================ void CommunicationLink::clear (void) { throw electrometer::ElectrometerException("COMMAND_NOT_SUPPORTED", "This protocol cannot send interface clear command.", "CommunicationLink::clear( )."); } // ============================================================================ // CommunicationLink::trigger // ============================================================================ void CommunicationLink::trigger (void) { throw electrometer::ElectrometerException("COMMAND_NOT_SUPPORTED", "This protocol cannot send a trigger command.", "CommunicationLink::trigger( )."); }