fesa::AbstractDevice Class Reference

This class represents an abstraction of the underlying device by defining the common fields of the FESA class devices (instance device and global one). More...

#include <AbstractDevice.h>

Inheritance diagram for fesa::AbstractDevice:
fesa::DataStore fesa::GlobalDevice

List of all members.

Public Member Functions

virtual ~AbstractDevice ()
 destructor
virtual const std::string getName ()
 returns the device name
virtual bool isMultiplexed ()

Public Attributes

ConfigFieldString name
 contains the name of the device
ConfigFieldString mainMuxCriterion
 multiplexing criterion of the device
ConfigFieldString timingDomain
 base field holding the device timing-domain
bool * isLoggable_

Protected Member Functions

 AbstractDevice ()
 Initializes the common device fields.
virtual int32_t getSizeOfAdditionalFields ()
 Get the size related to non-Fesa-type fields.
virtual void mapAdditionalFields (char *p)
 Map the non-Fesa-type fields.
virtual void initialize ()
 initializes the device

Detailed Description

This class represents an abstraction of the underlying device by defining the common fields of the FESA class devices (instance device and global one).

Definition at line 22 of file AbstractDevice.h.


Constructor & Destructor Documentation

fesa::AbstractDevice::~AbstractDevice (  )  [virtual]

destructor

Definition at line 28 of file AbstractDevice.cpp.

fesa::AbstractDevice::AbstractDevice (  )  [protected]

Initializes the common device fields.

Constructor

Definition at line 8 of file AbstractDevice.cpp.


Member Function Documentation

const std::string fesa::AbstractDevice::getName (  )  [virtual]
int32_t fesa::AbstractDevice::getSizeOfAdditionalFields (  )  [protected, virtual]

Get the size related to non-Fesa-type fields.

Returns:
The size related to specific non-Fesa-type fields

Reimplemented from fesa::DataStore.

Definition at line 38 of file AbstractDevice.cpp.

Referenced by mapAdditionalFields().

fesa::AbstractDevice::initialize (  )  [protected, virtual]

initializes the device

Reimplemented from fesa::DataStore.

Definition at line 14 of file AbstractDevice.cpp.

References isLoggable_.

bool fesa::AbstractDevice::isMultiplexed (  )  [virtual]
void fesa::AbstractDevice::mapAdditionalFields ( char *  p  )  [protected, virtual]

Map the non-Fesa-type fields.

Parameters:
Pointer to the allocated memory

Reimplemented from fesa::DataStore.

Definition at line 45 of file AbstractDevice.cpp.

References getSizeOfAdditionalFields(), and isLoggable_.


Member Data Documentation

multiplexing criterion of the device

Definition at line 46 of file AbstractDevice.h.

Referenced by fesa::AbstractSubscriptionFilter::allCyclesFirstUpdate(), isMultiplexed(), and fesa::Property::validateCycleSelector().

contains the name of the device

Definition at line 41 of file AbstractDevice.h.

Referenced by getName().


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

Generated on 18 Jan 2013 for Fesa by  doxygen 1.6.1