Classes | Namespaces | Defines

baciMonitor_T.h File Reference

#include <acsutil.h>
#include <ace/SString.h>
#include <baci.h>
#include <baciS.h>
#include <logging.h>
#include <baciRecovery.h>
#include <baciRecoverableObject.h>
Include dependency graph for baciMonitor_T.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  baci::Monitor< ACS_MONITOR_C >
class  baci::MonitorBasic< ACS_MONITOR_BASIC_C >

Namespaces

namespace  baci

Defines

#define HEADER_PRINT_GET_OBJECT_STATE
#define IMPL_PRINT_GET_OBJECT_STATE
#define HEADER_SCAN_SET_OBJECT_STATE
#define IMPL_SCAN_SET_OBJECT_STATE
#define MAX_VALUE_LENGTH   500
#define ACS_MONITOR_C   class TCORBA, class TCORBA_out, class TCB, class TPOA, baci::BACIValue::Type TBACIValuetype
#define ACS_MONITOR_T   TCORBA, TCORBA_out, TCB, TPOA, TBACIValuetype
#define ACS_MONITOR_SEQ(T, TCORBA)   TCORBA, TCORBA##_out, ACS::CB##T##Seq, POA_ACS::Monitor##T, baci::BACIValue::type_##T##Seq
#define ACS_MONITOR(T, TCORBA)   TCORBA, TCORBA##_out, ACS::CB##T, POA_ACS::Monitor##T, baci::BACIValue::type_##T
#define ACS_MONITOR_BASIC_C   class TCORBA, class TCORBA_out, class TCB, class TPOA, baci::BACIValue::Type TBACIValuetype
#define ACS_MONITOR_BASIC_T   TCORBA, TCORBA_out, TCB, TPOA, TBACIValuetype

Detailed Description

Header file for BACI Monitor Templates.


Define Documentation

#define ACS_MONITOR (   T,
  TCORBA 
)    TCORBA, TCORBA##_out, ACS::CB##T, POA_ACS::Monitor##T, baci::BACIValue::type_##T

Helper macro used to define the templates passed to the Monitor class for non-sequence properties.

#define ACS_MONITOR_BASIC_C   class TCORBA, class TCORBA_out, class TCB, class TPOA, baci::BACIValue::Type TBACIValuetype

Helper macro used to define the templates passed to the Monitor class for properties.

#define ACS_MONITOR_BASIC_T   TCORBA, TCORBA_out, TCB, TPOA, TBACIValuetype

Helper macro used to define the templates passed to the Monitor class for properties.

#define ACS_MONITOR_C   class TCORBA, class TCORBA_out, class TCB, class TPOA, baci::BACIValue::Type TBACIValuetype

Helper macro used to define the templates passed to the Monitor class.

#define ACS_MONITOR_SEQ (   T,
  TCORBA 
)    TCORBA, TCORBA##_out, ACS::CB##T##Seq, POA_ACS::Monitor##T, baci::BACIValue::type_##T##Seq

Helper macro used to define the templates passed to the Monitor class for sequence properties.

#define ACS_MONITOR_T   TCORBA, TCORBA_out, TCB, TPOA, TBACIValuetype

Helper macro used to define the templates passed to the Monitor class.

#define HEADER_PRINT_GET_OBJECT_STATE
Value:
ACE_OS::sprintf(buffer_p, "%s %s %lu %llu %llu %llu %s %d %u %u", \
                      getName(), ior.in(), tag, bcb_p->getDescIn().normal_timeout, \
                      monitor_mp->getTransmitTime(), monitor_mp->getTriggerTime(), \
                      valueTrigger.c_str(), \
                      monitor_mp->getUpdateMode(), monitor_mp->getTriggerOnValue(), \
                      monitor_mp->isSuspended());

Helper macro used to print the current state of a monitor to "buffer".

#define HEADER_SCAN_SET_OBJECT_STATE
Value:
sscanf(state, "%s %s %lu %llu %llu %llu %s %d %u %u", \
         cname, ior, &tag, &descIn.normal_timeout, \
         &transmitTime, &timeTrigger, valueTrigger, &mode, \
         &triggerOnValue, &isSuspended);

Helper macro used to extract info from "state" to various variables.

#define IMPL_PRINT_GET_OBJECT_STATE
Value:
ACE_OS::sprintf(buffer_p, "%s %s %lu %llu %llu %llu %d %u", \
                      getName(), ior.in(), tag, bcb_p->getDescIn().normal_timeout, \
                      monitor_mp->getTransmitTime(), \
                      monitor_mp->getTriggerTime(), \
                      monitor_mp->getUpdateMode(), \
                      monitor_mp->isSuspended());

Helper macro used to print the current state of a monitor to "buffer".

#define IMPL_SCAN_SET_OBJECT_STATE
Value:
sscanf(state, "%s %s %lu %llu %llu %llu %d %u", \
         cname, ior, &tag, &descIn.normal_timeout, \
         &transmitTime, &timeTrigger, &mode, \
         &isSuspended);

Helper macro used to extract info from "state" to various variables.

#define MAX_VALUE_LENGTH   500

Maximum length of strigified value