00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026 #ifndef CYBSWITCHC_H
00027 #define CYBSWITCHC_H
00028
00029
00030 #include "oaw/ctk/cybgroupc.h"
00031 #include "../oawconfig.h"
00032
00033 OAW_BEGIN_NAMESPACE
00034
00035
00036 class OAW_DLLMAPPING CybSwitchC : public CybGroupC
00037 {
00038 public:
00039 CybSwitchC(CybWorldC*);
00040 CybSwitchC(const CybSwitchC&);
00041 CybSwitchC& operator = (const CybSwitchC&);
00042
00043 virtual void LoadVRML(char*&, const char*,long&);
00044 virtual void Load_whichChoice(char*&, const char*,long&);
00045
00046 virtual int AddDes(EventDesI*,const StringC&,long);
00047 virtual int AddSrc(CybNodeC*,const StringC&, const StringC&);
00048 virtual void SetEvent(long,const void*, BaseI*);
00049 virtual long GetFieldEventID(const char* name);
00050
00051 virtual const CybBInfoC& GetBInfo();
00052 virtual void ToChannel(CybChannelC*,long flag);
00053 protected:
00054 virtual void CreateNewCopy(CybNodeC*);
00055 protected:
00056 long m_whichChoice;
00057 private:
00058 static char VRMLKeyStrList[][30];
00059 };
00060
00061 OAW_END_NAMESPACE
00062
00063
00064 #endif
00065
00066
00067
00068
00069