TAO_RTCORBA  2.2.8
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
TAO_SharedMemory_Protocol_Properties Class Reference

RTCORBA::SharedMemoryProtocolProperties implementation. More...

#include <RT_Policy_i.h>

Inheritance diagram for TAO_SharedMemory_Protocol_Properties:
Inheritance graph
Collaboration diagram for TAO_SharedMemory_Protocol_Properties:
Collaboration graph

Public Member Functions

 TAO_SharedMemory_Protocol_Properties (CORBA::Long send_buffer_size, CORBA::Long recv_buffer_size, CORBA::Boolean keep_alive, CORBA::Boolean dont_route, CORBA::Boolean no_delay, CORBA::Long preallocate_buffer_size, const char *mmap_filename, const char *mmap_lockname)
 Constructor. More...
 
CORBA::Long send_buffer_size (void)
 
void send_buffer_size (CORBA::Long send_buffer_size)
 
CORBA::Long recv_buffer_size (void)
 
void recv_buffer_size (CORBA::Long recv_buffer_size)
 
CORBA::Boolean keep_alive (void)
 
void keep_alive (CORBA::Boolean keep_alive)
 
CORBA::Boolean dont_route (void)
 
void dont_route (CORBA::Boolean dont_route)
 
CORBA::Boolean no_delay (void)
 
void no_delay (CORBA::Boolean no_delay)
 
CORBA::Boolean enable_network_priority (void)
 
CORBA::Long preallocate_buffer_size (void)
 
void preallocate_buffer_size (CORBA::Long preallocate_buffer_size)
 
char * mmap_filename (void)
 
void mmap_filename (const char *mmap_filename)
 
char * mmap_lockname (void)
 
void mmap_lockname (const char *mmap_lockname)
 
CORBA::Boolean _tao_encode (TAO_OutputCDR &out_cdr)
 
CORBA::Boolean _tao_decode (TAO_InputCDR &in_cdr)
 
- Public Member Functions inherited from RTCORBA::ProtocolProperties
virtual ::CORBA::Boolean _is_a (const char *type_id)
 
virtual const char * _interface_repository_id (void) const
 
virtual ::CORBA::Boolean marshal (TAO_OutputCDR &cdr)
 
- Public Member Functions inherited from CORBA::Object
virtual TAO::ObjectKey_key (void)
 
virtual CORBA::ULong _hash (CORBA::ULong maximum)
 
virtual CORBA::Boolean _is_equivalent (CORBA::Object_ptr other_obj)
 
virtual CORBA::Boolean _non_existent (void)
 
virtual InterfaceDef_ptr _get_interface (void)
 
virtual CORBA::Object_ptr _get_component (void)
 
virtual char * _repository_id (void)
 
virtual void _create_request (CORBA::Context_ptr ctx, const char *operation, CORBA::NVList_ptr arg_list, CORBA::NamedValue_ptr result, CORBA::Request_ptr &request, CORBA::Flags req_flags)
 
virtual void _create_request (CORBA::Context_ptr ctx, const char *operation, CORBA::NVList_ptr arg_list, CORBA::NamedValue_ptr result, CORBA::ExceptionList_ptr exclist, CORBA::ContextList_ptr ctxtlist, CORBA::Request_ptr &request, CORBA::Flags req_flags)
 
virtual CORBA::Request_ptr _request (const char *operation)
 
virtual CORBA::ORB_ptr _get_orb (void)
 

Protected Member Functions

virtual ~TAO_SharedMemory_Protocol_Properties (void)
 
- Protected Member Functions inherited from RTCORBA::ProtocolProperties
 ProtocolProperties (void)
 
virtual ~ProtocolProperties (void)
 

Private Attributes

CORBA::Long send_buffer_size_
 
CORBA::Long recv_buffer_size_
 
CORBA::Boolean keep_alive_
 
CORBA::Boolean dont_route_
 
CORBA::Boolean no_delay_
 
CORBA::Long preallocate_buffer_size_
 
ACE_CString mmap_filename_
 
ACE_CString mmap_lockname_
 

Additional Inherited Members

- Public Types inherited from RTCORBA::ProtocolProperties
typedef ProtocolProperties_ptr _ptr_type
 
typedef ProtocolProperties_var _var_type
 
typedef ProtocolProperties_out _out_type
 
- Static Public Member Functions inherited from RTCORBA::ProtocolProperties
static ProtocolProperties_ptr _duplicate (ProtocolProperties_ptr obj)
 
static void _tao_release (ProtocolProperties_ptr obj)
 
static ProtocolProperties_ptr _narrow (::CORBA::Object_ptr obj)
 
static ProtocolProperties_ptr _unchecked_narrow (::CORBA::Object_ptr obj)
 
