Line 1... |
Line 1... |
// $Id: RlinkConnect.hpp 495 2013-03-06 17:13:48Z mueller $
|
// $Id: RlinkConnect.hpp 509 2013-04-21 20:46:20Z mueller $
|
//
|
//
|
// Copyright 2011-2013 by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
|
// Copyright 2011-2013 by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
|
//
|
//
|
// This program is free software; you may redistribute and/or modify it under
|
// This program is free software; you may redistribute and/or modify it under
|
// the terms of the GNU General Public License as published by the Free
|
// the terms of the GNU General Public License as published by the Free
|
Line 11... |
Line 11... |
// or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
// or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
// for complete details.
|
// for complete details.
|
//
|
//
|
// Revision History:
|
// Revision History:
|
// Date Rev Version Comment
|
// Date Rev Version Comment
|
|
// 2013-04-21 509 1.3.3 add SndAttn() method
|
// 2013-03-05 495 1.3.2 add Exec() without emsg (will send emsg to LogFile)
|
// 2013-03-05 495 1.3.2 add Exec() without emsg (will send emsg to LogFile)
|
// 2013-03-01 493 1.3.1 add Server(Active..|SignalAttn)() methods
|
// 2013-03-01 493 1.3.1 add Server(Active..|SignalAttn)() methods
|
// 2013-02-23 492 1.3 use scoped_ptr for Port; Close allways allowed
|
// 2013-02-23 492 1.3 use scoped_ptr for Port; Close allways allowed
|
// use RlinkContext, add Context(), Exec(..., cntx)
|
// use RlinkContext, add Context(), Exec(..., cntx)
|
// 2013-02-22 491 1.2 use new RlogFile/RlogMsg interfaces
|
// 2013-02-22 491 1.2 use new RlogFile/RlogMsg interfaces
|
Line 28... |
Line 29... |
// 2011-01-15 356 0.1 First draft
|
// 2011-01-15 356 0.1 First draft
|
// ---------------------------------------------------------------------------
|
// ---------------------------------------------------------------------------
|
|
|
/*!
|
/*!
|
\file
|
\file
|
\version $Id: RlinkConnect.hpp 495 2013-03-06 17:13:48Z mueller $
|
\version $Id: RlinkConnect.hpp 509 2013-04-21 20:46:20Z mueller $
|
\brief Declaration of class \c RlinkConnect.
|
\brief Declaration of class \c RlinkConnect.
|
*/
|
*/
|
|
|
#ifndef included_Retro_RlinkConnect
|
#ifndef included_Retro_RlinkConnect
|
#define included_Retro_RlinkConnect 1
|
#define included_Retro_RlinkConnect 1
|
Line 106... |
Line 107... |
bool Exec(RlinkCommandList& clist, RlinkContext& cntx);
|
bool Exec(RlinkCommandList& clist, RlinkContext& cntx);
|
|
|
double WaitAttn(double timeout, RerrMsg& emsg);
|
double WaitAttn(double timeout, RerrMsg& emsg);
|
int PollAttn(RerrMsg& emsg);
|
int PollAttn(RerrMsg& emsg);
|
bool SndOob(uint16_t addr, uint16_t data, RerrMsg& emsg);
|
bool SndOob(uint16_t addr, uint16_t data, RerrMsg& emsg);
|
|
bool SndAttn(RerrMsg& emsg);
|
|
|
bool AddrMapInsert(const std::string& name, uint16_t addr);
|
bool AddrMapInsert(const std::string& name, uint16_t addr);
|
bool AddrMapErase(const std::string& name);
|
bool AddrMapErase(const std::string& name);
|
bool AddrMapErase(uint16_t addr);
|
bool AddrMapErase(uint16_t addr);
|
void AddrMapClear();
|
void AddrMapClear();
|