Using the Object Manager
Using the Object Manager
- Obtain a reference to the Object Manager from the Name Service
pns->ResolveName(“daqobjmgr”, pobjmgr );
- Obtain a reference to a managed object and invoke that method
CORBA::Object_ptr pobject =
pobjmgr->getObjectRef(“dcm1”, pdcm );
- Create a new object dynamically
pobjmgr->newComponent(“dcm2”,pobject);