VR-Forces 4.6 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
myActuator.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 1999 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: myActuator.h,v $ $Revision: 1.11 $ $State: Exp $
7 *******************************************************************************/
8 
9 #ifndef MyActuatorComponent_H_
10 #define MyActuatorComponent_H_
11 
13 
15 {
16 public:
17 
18  //constructor
21  DtReaderWriterRegistry* parentRegistry = 0);
22 
23  //destructor
24  virtual ~MyActuatorComponent();
25 
26  //Perform any initialization required by the actuator
27  virtual bool init();
28 
29  //Returns a string from compTypes.h, identifying the type of component
30  virtual const char* type() const;
31 
32  //Calculate new kinematic state, and copy it to state repository
33  virtual void tick();
34 
35 public:
36 
37  //Creator function to be registered with the DtSimComponentFactory --
38  //see main.cxx
39  static DtSimComponent* creator(const DtString& name, DtVrfObject* object,
40  DtSimManager* simManager, DtComponentDescriptor* compDescriptor,
41  DtReaderWriterRegistry* parentRegistry);
42 
43 };
44 
45 #endif
46 
47 

Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)