Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Friends

roc::AbbDevice Class Reference

#include <AbbDevice.h>

Collaboration diagram for roc::AbbDevice:
Collaboration graph
[legend]

Public Types

enum  { UndefinedOpticPath = 0xff }

Public Member Functions

 AbbDevice (const char *name, const char *thrdname, dabc::Command cmd)
virtual ~AbbDevice ()
virtual const char * ClassName () const
bool IsConnected () const
virtual dabc::Transport * CreateTransport (dabc::Command cmd, dabc::Reference port)

Static Public Member Functions

static unsigned GetOpticPath (const char *abbname)
static unsigned GetOpticRetPath (unsigned path)

Protected Member Functions

virtual int ExecuteCommand (dabc::Command cmd)
virtual void ObjectCleanup ()

Protected Attributes

AbbContextRef fContext
AbbTransportfTransport
bool fDaqRunning
std::vector< unsigned > fPathes
bool fUseDlmForStartStopDaq

Friends

class AbbTransport

Detailed Description

Definition at line 18 of file AbbDevice.h.


Member Enumeration Documentation

anonymous enum
Enumerator:
UndefinedOpticPath 

Definition at line 39 of file AbbDevice.h.


Constructor & Destructor Documentation

roc::AbbDevice::AbbDevice ( const char *  name,
const char *  thrdname,
dabc::Command  cmd 
)
roc::AbbDevice::~AbbDevice (  )  [virtual]

Definition at line 46 of file AbbDevice.cxx.


Member Function Documentation

const char * roc::AbbDevice::ClassName (  )  const [virtual]

Definition at line 61 of file AbbDevice.cxx.

References roc::typeAbbDevice.

dabc::Transport * roc::AbbDevice::CreateTransport ( dabc::Command  cmd,
dabc::Reference  port 
) [virtual]
int roc::AbbDevice::ExecuteCommand ( dabc::Command  cmd  )  [protected, virtual]
unsigned roc::AbbDevice::GetOpticPath ( const char *  abbname  )  [static]
unsigned roc::AbbDevice::GetOpticRetPath ( unsigned  path  )  [static]

Definition at line 103 of file AbbDevice.cxx.

References UndefinedOpticPath.

Referenced by CreateTransport(), and ExecuteCommand().

bool roc::AbbDevice::IsConnected (  )  const [inline]

Definition at line 46 of file AbbDevice.h.

References roc::AbbContextRef::daemon(), and fContext.

Referenced by roc::AbbFactory::CreateDevice().

void roc::AbbDevice::ObjectCleanup (  )  [protected, virtual]

Definition at line 51 of file AbbDevice.cxx.

References roc::AbbTransport::fDevice, and fTransport.


Friends And Related Function Documentation

friend class AbbTransport [friend]

Definition at line 20 of file AbbDevice.h.

Referenced by CreateTransport().


Field Documentation

bool roc::AbbDevice::fDaqRunning [protected]

Definition at line 27 of file AbbDevice.h.

Referenced by ExecuteCommand().

std::vector<unsigned> roc::AbbDevice::fPathes [protected]

Definition at line 29 of file AbbDevice.h.

Referenced by CreateTransport(), and ExecuteCommand().

list of configured board pathes for communication

Definition at line 31 of file AbbDevice.h.

Referenced by AbbDevice(), and ExecuteCommand().


The documentation for this class was generated from the following files: