T.R | Title | User | Personal Name | Date | Lines |
---|
5016.1 | | TOOK::SWIST | Jim Swist LKG2-2/T2 DTN 226-7102 | Thu May 06 1993 14:27 | 17 |
| Add/remove entities from what?
An entity is a representation of some object. Whether or not you
can create or delete an instance of the object is a function of the
object class (you can create a domain, you can't create a NODE4, for
example).
You can add/remove entities from the instance repository by using the
registration FM functions REGISTER and DEREGISTER, if that's what you
mean.
And you can add object classes by writing MSL definitions for them and
adding them to the dictionary. You can delete object classes through
DAP.
Which of these do you mean?
|
5016.2 | But of course. | TOOK::MCPHERSON | Dead or Canadian? | Thu May 06 1993 14:30 | 16 |
| > Any possibility to add/remove entities via a DECmcc API?
Well I certainly hope so. That's how MCC does it. ;^)
To add an object (register) you basically just issue an mcc_call with
V = deregister
E = AES for entity in question
P = <null>
then let the registration FM do its thing...
To remove (deregister) you do the same thing but set
V = Deregister
For more detailed information, please check the SRM and Developer's Toolkit.
/doug
|
5016.3 | REGISTER/DEREGISTER | ROM01::SITZIA | | Fri May 07 1993 04:32 | 14 |
|
>You can add/remove entities from the instance repository by using the
>registration FM functions REGISTER and DEREGISTER, if that's what you
>mean.
That's exactely what I'd like to do from within a C program!
Sorry for inappropriate language.
Is there any mcc library for that?
maurizio
|
5016.4 | Call registration | TOOK::MINTZ | Erik Pavlik Mintz | Fri May 07 1993 08:50 | 15 |
| > >You can add/remove entities from the instance repository by using the
> >registration FM functions REGISTER and DEREGISTER, if that's what you
> >mean.
>
> That's exactely what I'd like to do from within a C program!
We're all trying to say the same thing, I think. What you need to do
from your C program is to call the registration FM, and invoke the REGISTER
or DEREGISTER directive. The toolkit documentation has information
on "callable MCC".
-- Erik
|