IParticleChannel Class Reference

#include <IParticleChannel.h>

+ Inheritance diagram for IParticleChannel:

Public Types

enum  {
  kClone, kIsSimilarChannel, kIsTransferable, kSetTransferable,
  kIsPrivateChannel, kGetPrivateOwner, kSetPrivateOwner, kGetCreatorAction,
  kSetCreatorAction, kGetReadID_PartA, kGetReadID_PartB, kGetWriteID_PartA,
  kGetWriteID_PartB, kSetReadID, kSetWriteID
}
 
enum  {
  kChunkCount = 1000, kChunkData = 1010, kChunkGlobalCount = 1020, kChunkSharedCount = 1021,
  kChunkGlobalValue = 1030, kChunkSharedValue = 1031, kChunkReadID = 1040, kChunkWriteID = 1050,
  kChunkTransferable = 1055, kChunkPrivate = 1056, kChunkActionHandle = 1057, kChunkValue1 = 1061,
  kChunkValue2 = 1062, kChunkValue3 = 1063, kChunkValue4 = 1064, kChunkValue5 = 1065,
  kChunkValue6 = 1066, kChunkValue7 = 1067
}
 
- Public Types inherited from BaseInterface
enum  LifetimeType { noRelease, immediateRelease, wantsRelease, serverControlled }
 

Public Member Functions

 FN_0 (kClone, TYPE_IOBJECT, Clone)
 
 FN_1 (kIsSimilarChannel, TYPE_bool, IsSimilarChannel, TYPE_IOBJECT)
 
 FN_0 (kIsTransferable, TYPE_bool, IsTransferable)
 
 VFN_1 (kSetTransferable, SetTransferable, TYPE_bool)
 
 FN_0 (kIsPrivateChannel, TYPE_bool, IsPrivateChannel)
 
 FN_0 (kGetPrivateOwner, TYPE_OBJECT, GetPrivateOwner)
 
 VFN_1 (kSetPrivateOwner, SetPrivateOwner, TYPE_OBJECT)
 
 FN_0 (kGetCreatorAction, TYPE_INODE, GetCreatorAction)
 
 VFN_1 (kSetCreatorAction, SetCreatorAction, TYPE_INODE)
 
 FN_0 (kGetReadID_PartA, TYPE_DWORD, GetReadID_PartA)
 
 FN_0 (kGetReadID_PartB, TYPE_DWORD, GetReadID_PartB)
 
 FN_0 (kGetWriteID_PartA, TYPE_DWORD, GetWriteID_PartA)
 
 FN_0 (kGetWriteID_PartB, TYPE_DWORD, GetWriteID_PartB)
 
 VFN_2 (kSetReadID, SetReadID, TYPE_DWORD, TYPE_DWORD)
 
 VFN_2 (kSetWriteID, SetWriteID, TYPE_DWORD, TYPE_DWORD)
 
PFExport IParticleChannel ()
 
PFExport IParticleChannel (const Interface_ID &readID, const Interface_ID &writeID)
 
virtual Class_ID GetClassID () const =0
 Returns the unique ID for the channel class. More...
 
virtual IObjectClone () const =0
 cloning; make a copy of the channel More...
 
virtual IOResult Save (ISave *isave) const =0
 saving content of the channel to file More...
 
virtual IOResult Load (ILoad *iload)=0
 loading content of the channel from file More...
 
PFExport bool IsSimilarChannel (IObject *channel) const
 checks if the given IObject is a similar particle channel More...
 
PFExport bool IsTransferable () const
 Get "transferable" status. More...
 
PFExport void SetTransferable (bool status)
 Set "transferable" status. More...
 
PFExport bool IsPrivateChannel () const
 A channel can be declared "private" by an action. More...
 
PFExport ObjectGetPrivateOwner () const
 returns a "private owner" action of the channel More...
 
PFExport void SetPrivateOwner (Object *action)
 sets a "private owner" action of the channel More...
 
PFExport INodeGetCreatorAction () const
 channel data can be viewed by different actions. More...
 
PFExport void SetCreatorAction (INode *actionNode)
 channel data can be viewed by different actions. More...
 
PFExport DWORD GetReadID_PartA () const
 Set/get a concrete channel ID for a generic data particle channel. More...
 
