diff options
Diffstat (limited to 'TAO/examples/OBV/Typed_Events/Event_Types_impl.cpp')
-rw-r--r-- | TAO/examples/OBV/Typed_Events/Event_Types_impl.cpp | 108 |
1 files changed, 77 insertions, 31 deletions
diff --git a/TAO/examples/OBV/Typed_Events/Event_Types_impl.cpp b/TAO/examples/OBV/Typed_Events/Event_Types_impl.cpp index 60ab9e7e57f..89beb8bc74f 100644 --- a/TAO/examples/OBV/Typed_Events/Event_Types_impl.cpp +++ b/TAO/examples/OBV/Typed_Events/Event_Types_impl.cpp @@ -18,6 +18,14 @@ Event_impl::~Event_impl () { } +::CORBA::ValueBase * +Event_impl::_copy_value (void) +{ + ::CORBA::ValueBase *ret_val= 0; + // Not implimented + return ret_val; +} + void Event_impl::do_print (void) { @@ -26,7 +34,6 @@ Event_impl::do_print (void) (CORBA::ULong) this->origin_id_() )); } - /* Not defined, see header Event_factory::~Event_factory () { @@ -54,6 +61,14 @@ Temperature_impl::~Temperature_impl () { } +::CORBA::ValueBase * +Temperature_impl::_copy_value (void) +{ + ::CORBA::ValueBase *ret_val= 0; + // Not implimented + return ret_val; +} + void Temperature_impl::do_print (void) { @@ -73,7 +88,6 @@ Temperature_factory::create_for_unmarshal (void) return new Temperature_impl; } - // Position implementation ====================================== Position_impl::Position_impl () @@ -90,6 +104,14 @@ Position_impl::~Position_impl () { } +::CORBA::ValueBase * +Position_impl::_copy_value (void) +{ + ::CORBA::ValueBase *ret_val= 0; + // Not implimented + return ret_val; +} + void Position_impl::do_print (void) { @@ -136,7 +158,6 @@ void Position_impl::z (CORBA::Float z) this->xyz()[2] = z; } - Position_factory::~Position_factory () { } @@ -147,7 +168,6 @@ Position_factory::create_for_unmarshal (void) return new Position_impl; } - // Log_Msg implementation =================================== Log_Msg_impl::Log_Msg_impl () @@ -164,6 +184,14 @@ Log_Msg_impl::~Log_Msg_impl () { } +::CORBA::ValueBase * +Log_Msg_impl::_copy_value (void) +{ + ::CORBA::ValueBase *ret_val= 0; + // Not implimented + return ret_val; +} + void Log_Msg_impl::do_print (void) { @@ -190,8 +218,6 @@ Log_Msg_factory::create_for_unmarshal (void) return new Log_Msg_impl; } - - // Event_List_Link implementation =================================== Event_List_Link_impl::Event_List_Link_impl () @@ -215,6 +241,14 @@ Event_List_Link_impl::~Event_List_Link_impl () // the held event resp. the next links. } +::CORBA::ValueBase * +Event_List_Link_impl::_copy_value (void) +{ + ::CORBA::ValueBase *ret_val= 0; + // Not implimented + return ret_val; +} + Event* Event_List_Link_impl::get_event (void) { @@ -243,7 +277,6 @@ Event_List_Link_factory::create_for_unmarshal (void) return new Event_List_Link_impl; } - // Event_List implementation =================================== Event_List_impl::Event_List_impl (void) @@ -257,6 +290,14 @@ Event_List_impl::~Event_List_impl (void) // Destructor does nothing explicit, because the _var types do care. } +::CORBA::ValueBase * +Event_List_impl::_copy_value (void) +{ + ::CORBA::ValueBase *ret_val= 0; + // Not implimented + return ret_val; +} + void Event_List_impl::store_event (Event* e) { @@ -275,7 +316,6 @@ Event_List_impl::store_event (Event* e) // From pointer to _var the reference count of the pointed to never // increased, but the modifier does. - if (this->last_link_cache_ == 0) { // Search the end. @@ -287,7 +327,6 @@ Event_List_impl::store_event (Event* e) } } - // If still null then the list is empty. if (this->last_link_cache_ == 0) { @@ -310,7 +349,6 @@ Event_List_factory::create_for_unmarshal (void) return new Event_List_impl; } - Event_List_Iterator::Event_List_Iterator (Event_List *list) { this->init (list); @@ -326,7 +364,6 @@ Event_List_Iterator::~Event_List_Iterator (void) // nothing } - void Event_List_Iterator::init (Event_List *list) { @@ -335,7 +372,6 @@ Event_List_Iterator::init (Event_List *list) current_ = tmp; } - CORBA::Boolean Event_List_Iterator::next (Event_var &next) { @@ -373,15 +409,10 @@ Event_List_Iterator::advance () } } - - // Checkpoint server side -------------------------------------------- - // Criterion classes implementation ---------------------------------- - - Temperature_Criterion_impl::Temperature_Criterion_impl () { } @@ -398,6 +429,13 @@ Temperature_Criterion_impl::~Temperature_Criterion_impl () { } +::CORBA::ValueBase * +Temperature_Criterion_impl::_copy_value (void) +{ + ::CORBA::ValueBase *ret_val= 0; + // Not implimented + return ret_val; +} CORBA::Boolean Temperature_Criterion_impl::is_critical (Event* e) @@ -415,7 +453,6 @@ Temperature_Criterion_impl::is_critical (Event* e) return 0; } - void Temperature_Criterion_impl::do_print (void) { @@ -424,7 +461,6 @@ Temperature_Criterion_impl::do_print (void) this->meltingpoint ()->do_print(); } - Temperature_Criterion_factory::~Temperature_Criterion_factory () { } @@ -435,8 +471,6 @@ Temperature_Criterion_factory::create_for_unmarshal (void) return new Temperature_Criterion_impl; } - - Position_Criterion_impl::Position_Criterion_impl () { } @@ -454,6 +488,13 @@ Position_Criterion_impl::~Position_Criterion_impl () { } +::CORBA::ValueBase * +Position_Criterion_impl::_copy_value (void) +{ + ::CORBA::ValueBase *ret_val= 0; + // Not implimented + return ret_val; +} CORBA::Boolean Position_Criterion_impl::is_critical (Event* e) @@ -475,7 +516,6 @@ Position_Criterion_impl::is_critical (Event* e) return 0; } - void Position_Criterion_impl::do_print ( ) { @@ -496,17 +536,21 @@ Position_Criterion_factory::create_for_unmarshal (void) return new Position_Criterion_impl; } - - Log_Msg_Criterion_impl::Log_Msg_Criterion_impl () { } - Log_Msg_Criterion_impl::~Log_Msg_Criterion_impl () { } +::CORBA::ValueBase * +Log_Msg_Criterion_impl::_copy_value (void) +{ + ::CORBA::ValueBase *ret_val= 0; + // Not implimented + return ret_val; +} CORBA::Boolean Log_Msg_Criterion_impl::is_critical (Event* e) @@ -521,7 +565,6 @@ Log_Msg_Criterion_impl::is_critical (Event* e) return 0; } - void Log_Msg_Criterion_impl::do_print (void) { @@ -539,8 +582,6 @@ Log_Msg_Criterion_factory::create_for_unmarshal (void) return new Log_Msg_Criterion_impl; } - - Criterion_List_impl::Criterion_List_impl () { this->my_list (0); @@ -556,6 +597,14 @@ Criterion_List_impl::~Criterion_List_impl () { } +::CORBA::ValueBase * +Criterion_List_impl::_copy_value (void) +{ + ::CORBA::ValueBase *ret_val= 0; + // Not implimented + return ret_val; +} + void Criterion_List_impl::store_criterion (Criterion *c) { @@ -597,7 +646,6 @@ Criterion_List_impl::is_critical (Event *e) return 0; } - Criterion_List_Iterator::Criterion_List_Iterator (Criterion_List *list) { this->init (list); @@ -608,14 +656,12 @@ Criterion_List_Iterator::~Criterion_List_Iterator () // nothing } - void Criterion_List_Iterator::init (Criterion_List *list) { iterator_.init (list->my_list()); } - Criterion * Criterion_List_Iterator::next () { |