Inheritance:
Public Methods
-
CDynamicSystem( const CDynamicSystem* Object to copy from* / )
- Copy-constructor.
-
virtual ~CDynamicSystem()
- Destructor
-
virtual bool AcceptsContainer(const CDSLibComponent*)
- Generates the NON_SUITABLE_CONTAINER_ERROR message and retuns false
-
bool ArrangeAll()
- If there are no messages in this object, calls AllArrange().
-
virtual std::string Class() const
- Returns "CDynamicSystem"
-
virtual CDynamicSystem* Clone( const CDSLibComponent* = NULL Container for the new object* / ) const
- Returns a new CDynamicSystem object copied from this one, using the copy-constructor above
-
virtual bool DescendantOf( const std::string & Class name to check* / ) const
- Returns if the argument is "CDynamicSystem" or the name of one of its base classes
-
virtual void GenerateCode( const std::string &, Path to the template files to be parsed* / std::ostream & STL ostream where the generated code will be written* / ) const
- Performs a code generation for the whole dynamic system
-
virtual void GenerateCode( const std::string &, Path to the template files to be parsed* / CCodeSection* Code section to be generated. It must already point to a CCodeSection object, which may be modified by adding new sections and lines to it* / ) const
- Generates code for the section in the arguments, in this object and its contained objects
-
std::string Includes() const
- Returns additional include directives for the realtime module
-
std::string MakefileBeforeCompilation() const
- Returns additional makefile commands to be performed before compilation
-
std::string MakefileInstallCommands() const
- Returns additional makefile commands to be performed when doing "make install"
-
std::string MakefileRemoveCommands() const
- Returns additional makefile commands to be performed when doing "make remove"
-
long long RTClockResolution() const
- Returns the resolution of the realtime clock in nanoseconds
-
bool SetIncludes(const std::string &)
- Sets additional include directives for the realtime module
-
bool SetMakefileBeforeCompilation(const std::string &)
- Sets additional makefile commands to be performed before compilation
-
bool SetMakefileInstallCommands(const std::string &)
- Sets additional makefile commands to be performed when doing "make install"
-
bool SetMakefileRemoveCommands(const std::string &)
- Sets additional makefile commands to be performed when doing "make remove"
-
bool SetRTClockResolution( long long )
- Sets the resolution of the realtime clock in nanoseconds
-
bool SetTime( long long )
- Sets the maximum execution time for the dynamic system in nanoseconds
-
long long Time() const
- Returns the maximum execution time for the dynamyc system in nanoseconds
-
virtual std::string Value( const std::string & Value of the "name" parameter of the template command* / ) const
- Returns a string to be inserted in the generated code instead of a <value > template command
Public Members
-
This is the root container for a dynamic-system definition.
Public Methods
-
virtual bool AddComponent(CDSLibComponent* pComponent)
-
bool AllArrange()
-
void AllGenerateCode(const std::string &strTemplatesPath, CCodeSection* pCodeSection) const
-
virtual bool AllRepeatedValue(const CDSLibComponent* pCaller, const std::string & strValueName, const std::string & strValue) const
-
void AllReportMessages(CMessages* pMessagesReport)
-
const CDSLibComponent* Component(const std::string & strIdentifier, const std::string & strClass) const
-
const CDSLibComponentPointers& Components() const
-
const CDSLibComponent* Container( const std::string & strClass = "", unsigned int uSkip = 0) const
-
void DeleteObjects()
-
const std::string& Identifier() const
-
int ComponentIndex() const
-
const CMessages& Messages() const
-
virtual bool RepeatedValue(const std::string &, const std::string &) const
-
bool SetIdentifier(const std::string & strIdentifier)
Protected Methods
-
virtual void AddMessage(unsigned int uNumber)
-
virtual void Arrange()
-
CDSLibComponentPointers& Components()
-
virtual void ComponentsGenerateCode(const std::string &strTemplatesPath, CCodeSection* pCodeSection) const
-
std::string LongLongToString(long long llNumber) const
-
CMessages& Messages()
-
bool ParseTemplate(const std::string & strTemplatesPath, const std::string & strTemplate, CCodeSection* pOutputSection) const
-
void SetContainer(const CDSLibComponent* pContainer)
-
long long StringToLongLong(const std::string &strNumber) const
-
std::string DoubleToString(double dNumber) const
Documentation
This is the root container for a dynamic-system definition.
- This is the root container for a dynamic-system definition. A dynamic
system definition consists of objects containing other objects in a tree
structure. This object also defines some general parameters for the whole
system
CDynamicSystem( const CDynamicSystem* Object to copy from* / )
- Copy-constructor. Copies all the attributes of CDynamicSystem and calls
the copy-constructor of CDSLibComponent
virtual ~CDynamicSystem()
- Destructor
virtual bool AcceptsContainer(const CDSLibComponent*)
- Generates the NON_SUITABLE_CONTAINER_ERROR message and retuns false
bool ArrangeAll()
- If there are no messages in this object, calls AllArrange().
Returns if any message has been generated and the top-down arrange
stopped somewhere
virtual std::string Class() const
- Returns "CDynamicSystem"
virtual CDynamicSystem* Clone( const CDSLibComponent* = NULL Container for the new object* / ) const
- Returns a new CDynamicSystem object copied from this one, using the
copy-constructor above
virtual bool DescendantOf( const std::string & Class name to check* / ) const
- Returns if the argument is "CDynamicSystem" or the name of one of
its base classes
virtual void GenerateCode( const std::string &, Path to the template files to be parsed* / std::ostream & STL ostream where the generated code will be written* / ) const
- Performs a code generation for the whole dynamic system
virtual void GenerateCode( const std::string &, Path to the template files to be parsed* / CCodeSection* Code section to be generated. It must already point to a CCodeSection object, which may be modified by adding new sections and lines to it* / ) const
- Generates code for the section in the arguments, in this object and its
contained objects
std::string Includes() const
- Returns additional include directives for the realtime module
std::string MakefileBeforeCompilation() const
- Returns additional makefile commands to be performed before
compilation
std::string MakefileInstallCommands() const
- Returns additional makefile commands to be performed when doing
"make install"
std::string MakefileRemoveCommands() const
- Returns additional makefile commands to be performed when doing
"make remove"
long long RTClockResolution() const
- Returns the resolution of the realtime clock in nanoseconds
bool SetIncludes(const std::string &)
- Sets additional include directives for the realtime module
bool SetMakefileBeforeCompilation(const std::string &)
- Sets additional makefile commands to be performed before compilation
bool SetMakefileInstallCommands(const std::string &)
- Sets additional makefile commands to be performed when doing
"make install"
bool SetMakefileRemoveCommands(const std::string &)
- Sets additional makefile commands to be performed when doing
"make remove"
bool SetRTClockResolution( long long )
- Sets the resolution of the realtime clock in nanoseconds
- Parameters:
- long - Quantum time in nanoseconds
bool SetTime( long long )
- Sets the maximum execution time for the dynamic system in
nanoseconds
- Parameters:
- long - Time in nanoseconds
long long Time() const
- Returns the maximum execution time for the dynamyc system in
nanoseconds
virtual std::string Value( const std::string & Value of the "name" parameter of the template command* / ) const
- Returns a string to be inserted in the generated code instead of a
<value > template command
- This class has no child classes.
- Author:
- Ivan Martinez
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.