PFExport DWORD GetReadID_PartB () const
 Set/get a concrete channel ID for a generic data particle channel. More...
 
PFExport DWORD GetWriteID_PartA () const
 access write-interface ID of the wrapping channel More...
 
PFExport DWORD GetWriteID_PartB () const
 access write-interface ID of the wrapping channel More...
 
PFExport void SetReadID (DWORD interfaceID_PartA, DWORD interfaceID_PartB)
 set up read-interface ID of the wrapping channel More...
 
PFExport void SetWriteID (DWORD interfaceID_PartA, DWORD interfaceID_PartB)
 set up write-interface ID of the wrapping channel More...
 
PFExport const Interface_IDGetReadID () const
 methods that are not in FnPub interface. More...
 
PFExport const Interface_IDGetWriteID () const
 access write-interface ID of the wrapping channel More...
 
PFExport void SetReadID (const Interface_ID &id)
 set up read-interface ID of the wrapping channel More...
 
PFExport void SetWriteID (const Interface_ID &id)
 set up write-interface ID of the wrapping channel More...
 
PFExport void CloneChannelCore (IParticleChannel *getFrom)
 when cloning a channel, data about transferable, privateOwner, creatorAction, readID & write ID should be cloned. More...
 
PFExport void UpdateCreatorHandle (IMergeManager *pMM)
 when cached channel data are merged the stored action creator handle could be invalid. More...
 
virtual int MemoryUsed () const =0
 returns amount of memory used (in bytes) by the channel to store the information More...
 
FPInterfaceDescGetDesc ()
 
- Public Member Functions inherited from FPMixinInterface
 FPMixinInterface ()
 
virtual LifetimeType LifetimeControl ()
 
virtual CoreExport bool RegisterNotifyCallback (InterfaceNotifyCallback *incb)
 
virtual void UnRegisterNotifyCallback (InterfaceNotifyCallback *incb)
 
CoreExport ~FPMixinInterface ()
 
virtual BaseInterfaceGetInterface (Interface_ID id)
 
virtual FPInterfaceDescGetDescByID (Interface_ID id)
 
virtual Interface_ID GetID ()
 
- Public Member Functions inherited from FPInterface
virtual CoreExport FPStatus Invoke (FunctionID fid, TimeValue t=0, FPParams *params=NULL)
 
virtual FPStatus Invoke (FunctionID fid, FPParams *params)
 
virtual CoreExport FPStatus Invoke (FunctionID fid, TimeValue t, FPValue &result, FPParams *params=NULL)
 
virtual FPStatus Invoke (FunctionID fid, FPValue &result, FPParams *params=NULL)
 
virtual CoreExport FunctionID FindFn (const MCHAR *name)
 
virtual CoreExport BOOL IsEnabled (FunctionID actionID)
 
virtual CoreExport BOOL IsChecked (FunctionID actionID)
 
virtual CoreExport BOOL IsVisible (FunctionID actionID)
 
virtual CoreExport FunctionID GetIsEnabled (FunctionID actionID)
 
virtual CoreExport FunctionID GetIsChecked (FunctionID actionID)
 
virtual CoreExport FunctionID GetIsVisible (FunctionID actionID)
 
virtual ActionTableGetActionTable ()
 
virtual void EnableActions (BOOL onOff)
 
- Public Member Functions inherited from BaseInterface
virtual UtilExport ~BaseInterface ()
 Destructor. More...
 
virtual BaseInterfaceAcquireInterface ()
 
virtual void ReleaseInterface ()
 
virtual void DeleteInterface ()
 
virtual BaseInterfaceCloneInterface (void *remapDir=NULL)
 
- Public Member Functions inherited from InterfaceServer
virtual UtilExport ~InterfaceServer ()
 Destructor. More...
 

Protected Member Functions

int numRefs () const
 
int_numRefs ()
 
- Protected Member Functions inherited from FPMixinInterface
 FPMixinInterface (const FPMixinInterface &rhs)
 
FPMixinInterfaceoperator= (const FPMixinInterface &rhs)
 
- Protected Member Functions inherited from FPInterface
virtual FPStatus _dispatch_fn (FunctionID fid, TimeValue t, FPValue &result, FPParams *p)
 

Protected Attributes

bool m_isTransferable
 
bool m_isPrivate
 
