xsi_simulationenvironment.h Source File
 
 
 
xsi_simulationenvironment.h
Go to the documentation of this file.
00001 //*****************************************************************************
00011 //*****************************************************************************
00012 
00013 #if (_MSC_VER > 1000) || defined(SGI_COMPILER)
00014 #pragma once
00015 #endif
00016 
00017 #ifndef __XSISIMULATIONENVIRONMENT_H__
00018 #define __XSISIMULATIONENVIRONMENT_H__
00019 
00020 #include <xsi_projectitem.h>
00021 
00022 namespace XSI {
00023 
00024 class Property;
00025 class ActionSource;
00026 //*****************************************************************************
00185 //*****************************************************************************
00186 class SICPPSDKDECL SimulationEnvironment : public ProjectItem
00187 {
00188 public:
00190         SimulationEnvironment();
00191 
00193         ~SimulationEnvironment();
00194 
00198         SimulationEnvironment(const CRef& in_ref);
00199 
00203         SimulationEnvironment(const SimulationEnvironment& in_obj);
00204 
00209         bool IsA( siClassID in_ClassID) const;
00210 
00214         siClassID GetClassID() const;
00215 
00221         SimulationEnvironment& operator=(const SimulationEnvironment& in_obj);
00222 
00228         SimulationEnvironment& operator=(const CRef& in_ref);
00229 
00233         CRefArray GetContainers()const;
00234 
00245         CRefArray GetCaches()const;
00246 
00250         CRefArray GetOperators()const;
00251 
00255         Property        GetSimulationTimeControl()const;
00256 
00266         ActionSource FindCacheForModel(Model& in_model)const;
00267 
00268 
00278         CRefArray  GetAllRigidBodyObjects () const;
00279 
00283         LONG  GetAllRigidBodyObjectsCount () const;
00284 
00299         CRefArray  GetPatriarchRigidBodyObjects () const;
00300 
00306         LONG  GetPatriarchRigidBodyObjectsCount () const;
00307 
00312         CRefArray  GetRigidConstraintObjects () const;
00313 
00318         LONG  GetRigidConstraintObjectsCount () const;
00319 
00324         CRefArray  GetForces () const;
00325 
00330         LONG  GetForcesCount () const;
00331 
00332 private:
00333         SimulationEnvironment * operator&() const;
00334         SimulationEnvironment * operator&();
00335 };
00336 
00337 };
00338 
00339 #endif // __XSISIMULATIONENVIRONMENT_H__