cl::utfsm::samplingSystemUI::core::PropertySamp Class Reference

Collaboration diagram for cl::utfsm::samplingSystemUI::core::PropertySamp:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void run () throws CouldntAccessComponentEx, TypeNotSupportedEx, AcsJContainerServicesEx, CouldntAccessPropertyEx, CORBAProblemEx, CouldntCreateObjectEx, MemoryFaultEx, OutOfBoundsEx, AcsJException, SamplingManagerException
 PropertySamp (SampDetail sampDetail)
void stop ()

Package Attributes

SampDetail sampDetail = null
SamplingManager sManager = null
SampObj sampObject = null
NotificationChannelSuscription ncs = null
AcsInformation info = null

Detailed Description

For each sampling detail one of this classes must be created to sample the data. This class creates the notification channel, and starts the sampling. This class also provides means of stoping and cleaning up the sampling. Sampling is down in separated Thread, so the run member will return imediatly.


Constructor & Destructor Documentation

cl::utfsm::samplingSystemUI::core::PropertySamp::PropertySamp ( SampDetail  sampDetail  )  [inline]

Assigns a SamplingManager and an AcsInformation object to the sampDetail (each sampDetail should have it's own Manager)

Parameters:
sampDetail Instance of SampDetail to be Monitored by the Manager.

References cl::utfsm::samplingSystemUI::core::AcsInformation::getInstance(), cl::utfsm::samplingSystemUI::core::SamplingManager::getInstance(), info, and sManager.


Member Function Documentation

Generates a SamplingObject (if none exist for the target sampDetail) and creates a channel for communication

Exceptions:
CouldntAccessComponentEx 
TypeNotSupportedEx 
AcsJContainerServicesEx 
CouldntAccessPropertyEx 
CORBAProblemEx 
CouldntCreateObjectEx 
MemoryFaultEx 
OutOfBoundsEx 
AcsJException 
SamplingManagerException 

References alma::acs::nc::Consumer::consumerReady(), alma::acssamp::SampObjOperations::getChannelName(), cl::utfsm::samplingSystemUI::core::AcsInformation::getContainerServices(), cl::utfsm::samplingSystemUI::core::SamplingManager::getSamplingObj(), info, ncs, sampDetail, sampObject, sManager, and alma::acssamp::SampObjOperations::start().

void cl::utfsm::samplingSystemUI::core::PropertySamp::stop (  )  [inline]

Closes the Notification Channel, stops sampling of the current SampDetail and destroys the Sampling Object

References alma::acs::nc::Consumer::disconnect(), ncs, sampObject, and alma::ACS::SubscriptionOperations::suspend().


Member Data Documentation

Referenced by PropertySamp(), and run().

Referenced by run(), and stop().

Referenced by run().

Referenced by run(), and stop().

Referenced by PropertySamp(), and run().


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

Generated by  doxygen 1.6.2