Objectm_privateOwner
 
INodem_creatorAction
 
ULONG m_creatorHandle
 
Interface_ID m_readID
 
Interface_ID m_writeID
 
- Protected Attributes inherited from FPMixinInterface
Tab< InterfaceNotifyCallback * > * interfaceNotifyCBs
 

Additional Inherited Members

- Static Public Member Functions inherited from MaxHeapOperators
static UtilExport voidoperator new (size_t size)
 Standard new operator used to allocate objects If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new (size_t size, const std::nothrow_t &e)
 Standard new operator used to allocate objects if there is insufficient memory, NULL will be returned. More...
 
static UtilExport voidoperator new (size_t size, const char *filename, int line)
 New operator used to allocate objects that takes the filename and line number where the new was called If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new (size_t size, int block_type, const char *filename, int line)
 New operator used to allocate objects that takes the type of memory, filename and line number where the new was called If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new (size_t size, const std::nothrow_t &e, const char *filename, int line)
 New operator used to allocate objects that takes the filename and line number where the new was called If there is insufficient memory, NULL will be returned. More...
 
static UtilExport voidoperator new (size_t size, unsigned long flags)
 New operator used to allocate objects that takes extra flags to specify special operations If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new (size_t size, const std::nothrow_t &e, unsigned long flags)
 New operator used to allocate objects that takes extra flags to specify special operations If there is insufficient memory, NULL will be returned. More...
 
static UtilExport voidoperator new[] (size_t size)
 New operator used to allocate arrays of objects If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new[] (size_t size, const std::nothrow_t &e)
 New operator used to allocate arrays of objects If there is insufficient memory, NULL will be returned. More...
 
static UtilExport voidoperator new[] (size_t size, const char *filename, int line)
 New operator used to allocate arrays of objects If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new[] (size_t size, int block_type, const char *filename, int line)
 New operator used to allocate arrays of objects. More...
 
static UtilExport voidoperator new[] (size_t size, const std::nothrow_t &e, const char *filename, int line)
 New operator used to allocate arrays of objects If there is insufficient memory, NULL will be returned. More...
 
static UtilExport voidoperator new[] (size_t size, unsigned long flags)
 New operator used to allocate arrays of objects If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new[] (size_t size, const std::nothrow_t &e, unsigned long flags)
 New operator used to allocate arrays of objects If there is insufficient memory, NULL will be returned. More...
 
static UtilExport void operator delete (void *ptr)
 Standard delete operator used to deallocate an object If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete (void *ptr, const std::nothrow_t &e)
 Standard delete operator used to deallocate an object If the pointer is invalid, nothing will happen. More...
 
static UtilExport void operator delete (void *ptr, const char *filename, int line)
 Delete operator used to deallocate an object that takes the filename and line number where the delete was called If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete (void *ptr, int block_type, const char *filename, int line)
 Delete operator used to deallocate an object that takes the type of memory, filename and line number where the delete was called If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete (void *ptr, const std::nothrow_t &e, const char *filename, int line)
 Delete operator used to deallocate an object that takes the filename and line number where the delete was called If the pointer is invalid, nothing will happen. More...
 
static UtilExport void operator delete (void *ptr, unsigned long flags)
 Delete operator used to deallocate an object that takes extra flags to specify special operations If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete (void *ptr, const std::nothrow_t &e, unsigned long flags)
 Delete operator used to deallocate an object that takes extra flags to specify special operations If the pointer is invalid, nothing will happen. More...
 
static UtilExport void operator delete[] (void *ptr)
 Standard delete operator used to deallocate an array of objects If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete[] (void *ptr, const std::nothrow_t &e)
 Standard delete operator used to deallocate an array of objects If the pointer is invalid, nothing will happen. More...
 
static UtilExport void operator delete[] (void *ptr, const char *filename, int line)
 Delete operator used to deallocate an array of objects that takes the filename and line number where the delete was called If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete[] (void *ptr, int block_type, const char *filename, int line)
 Delete operator used to deallocate an array of objects that takes the type of memory, filename and line number where the delete was called If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete[] (void *ptr, const std::nothrow_t &e, const char *filename, int line)
 Delete operator used to deallocate an array of objects that takes the filename and line number where the delete was called If the pointer is invalid, nothing will happen. More...
 
