alma::demo::LampCallbackImpl::CBdoubleLampCallback Class Reference

Inheritance diagram for alma::demo::LampCallbackImpl::CBdoubleLampCallback:
Inheritance graph
[legend]
Collaboration diagram for alma::demo::LampCallbackImpl::CBdoubleLampCallback:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 CBdoubleLampCallback (Logger logger)
void working (double value, Completion completion, CBDescOut desc)
void done (double value, Completion completion, CBDescOut desc)
boolean negotiate (long myLong, CBDescOut desc)

Private Attributes

Logger m_logger

Detailed Description

Author:
rgeorgie Implements the callback for the lamp component.

Constructor & Destructor Documentation

alma::demo::LampCallbackImpl::CBdoubleLampCallback::CBdoubleLampCallback ( Logger  logger  )  [inline]

Passes a logger to the callback object.

Parameters:
logger 

References m_logger.


Member Function Documentation

void alma::demo::LampCallbackImpl::CBdoubleLampCallback::done ( double  value,
Completion  completion,
CBDescOut  desc 
) [inline]

Used to notify a state of completion.

Parameters:
value monitored property's "brightness" current value that the client gets.
completion error handing structure.
desc callback descriptor passed from server to client.
See also:
alma.ACS.CBdoubleOperations::done(double, alma.ACSErr.Completion, alma.ACS.CBDescOut)

References m_logger.

boolean alma::demo::LampCallbackImpl::CBdoubleLampCallback::negotiate ( long  myLong,
CBDescOut  desc 
) [inline]

Used to negotiate timeouts between client and sever.

Parameters:
myLong timeout between client and sever.
desc callback descriptor passed from server to client.
Returns:
boolean
See also:
alma.ACS.CallbackOperations::negotiate(long, alma.ACS.CBDescOut)

References m_logger.

void alma::demo::LampCallbackImpl::CBdoubleLampCallback::working ( double  value,
Completion  completion,
CBDescOut  desc 
) [inline]

Used to notify a state of incompletion.

Parameters:
value monitored property's "brightness" current value that the client gets.
completion error handing structure.
desc callback descriptor passed from server to client.
See also:
alma.ACS.CBdoubleOperations::working(double, alma.ACSErr.Completion, alma.ACS.CBDescOut)

References m_logger.


Member Data Documentation


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

Generated by  doxygen 1.6.2