MBDyn-1.7.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups
MinDriveCaller Class Reference
Inheritance diagram for MinDriveCaller:
Collaboration diagram for MinDriveCaller:

Public Member Functions

 MinDriveCaller (const std::vector< DriveOwner > &drives)
 
virtual ~MinDriveCaller (void)
 
virtual DriveCallerpCopy (void) const
 
- Public Member Functions inherited from MinMaxDriveCaller
virtual ~MinMaxDriveCaller ()
 
bool bIsDifferentiable (void) const
 
virtual std::ostream & Restart (std::ostream &out) const
 
doublereal dGet (void) const
 
doublereal dGetP (void) const
 
doublereal dGet (const doublereal &dVar) const
 
virtual doublereal dGetP (const doublereal &dVar) const
 
- Public Member Functions inherited from DriveCaller
 DriveCaller (const DriveHandler *pDH)
 
virtual ~DriveCaller (void)
 
virtual void SetDrvHdl (const DriveHandler *pDH)
 
virtual const DriveHandlerpGetDrvHdl (void) const
 
virtual void Output (OutputHandler &OH) const
 
virtual void Trace (OutputHandler &OH) const
 
- Public Member Functions inherited from WithLabel
 WithLabel (unsigned int uL=0, const std::string &sN="")
 
virtual ~WithLabel (void)
 
void PutLabel (unsigned int uL)
 
void PutName (const std::string &sN)
 
unsigned int GetLabel (void) const
 
const std::string & GetName (void) const
 
- Public Member Functions inherited from ToBeOutput
 ToBeOutput (flag fOut=fDefaultOut)
 
virtual ~ToBeOutput (void)
 
virtual void OutputPrepare (OutputHandler &OH)
 
virtual void Output (OutputHandler &OH, const VectorHandler &X, const VectorHandler &XP) const
 
virtual flag fToBeOutput (void) const
 
virtual bool bToBeOutput (void) const
 
virtual void SetOutputFlag (flag f=flag(1))
 
- Public Member Functions inherited from Traceable
 Traceable (flag fTrace=0)
 
virtual ~Traceable (void)
 
virtual flag fToBeTraced (void) const
 
virtual void SetTraceFlag (flag f=TRACE)
 

Protected Member Functions

virtual bool bCompare (doublereal lhs, doublereal rhs) const
 
virtual const char * c_str (void) const
 
- Protected Member Functions inherited from MinMaxDriveCaller
 MinMaxDriveCaller (const std::vector< DriveOwner > &drives)
 

Additional Inherited Members

- Public Types inherited from DriveCaller
enum  OutputFlags { OUTPUT_VALUE = OUTPUT_PRIVATE << 0, OUTPUT_DERIVATIVE = OUTPUT_PRIVATE << 1 }
 
enum  TraceFlags { TRACE_VALUE = TRACE_PRIVATE << 0, TRACE_DERIVATIVE = TRACE_PRIVATE << 1 }
 
- Public Types inherited from ToBeOutput
enum  { OUTPUT = 0x1U, OUTPUT_MASK = 0xFU, OUTPUT_PRIVATE = 0x10U, OUTPUT_PRIVATE_MASK = ~OUTPUT_MASK }
 
- Public Types inherited from Traceable
enum  { TRACE = 0x01U, TRACE_PUBLIC_MASK = 0x0FU, TRACE_PRIVATE = 0x10U, TRACE_PRIVATE_MASK = ~TRACE_PUBLIC_MASK }
 
- Protected Types inherited from MinMaxDriveCaller
typedef std::vector
< DriveOwner >::const_iterator 
iterator
 
- Protected Attributes inherited from MinMaxDriveCaller
const std::vector< DriveOwnerdrives
 
- Protected Attributes inherited from DriveCaller
DriveHandlerpDrvHdl
 
- Protected Attributes inherited from WithLabel
unsigned int uLabel
 
std::string sName
 
- Protected Attributes inherited from ToBeOutput
flag fOutput
 

Detailed Description

Definition at line 75 of file module-minmaxdrive.cc.

Constructor & Destructor Documentation

MinDriveCaller::MinDriveCaller ( const std::vector< DriveOwner > &  drives)

Definition at line 223 of file module-minmaxdrive.cc.

References NO_OP.

Referenced by pCopy().

225 {
226  NO_OP;
227 };
#define NO_OP
Definition: myassert.h:74
const std::vector< DriveOwner > drives
MinMaxDriveCaller(const std::vector< DriveOwner > &drives)
MinDriveCaller::~MinDriveCaller ( void  )
virtual

Definition at line 229 of file module-minmaxdrive.cc.

References NO_OP.

230 {
231  NO_OP;
232 }
#define NO_OP
Definition: myassert.h:74

Member Function Documentation

bool MinDriveCaller::bCompare ( doublereal  lhs,
doublereal  rhs 
) const
protectedvirtual

Implements MinMaxDriveCaller.

Definition at line 246 of file module-minmaxdrive.cc.

247 {
248  return lhs < rhs;
249 }
const char * MinDriveCaller::c_str ( void  ) const
protectedvirtual

Implements MinMaxDriveCaller.

Definition at line 251 of file module-minmaxdrive.cc.

252 {
253  return "min";
254 }
DriveCaller * MinDriveCaller::pCopy ( void  ) const
virtual

Implements DriveCaller.

Definition at line 235 of file module-minmaxdrive.cc.

References MinMaxDriveCaller::drives, MinDriveCaller(), and SAFENEWWITHCONSTRUCTOR.

236 {
237  DriveCaller* pDC = 0;
238 
242 
243  return pDC;
244 }
MinDriveCaller(const std::vector< DriveOwner > &drives)
#define SAFENEWWITHCONSTRUCTOR(pnt, item, constructor)
Definition: mynewmem.h:698
const std::vector< DriveOwner > drives

Here is the call graph for this function:


The documentation for this class was generated from the following file: