#include "tao/RTCORBA/RTCORBA.h"
#include "tao/CDR.h"
#include "tao/Basic_Arguments.h"
#include "tao/Special_Basic_Arguments.h"
#include "tao/UB_String_Arguments.h"
#include "ace/OS_NS_string.h"
Include dependency graph for RTCORBAC.cpp:
Go to the source code of this file.
|
Definition at line 1811 of file RTCORBAC.cpp. |
|
Definition at line 548 of file RTCORBAC.cpp. |
|
Definition at line 87 of file RTCORBAC.cpp. |
|
Definition at line 2673 of file RTCORBAC.cpp. References TAO::unbounded_value_sequence< PriorityBand >::length().
02677 { 02678 const CORBA::ULong _tao_seq_len = _tao_sequence.length (); 02679 02680 if (strm << _tao_seq_len) 02681 { 02682 // Encode all elements. 02683 CORBA::Boolean _tao_marshal_flag = true; 02684 02685 for (CORBA::ULong i = 0; i < _tao_seq_len && _tao_marshal_flag; ++i) 02686 { 02687 _tao_marshal_flag = (strm << _tao_sequence[i]); 02688 } 02689 02690 return _tao_marshal_flag; 02691 } 02692 02693 return false; 02694 } |
|
Definition at line 2647 of file RTCORBAC.cpp.
|
|
Definition at line 2626 of file RTCORBAC.cpp.
02627 {
02628 return strm << static_cast<CORBA::ULong> (_tao_enumerator);
02629 }
|
|
Definition at line 2605 of file RTCORBAC.cpp.
02609 { 02610 return TAO::marshal_sequence(strm, _tao_sequence); 02611 } |
|
Definition at line 2577 of file RTCORBAC.cpp.
02581 { 02582 return 02583 (strm << _tao_aggregate.lane_priority) && 02584 (strm << _tao_aggregate.static_threads) && 02585 (strm << _tao_aggregate.dynamic_threads); 02586 } |
|
Definition at line 2696 of file RTCORBAC.cpp. References ACE_InputCDR::length(), and TAO::unbounded_value_sequence< PriorityBand >::length().
02700 { 02701 CORBA::ULong _tao_seq_len; 02702 02703 if (strm >> _tao_seq_len) 02704 { 02705 // Add a check to the length of the sequence 02706 // to make sure it does not exceed the length 02707 // of the stream. (See bug 58.) 02708 if (_tao_seq_len > strm.length ()) 02709 { 02710 return false; 02711 } 02712 02713 // Set the length of the sequence. 02714 _tao_sequence.length (_tao_seq_len); 02715 02716 // If length is 0 we return true. 02717 if (0 >= _tao_seq_len) 02718 { 02719 return true; 02720 } 02721 02722 // Retrieve all the elements. 02723 CORBA::Boolean _tao_marshal_flag = true; 02724 02725 for (CORBA::ULong i = 0; i < _tao_seq_len && _tao_marshal_flag; ++i) 02726 { 02727 _tao_marshal_flag = (strm >> _tao_sequence[i]); 02728 } 02729 02730 return _tao_marshal_flag; 02731 02732 } 02733 02734 return false; 02735 } |
|
Definition at line 2657 of file RTCORBAC.cpp.
|
|
Definition at line 2631 of file RTCORBAC.cpp.
02632 { 02633 CORBA::ULong _tao_temp = 0; 02634 CORBA::Boolean const _tao_success = strm >> _tao_temp; 02635 02636 if (_tao_success) 02637 { 02638 _tao_enumerator = static_cast<RTCORBA::PriorityModel> (_tao_temp); 02639 } 02640 02641 return _tao_success; 02642 } |
|
Definition at line 2613 of file RTCORBAC.cpp.
02617 { 02618 return TAO::demarshal_sequence(strm, _tao_sequence); 02619 } |
|
Definition at line 2588 of file RTCORBAC.cpp.
02592 { 02593 return 02594 (strm >> _tao_aggregate.lane_priority) && 02595 (strm >> _tao_aggregate.static_threads) && 02596 (strm >> _tao_aggregate.dynamic_threads); 02597 } |