TwiceAsNice  2019-02-18
Public Types | Public Member Functions | Protected Attributes | List of all members
Nice::PropertyBridgeIceImpl< Type, TypeIf, IceType >::IceInterface Class Reference

#include <BridgeIce.h>

Inheritance diagram for Nice::PropertyBridgeIceImpl< Type, TypeIf, IceType >::IceInterface:
Inheritance graph
Collaboration diagram for Nice::PropertyBridgeIceImpl< Type, TypeIf, IceType >::IceInterface:
Collaboration graph

Public Types

typedef std::vector< IceType > SeqIceType
 Pushes a sequence of value from a Property over to all connected remoete bridges. More...
 
typedef std::vector< Nice::DateVarSeqDateType
 
typedef std::vector< IceType > SeqIceType
 Pushes a sequence of value from a Property over to all connected remoete bridges. More...
 
typedef std::vector< Nice::DateVarSeqDateType
 

Public Member Functions

 IceInterface (PropertyBridgeIceImpl< Type, TypeIf, IceType > *_bridge)
 
virtual void connect (const Ice::Identity &_bridgeId, Nice::I64 _id, const Ice::Current &_c)
 Remote interface be called by another bridge to connect a remote bridge to a local bridge. More...
 
virtual void disconnect (Nice::I64 _id, const Ice::Current &_c)
 Disconnects the local bridge from the remote bridge with the id _id. More...
 
virtual void push (IceType _value, Nice::I64 _id, const Nice::DateVar &_date, const Ice::Current &_c)
 Pushes a value from a Property over to all connected remoete bridges. More...
 
virtual void push (const IceType &_value, Nice::I64 _id, const Nice::DateVar &_date, const Ice::Current &_c)
 Overloaded function of function push() More...
 
virtual void pushSeq (const SeqIceType &, Nice::I64, const SeqDateType &, const Ice::Current &)
 
 IceInterface (PropertyBridgeIceImpl< Type, TypeIf, IceType > *_bridge)
 
virtual void connect (const Ice::Identity &_bridgeId, Nice::I64 _id, const Ice::Current &_c)
 Remote interface be called by another bridge to connect a remote bridge to a local bridge. More...
 
virtual void disconnect (Nice::I64 _id, const Ice::Current &_c)
 Disconnects the local bridge from the remote bridge with the id _id. More...
 
virtual void push (IceType _value, Nice::I64 _id, const Nice::DateVar &_date, const Ice::Current &_c)
 Pushes a value from a Property over to all connected remoete bridges. More...
 
virtual void push (const IceType &_value, Nice::I64 _id, const Nice::DateVar &_date, const Ice::Current &_c)
 Overloaded function of function push() More...
 
virtual void pushSeq (const SeqIceType &, Nice::I64, const SeqDateType &, const Ice::Current &)
 

Protected Attributes

PropertyBridgeIceImpl< Type, TypeIf, IceType > * m_bridge
 

Member Typedef Documentation

◆ SeqDateType [1/2]

template<typename Type , typename TypeIf , typename IceType = Type>
typedef std::vector<Nice::DateVar> Nice::PropertyBridgeIceImpl< Type, TypeIf, IceType >::IceInterface::SeqDateType

◆ SeqDateType [2/2]

template<typename Type , typename TypeIf , typename IceType = Type>
typedef std::vector<Nice::DateVar> Nice::PropertyBridgeIceImpl< Type, TypeIf, IceType >::IceInterface::SeqDateType

◆ SeqIceType [1/2]

template<typename Type , typename TypeIf , typename IceType = Type>
typedef std::vector<IceType> Nice::PropertyBridgeIceImpl< Type, TypeIf, IceType >::IceInterface::SeqIceType

Pushes a sequence of value from a Property over to all connected remoete bridges.

Parameters
_valueValue to be pushed to the remote bridge.
_dId of the connected property to avoid echoing.
_cCurrent Ice object.

◆ SeqIceType [2/2]

template<typename Type , typename TypeIf , typename IceType = Type>
typedef std::vector<IceType> Nice::PropertyBridgeIceImpl< Type, TypeIf, IceType >::IceInterface::SeqIceType

Pushes a sequence of value from a Property over to all connected remoete bridges.

Parameters
_valueValue to be pushed to the remote bridge.
_dId of the connected property to avoid echoing.
_cCurrent Ice object.

Constructor & Destructor Documentation

◆ IceInterface() [1/2]

template<typename Type , typename TypeIf , typename IceType = Type>
Nice::PropertyBridgeIceImpl< Type, TypeIf, IceType >::IceInterface::IceInterface ( PropertyBridgeIceImpl< Type, TypeIf, IceType > *  _bridge)
inline

◆ IceInterface() [2/2]

template<typename Type , typename TypeIf , typename IceType = Type>
Nice::PropertyBridgeIceImpl< Type, TypeIf, IceType >::IceInterface::IceInterface ( PropertyBridgeIceImpl< Type, TypeIf, IceType > *  _bridge)
inline

Member Function Documentation

◆ connect() [1/2]

