CGraph
Public Member Functions | List of all members
SwitchGAspect Class Reference
Inheritance diagram for SwitchGAspect:
Inheritance graph
[legend]
Collaboration diagram for SwitchGAspect:
Collaboration graph
[legend]

Public Member Functions

CStatus beginRun () override
 
CVoid finishRun (const CStatus &curStatus) override
 
- Public Member Functions inherited from GAspect
virtual CStatus beginInit ()
 
virtual CVoid finishInit (const CStatus &curStatus)
 
virtual CStatus beginDestroy ()
 
virtual CVoid finishDestroy (const CStatus &curStatus)
 
virtual CVoid enterCrashed ()
 
- Public Member Functions inherited from GAspectObject
template<typename T , c_enable_if_t< std::is_base_of< GAspectParam, T >::value, int > >
CGRAPH_NAMESPACE_BEGIN GAspectObjectPtr setAParam (T *param)
 
- Public Member Functions inherited from CObject
 CObject ()=default
 
virtual CStatus init ()
 
virtual CStatus destroy ()
 
virtual ~CObject ()=default
 
- Public Member Functions inherited from CDescInfo
const std::string & getSession () const
 
const std::string & getDescription () const
 
virtual auto setName (const std::string &name) -> decltype(this)
 
virtual auto setDescription (const std::string &description) -> decltype(this)
 
virtual ~CDescInfo ()=default
 

Additional Inherited Members

- Protected Member Functions inherited from GAspectObject
 GAspectObject ()
 
 ~GAspectObject () override
 
template<typename T , c_enable_if_t< std::is_base_of< GAspectParam, T >::value, int > = 0>
T * getAParam ()
 
template<typename T , c_enable_if_t< std::is_base_of< GAspectParam, T >::value, int > = 0>
GAspectObjectsetAParam (T *param)
 
GAspectObjectsetBelong (GElement *belong)
 
const std::string & getName () const override
 
- Protected Attributes inherited from CDescInfo
std::string name_
 
std::string session_
 
std::string description_
 

Member Function Documentation

◆ beginRun()

CStatus SwitchGAspect::beginRun ( )
inlineoverridevirtual

run()函数切面开始期间动作

Reimplemented from GAspect.

◆ finishRun()

CVoid SwitchGAspect::finishRun ( const CStatus curStatus)
inlineoverridevirtual

run()函数切面结束期间动作

Parameters
curStatus

Reimplemented from GAspect.


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