static ProtocolProperties_ptr _nil (void)
 
static void _tao_any_destructor (void *)
 
- Public Attributes inherited from RTCORBA::SharedMemoryProtocolProperties
attribute long send_buffer_size
 
attribute long recv_buffer_size
 
attribute boolean keep_alive
 
attribute boolean dont_route
 
attribute boolean no_delay
 
attribute long preallocate_buffer_size
 
attribute string mmap_filename
 
attribute string mmap_lockname
 

Detailed Description

RTCORBA::SharedMemoryProtocolProperties implementation.

Stores Shared Memory Protocol configuration properties.

Constructor & Destructor Documentation

TAO_SharedMemory_Protocol_Properties::TAO_SharedMemory_Protocol_Properties ( CORBA::Long  send_buffer_size,
CORBA::Long  recv_buffer_size,
CORBA::Boolean  keep_alive,
CORBA::Boolean  dont_route,
CORBA::Boolean  no_delay,
CORBA::Long  preallocate_buffer_size,
const char *  mmap_filename,
const char *  mmap_lockname 
)

Constructor.

TAO_SharedMemory_Protocol_Properties::~TAO_SharedMemory_Protocol_Properties ( void  )
protectedvirtual

Protected destructor to enforce proper memory management of this reference counted object.

Member Function Documentation

CORBA::Boolean TAO_SharedMemory_Protocol_Properties::_tao_decode ( TAO_InputCDR in_cdr)
virtual

This method reads an instance of SharedMemoryProperties from a CDR encapsulation. This Protocol Property in TAO specific, so there is no order of encapsulation specified in the RT CORBA Spec. The current implementation expect the field according to the order of declaration.

Reimplemented from RTCORBA::ProtocolProperties.

CORBA::Boolean TAO_SharedMemory_Protocol_Properties::_tao_encode ( TAO_OutputCDR out_cdr)
virtual

This method writes the CDR encapsulation of an instance of SharedMemoryProperties. This Protocol Property in TAO specific, so there is no order of encapsulation specified in the RT CORBA Spec. The current implementation encodes the field according to the order of declaration.

Reimplemented from RTCORBA::ProtocolProperties.

CORBA::Boolean TAO_SharedMemory_Protocol_Properties::dont_route ( void  )
void TAO_SharedMemory_Protocol_Properties::dont_route ( CORBA::Boolean  dont_route)
CORBA::Boolean TAO_SharedMemory_Protocol_Properties::enable_network_priority ( void  )
CORBA::Boolean TAO_SharedMemory_Protocol_Properties::keep_alive ( void  )
void TAO_SharedMemory_Protocol_Properties::keep_alive ( CORBA::Boolean  keep_alive)
char * TAO_SharedMemory_Protocol_Properties::mmap_filename ( void  )
void TAO_SharedMemory_Protocol_Properties::mmap_filename ( const char *  mmap_filename)
char * TAO_SharedMemory_Protocol_Properties::mmap_lockname ( void  )
void TAO_SharedMemory_Protocol_Properties::mmap_lockname ( const char *  mmap_lockname)
CORBA::Boolean TAO_SharedMemory_Protocol_Properties::no_delay ( void  )
void TAO_SharedMemory_Protocol_Properties::no_delay ( CORBA::Boolean  no_delay)
CORBA::Long TAO_SharedMemory_Protocol_Properties::preallocate_buffer_size ( void  )
void TAO_SharedMemory_Protocol_Properties::preallocate_buffer_size ( CORBA::Long  preallocate_buffer_size)
CORBA::Long TAO_SharedMemory_Protocol_Properties::recv_buffer_size ( void  )
void TAO_SharedMemory_Protocol_Properties::recv_buffer_size ( CORBA::Long  recv_buffer_size)
CORBA::Long TAO_SharedMemory_Protocol_Properties::send_buffer_size ( void  )
void TAO_SharedMemory_Protocol_Properties::send_buffer_size ( CORBA::Long  send_buffer_size)

Member Data Documentation

CORBA::Boolean TAO_SharedMemory_Protocol_Properties::dont_route_
private
CORBA::Boolean TAO_SharedMemory_Protocol_Properties::keep_alive_
private
ACE_CString TAO_SharedMemory_Protocol_Properties::mmap_filename_
private
ACE_CString TAO_SharedMemory_Protocol_Properties::mmap_lockname_
private
CORBA::Boolean TAO_SharedMemory_Protocol_Properties::no_delay_
private
CORBA::Long TAO_SharedMemory_Protocol_Properties::preallocate_buffer_size_
private
CORBA::Long TAO_SharedMemory_Protocol_Properties::recv_buffer_size_
private
CORBA::Long TAO_SharedMemory_Protocol_Properties::send_buffer_size_
private

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