template<typename Type , typename TypeIf , typename IceType >
void Nice::PropertyBridgeIceImpl< Type, TypeIf, IceType >::IceInterface::connect ( const Ice::Identity &  _bridgeId,
Nice::I64  _id,
const Ice::Current &  _c 
)
virtual

Remote interface be called by another bridge to connect a remote bridge to a local bridge.

Parameters
_bridgeIdThe Ice id of the remote bridge to use the same connection from and to this bridge.
_idThe numerical unique id of the remoete bridge. This id is used during the communication process to prevert echoing effects.
_cCurrent Ice object.

◆ connect() [2/2]

template<typename Type , typename TypeIf , typename IceType = Type>
virtual void Nice::PropertyBridgeIceImpl< Type, TypeIf, IceType >::IceInterface::connect ( const Ice::Identity &  _bridgeId,
Nice::I64  _id,
const Ice::Current &  _c 
)
virtual

Remote interface be called by another bridge to connect a remote bridge to a local bridge.

Parameters
_bridgeIdThe Ice id of the remote bridge to use the same connection from and to this bridge.
_idThe numerical unique id of the remoete bridge. This id is used during the communication process to prevert echoing effects.
_cCurrent Ice object.

◆ disconnect() [1/2]

template<typename Type , typename TypeIf , typename IceType >
void Nice::PropertyBridgeIceImpl< Type, TypeIf, IceType >::IceInterface::disconnect ( Nice::I64  _id,
const Ice::Current &  _c 
)
virtual

Disconnects the local bridge from the remote bridge with the id _id.

Parameters
_idID of the remote bridge to get disconnected from.
_cCurrent Ice object.

◆ disconnect() [2/2]

template<typename Type , typename TypeIf , typename IceType = Type>
virtual void Nice::PropertyBridgeIceImpl< Type, TypeIf, IceType >::IceInterface::disconnect ( Nice::I64  _id,
const Ice::Current &  _c 
)
virtual

Disconnects the local bridge from the remote bridge with the id _id.

Parameters
_idID of the remote bridge to get disconnected from.
_cCurrent Ice object.

◆ push() [1/4]

template<typename Type , typename TypeIf , typename IceType = Type>
virtual void Nice::PropertyBridgeIceImpl< Type, TypeIf, IceType >::IceInterface::push ( IceType  _value,
Nice::I64  _id,
const Nice::DateVar _date,
const Ice::Current &  _c 
)
virtual

Pushes a value from a Property over to all connected remoete bridges.

Parameters
_valueValue to be pushed to the remote bridge.
_dId of the connected property to avoid echoing.
_cCurrent Ice object.

Reimplemented in Basda::PropertyBridge1to1Ice< Type, TypeIf, IceType >::IceInterface, and Basda::PropertyBridge1to1Ice< Type, TypeIf, IceType >::IceInterface.

◆ push() [2/4]

template<typename Type , typename TypeIf , typename IceType >
void Nice::PropertyBridgeIceImpl< Type, TypeIf, IceType >::IceInterface::push ( IceType  _value,
Nice::I64  _id,
const Nice::DateVar _date,
const Ice::Current &  _c 
)
virtual

Pushes a value from a Property over to all connected remoete bridges.

Parameters
_valueValue to be pushed to the remote bridge.
_dId of the connected property to avoid echoing.
_cCurrent Ice object.

Reimplemented in Basda::PropertyBridge1to1Ice< Type, TypeIf, IceType >::IceInterface, and Basda::PropertyBridge1to1Ice< Type, TypeIf, IceType >::IceInterface.

◆ push() [3/4]

template<typename Type , typename TypeIf , typename IceType = Type>
virtual void Nice::PropertyBridgeIceImpl< Type, TypeIf, IceType >::IceInterface::push ( const IceType &  _value,
Nice::I64  _id,
const Nice::DateVar _date,
const Ice::Current &  _c 
)
virtual

◆ push() [4/4]

template<typename Type , typename TypeIf , typename IceType >
void Nice::PropertyBridgeIceImpl< Type, TypeIf, IceType >::IceInterface::push ( const IceType &  _value,
Nice::I64  _id,
const Nice::DateVar _date,
const Ice::Current &  _c 
)
virtual

◆ pushSeq() [1/2]

template<typename Type , typename TypeIf , typename IceType = Type>
virtual void Nice::PropertyBridgeIceImpl< Type, TypeIf, IceType >::IceInterface::pushSeq ( const SeqIceType ,
Nice::I64  ,
const SeqDateType ,
const Ice::Current &   
)
virtual

◆ pushSeq() [2/2]

template<typename Type , typename TypeIf , typename IceType >
void Nice::PropertyBridgeIceImpl< Type, TypeIf, IceType >::IceInterface::pushSeq ( const SeqIceType ,
Nice::I64  ,
const SeqDateType ,
const Ice::Current &   
)
virtual

Member Data Documentation

◆ m_bridge

template<typename Type , typename TypeIf , typename IceType = Type>
PropertyBridgeIceImpl< Type, TypeIf, IceType > * Nice::PropertyBridgeIceImpl< Type, TypeIf, IceType >::IceInterface::m_bridge
protected

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