turn on/off video post plugin



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 31/10/2002 at 06:51, xxxxxxxx wrote:

    User Information:
    Cinema 4D Version:   8.012 
    Platform:      
    Language(s) :     C++  ;

    ---------
    im looking for the on/off  switch for a videopost plugin
    so I can turn on/off an effect within my plugin.

        
        
        im looking in
    
        
        
        class PluginVideoPost : public _<_a target=_blank href= "mk:@msitstore:c:\dokumente%20und%20einstellungen\paul1\desktop\r8sdkchm2002-10-29.chm::/pages/c4d_baselist/class_baselist2d38.html"_>_BaseList2D
        {
        public_<_a target=_blank href= "mk:@msitstore:c:\dokumente%20und%20einstellungen\paul1\desktop\r8sdkchm2002-10-29.chm::/pages/c4d_videopost/class_pluginvideopos412.html title=class pluginvideopost : public baselist2d"_>_2D">PluginVideoPo_<_a target=_blank href= "mk:@msitstore:c:\dokumente%20und%20einstellungen\paul1\desktop\r8sdkchm2002-10-29.chm::/pages/c4d_videopost/class_pluginvideopos412.html#getnext0"_>_tnext0">GetNext_BaseList2D">Plugi_<_a target=_blank href= "mk:@msitstore:c:\dokumente%20und%20einstellungen\paul1\desktop\r8sdkchm2002-10-29.chm::/pages/c4d_videopost/class_pluginvideopos412.html#getpred1"_>_.html#getpred1">GetPred(void);
        };
    

        
        
        ok nothing there
    

        
        
        so I look in its the BaseContainer and find nothing there either
    
    so how may I turn a plugin on/off or is this not possible?
    
    
    ------------
    
    
    and while im at it
    
    
    i would also like to maybe delete a vp plugin from its baselist2d
    
    
    so I do 
    
    
    myvp->Remove();
    
    
    and
    
    
    pluginvideopost::Free(myvp);
    
    
    but of course I get an error saying free is not  amember of pluginvideopost
    
    
    this is clear , but ive tried  to cast it to atom and just about anything else
    
    
    there seems no way to remove it and free its memory :(
    
    
     
    
    
    heeeelp
    
    
     
    
    
     
    
    
     
    

        
        
        
    


  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 31/10/2002 at 11:09, xxxxxxxx wrote:

    Quote: Originally posted by Paul Everett on 31  October 2002
    >
    > * * *
    >
    >
    > Language(s) :   C.O.F.F.E.E  ;   
    Is this really C.O.F.F.E.E.?! The code you posted seems to be C++...
    > im looking for the on/off  switch for a videopost plugin
    You should use RDATA_POSTEFFECTS_ENABLE.
    >

    class PluginVideoPost : public [BaseList2D](mk:@MSITStore:C:\Dokumente%20und%20Einstellungen\paul1\Desktop\R8SDKCHM2002-10-29.chm::/pages/c4d_baselist/class_BaseList2D38.html)  
    \> {  
    \> public:  
    \>   [PluginVideoPost](mk:@MSITStore:C:\Dokumente%20und%20Einstellungen\paul1\Desktop\R8SDKCHM2002-10-29.chm::/pages/c4d_videopost/class_PluginVideoPos412.html%20title=class%20PluginVideoPost%20:%20public%20BaseList2D)* [GetNext](mk:@MSITStore:C:\Dokumente%20und%20Einstellungen\paul1\Desktop\R8SDKCHM2002-10-29.chm::/pages/c4d_videopost/class_PluginVideoPos412.html#getnext0)(void);  
    \>   [PluginVideoPost](mk:@MSITStore:C:\Dokumente%20und%20Einstellungen\paul1\Desktop\R8SDKCHM2002-10-29.chm::/pages/c4d_videopost/class_PluginVideoPos412.html%20title=class%20PluginVideoPost%20:%20public%20BaseList2D)* [GetPred](mk:@MSITStore:C:\Dokumente%20und%20Einstellungen\paul1\Desktop\R8SDKCHM2002-10-29.chm::/pages/c4d_videopost/class_PluginVideoPos412.html#getpred1)(void);  
    \> };
    

    Do we have the same docs? Look a bit further up on that page... ;-)
    > pluginvideopost::Free(myvp);
    This is an omission in the SDK. I guess these functions could be added like this, but I haven't tried: (Otherwise it's impossible to add or remove VP's.)

        
        
          static PluginVideoPost *Alloc(LONG id)   
          {   
           PluginVideoPost* vp = static_cast<PluginVideoPost*>(AllocListNode(id));  
           return vp;  
          }
        
        
        
        
          static void Free(PluginVideoPost *&vp)  
          {  
           PluginVideoPost* t = vp;  
           FreeListNode(t);  
           vp = NULL;  
          }
    


  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 31/10/2002 at 11:31, xxxxxxxx wrote:

    thanks thats very helpfull
    ill download the newest SDK :)
     
    I dont see anywhere to set if the is a COFFEE or c++ related posting?
    where do I set this?



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 31/10/2002 at 11:54, xxxxxxxx wrote:

    Quote: Originally posted by Paul Everett on 31  October 2002
    >
    > * * *
    >
    > I dont see anywhere to set if the is a COFFEE or c++ related posting?
    There are a couple of checkboxes at the top when you start a new topic.



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 01/11/2002 at 11:30, xxxxxxxx wrote:

    I changed his original form value from C.O.F.F.E.E. to C++ to clarify things.


Log in to reply