static UtilExport void operator delete[] (void *ptr, unsigned long flags)
 Delete operator used to deallocate an array of objects that takes extra flags to specify special operations If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete[] (void *ptr, const std::nothrow_t &e, unsigned long flags)
 Delete operator used to deallocate an array of objects that takes extra flags to specify special operations If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport voidoperator new (size_t size, void *placement_ptr)
 Placement new operator. More...
 
static UtilExport void operator delete (void *ptr, void *placement_ptr)
 Placement delete operator. More...
 
- Static Public Attributes inherited from FPInterface
static CoreExport FPInterfaceDesc nullInterface
 

Member Enumeration Documentation

anonymous enum
Enumerator
kClone 
kIsSimilarChannel 
kIsTransferable 
kSetTransferable 
kIsPrivateChannel 
kGetPrivateOwner 
kSetPrivateOwner 
kGetCreatorAction 
kSetCreatorAction 
kGetReadID_PartA 
kGetReadID_PartB 
kGetWriteID_PartA 
kGetWriteID_PartB 
kSetReadID 
kSetWriteID 
33  { kClone,
46  kSetReadID,
48  };
Definition: IParticleChannel.h:37
Definition: IParticleChannel.h:46
Definition: IParticleChannel.h:34
Definition: IParticleChannel.h:40
Definition: IParticleChannel.h:39
Definition: IParticleChannel.h:38
Definition: IParticleChannel.h:42
Definition: IParticleChannel.h:35
Definition: IParticleChannel.h:33
Definition: IParticleChannel.h:41
Definition: IParticleChannel.h:36
Definition: IParticleChannel.h:44
Definition: IParticleChannel.h:43
Definition: IParticleChannel.h:47
Definition: IParticleChannel.h:45
anonymous enum
Enumerator
kChunkCount 
kChunkData 
kChunkGlobalCount 
kChunkSharedCount 
kChunkGlobalValue 
kChunkSharedValue 
kChunkReadID 
kChunkWriteID 
kChunkTransferable 
kChunkPrivate 
kChunkActionHandle 
kChunkValue1 
kChunkValue2 
kChunkValue3 
kChunkValue4 
kChunkValue5 
kChunkValue6 
kChunkValue7 
53  { kChunkCount = 1000,
54  kChunkData = 1010,
55  kChunkGlobalCount = 1020,
56  kChunkSharedCount = 1021,
57  kChunkGlobalValue = 1030,
58  kChunkSharedValue = 1031,
59  kChunkReadID = 1040,
60  kChunkWriteID = 1050,
61  kChunkTransferable = 1055,
62  kChunkPrivate = 1056,
63  kChunkActionHandle = 1057,
64  kChunkValue1 = 1061,
65  kChunkValue2 = 1062,
66  kChunkValue3 = 1063,
67  kChunkValue4 = 1064,
68  kChunkValue5 = 1065,
69  kChunkValue6 = 1066,
70  kChunkValue7 = 1067
71  };
Definition: IParticleChannel.h:61
Definition: IParticleChannel.h:54
Definition: IParticleChannel.h:63
Definition: IParticleChannel.h:69
Definition: IParticleChannel.h:60
Definition: IParticleChannel.h:53
Definition: IParticleChannel.h:59
Definition: IParticleChannel.h:66
Definition: IParticleChannel.h:68
Definition: IParticleChannel.h:67
Definition: IParticleChannel.h:65
Definition: IParticleChannel.h:58
Definition: IParticleChannel.h:70
Definition: IParticleChannel.h:56
Definition: IParticleChannel.h:62
Definition: IParticleChannel.h:64
Definition: IParticleChannel.h:57
Definition: IParticleChannel.h:55

Member Function Documentation

FN_0 ( kClone  ,
TYPE_IOBJECT  ,
Clone   
)
FN_0 ( kIsTransferable  ,
TYPE_bool  ,
IsTransferable   
)
VFN_1 ( kSetTransferable  ,
SetTransferable  ,
TYPE_bool   
)
VFN_2 ( kSetReadID  ,
SetReadID  ,
TYPE_DWORD  ,
TYPE_DWORD   
)
VFN_2 ( kSetWriteID  ,
SetWriteID  ,
TYPE_DWORD  ,
TYPE_DWORD   
)