summaryrefslogtreecommitdiff
path: root/TAO/tao/RTScheduling/RTSchedulerA.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/RTScheduling/RTSchedulerA.cpp')
-rw-r--r--TAO/tao/RTScheduling/RTSchedulerA.cpp84
1 files changed, 48 insertions, 36 deletions
diff --git a/TAO/tao/RTScheduling/RTSchedulerA.cpp b/TAO/tao/RTScheduling/RTSchedulerA.cpp
index e253eb4d445..1f9be7bfd4d 100644
--- a/TAO/tao/RTScheduling/RTSchedulerA.cpp
+++ b/TAO/tao/RTScheduling/RTSchedulerA.cpp
@@ -29,7 +29,7 @@
#include "tao/Null_RefCount_Policy.h"
#include "tao/TypeCode_Constants.h"
#include "tao/Alias_TypeCode.h"
-#include "tao/TypeCode_Non_Default_Case.h"
+#include "tao/TypeCode_Enumerator.h"
#include "tao/Enum_TypeCode.h"
#include "tao/Objref_TypeCode.h"
#include "tao/Sequence_TypeCode.h"
@@ -45,7 +45,7 @@ static TAO::TypeCode::Objref<char const *,
_tao_tc_RTScheduling_ThreadAction (
"IDL:RTScheduling/ThreadAction:1.0",
"ThreadAction");
-
+
namespace RTScheduling
{
::CORBA::TypeCode_ptr const _tc_ThreadAction =
@@ -59,9 +59,9 @@ namespace RTScheduling
static TAO::TypeCode::Enumerator<char const *> const _tao_enumerators_RTScheduling_DistributableThread_DT_State[] =
{
- "ACTIVE",
- "CANCELLED"
-
+ { "ACTIVE" },
+ { "CANCELLED" }
+
};
static TAO::TypeCode::Enum<char const *,
@@ -72,7 +72,7 @@ static TAO::TypeCode::Enum<char const *,
"DT_State",
_tao_enumerators_RTScheduling_DistributableThread_DT_State,
2);
-
+
::CORBA::TypeCode_ptr const RTScheduling::DistributableThread::_tc_DT_State =
&_tao_tc_RTScheduling_DistributableThread_DT_State;
@@ -85,7 +85,7 @@ static TAO::TypeCode::Objref<char const *,
_tao_tc_RTScheduling_DistributableThread (
"IDL:RTScheduling/DistributableThread:1.0",
"DistributableThread");
-
+
namespace RTScheduling
{
::CORBA::TypeCode_ptr const _tc_DistributableThread =
@@ -97,11 +97,7 @@ namespace RTScheduling
// TAO_IDL - Generated from
// be\be_visitor_typecode/struct_typecode.cpp:34
-static TAO::TypeCode::Struct_Field<char const *> const _tao_fields_RTScheduling_Current_UNSUPPORTED_SCHEDULING_DISCIPLINE[] =
- {
-
- };
-
+static TAO::TypeCode::Struct_Field<char const *> * const _tao_fields_RTScheduling_Current_UNSUPPORTED_SCHEDULING_DISCIPLINE = 0;
static TAO::TypeCode::Struct<char const *,
TAO::TypeCode::Struct_Field<char const *> const *,
CORBA::tk_except,
@@ -111,7 +107,7 @@ static TAO::TypeCode::Struct<char const *,
"UNSUPPORTED_SCHEDULING_DISCIPLINE",
_tao_fields_RTScheduling_Current_UNSUPPORTED_SCHEDULING_DISCIPLINE,
0);
-
+
::CORBA::TypeCode_ptr const RTScheduling::Current::_tc_UNSUPPORTED_SCHEDULING_DISCIPLINE =
&_tao_tc_RTScheduling_Current_UNSUPPORTED_SCHEDULING_DISCIPLINE;
@@ -121,21 +117,31 @@ static TAO::TypeCode::Struct<char const *,
// TAO_IDL - Generated from
-// be\be_visitor_typecode/typecode_defn.cpp:744
+// be\be_visitor_typecode/typecode_defn.cpp:743
-static TAO::TypeCode::Sequence<TAO::Null_RefCount_Policy>
- _tao_tc_RTScheduling_Current_IdType_0 (
- CORBA::tk_sequence,
- &::_tao_tc_CORBA::_tc_octet,
- 0U);
+namespace TAO
+{
+ namespace TypeCode
+ {
+ TAO::TypeCode::Sequence<TAO::Null_RefCount_Policy>
+ RTScheduling_Current_IdType_0 (
+ CORBA::tk_sequence,
+ &CORBA::_tc_octet,
+ 0U);
+
+ ::CORBA::TypeCode_ptr const tc_RTScheduling_Current_IdType_0 =
+ &RTScheduling_Current_IdType_0;
+
+ }
+}
static TAO::TypeCode::Alias<char const *,
TAO::Null_RefCount_Policy>
_tao_tc_RTScheduling_Current_IdType (
"IDL:RTScheduling/Current/IdType:1.0",
"IdType",
- &::_tao_tc_RTScheduling_Current_IdType_0);
-
+ &TAO::TypeCode::tc_RTScheduling_Current_IdType_0);
+
::CORBA::TypeCode_ptr const RTScheduling::Current::_tc_IdType =
&_tao_tc_RTScheduling_Current_IdType;
@@ -145,21 +151,31 @@ static TAO::TypeCode::Alias<char const *,
// TAO_IDL - Generated from
-// be\be_visitor_typecode/typecode_defn.cpp:744
+// be\be_visitor_typecode/typecode_defn.cpp:743
-static TAO::TypeCode::Sequence<TAO::Null_RefCount_Policy>
- _tao_tc_RTScheduling_Current_NameList_0 (
- CORBA::tk_sequence,
- &::_tao_tc_CORBA::_tc_string,
- 0U);
+namespace TAO
+{
+ namespace TypeCode
+ {
+ TAO::TypeCode::Sequence<TAO::Null_RefCount_Policy>
+ RTScheduling_Current_NameList_0 (
+ CORBA::tk_sequence,
+ &CORBA::_tc_string,
+ 0U);
+
+ ::CORBA::TypeCode_ptr const tc_RTScheduling_Current_NameList_0 =
+ &RTScheduling_Current_NameList_0;
+
+ }
+}
static TAO::TypeCode::Alias<char const *,
TAO::Null_RefCount_Policy>
_tao_tc_RTScheduling_Current_NameList (
"IDL:RTScheduling/Current/NameList:1.0",
"NameList",
- &::_tao_tc_RTScheduling_Current_NameList_0);
-
+ &TAO::TypeCode::tc_RTScheduling_Current_NameList_0);
+
::CORBA::TypeCode_ptr const RTScheduling::Current::_tc_NameList =
&_tao_tc_RTScheduling_Current_NameList;
@@ -172,7 +188,7 @@ static TAO::TypeCode::Objref<char const *,
_tao_tc_RTScheduling_Current (
"IDL:RTScheduling/Current:1.0",
"Current");
-
+
namespace RTScheduling
{
::CORBA::TypeCode_ptr const _tc_Current =
@@ -190,7 +206,7 @@ static TAO::TypeCode::Objref<char const *,
_tao_tc_RTScheduling_ResourceManager (
"IDL:RTScheduling/ResourceManager:1.0",
"ResourceManager");
-
+
namespace RTScheduling
{
::CORBA::TypeCode_ptr const _tc_ResourceManager =
@@ -202,11 +218,7 @@ namespace RTScheduling
// TAO_IDL - Generated from
// be\be_visitor_typecode/struct_typecode.cpp:34
-static TAO::TypeCode::Struct_Field<char const *> const _tao_fields_RTScheduling_Scheduler_INCOMPATIBLE_SCHEDULING_DISCIPLINES[] =
- {
-
- };
-
+static TAO::TypeCode::Struct_Field<char const *> * const _tao_fields_RTScheduling_Scheduler_INCOMPATIBLE_SCHEDULING_DISCIPLINES = 0;
static TAO::TypeCode::Struct<char const *,
TAO::TypeCode::Struct_Field<char const *> const *,
CORBA::tk_except,