Go to the documentation of this file.
16 #ifndef SURGSIM_TESTING_SERIALIZATIONMOCKCOMPONENT_H
17 #define SURGSIM_TESTING_SERIALIZATIONMOCKCOMPONENT_H
51 #endif // SURGSIM_TESTING_SERIALIZATIONMOCKCOMPONENT_H
void setSucceedWithInit(bool val)
Definition: SerializationMockComponent.cpp:58
Component is the main interface class to pass information to the system managers each will decide whe...
Definition: Component.h:46
virtual bool doWakeUp()
Interface to be implemented by derived classes.
Definition: SerializationMockComponent.cpp:47
SURGSIM_CLASSNAME(SerializationMockComponent)
void setSucceedWithWakeUp(bool val)
Definition: SerializationMockComponent.cpp:68
bool getSucceedWithInit() const
Definition: SerializationMockComponent.cpp:53
bool getSucceedWithWakeUp() const
Definition: SerializationMockComponent.cpp:63
This class is for testing the linker and checking if the definition stays in the executable even if t...
Definition: SerializationMockComponent.h:28
bool succeedWithWakeUp
Definition: SerializationMockComponent.h:46
bool didWakeUp
Definition: SerializationMockComponent.h:47
virtual bool doInitialize()
Interface to be implemented by derived classes.
Definition: SerializationMockComponent.cpp:41
string(TOUPPER ${DEVICE} DEVICE_UPPER_CASE) option(BUILD_DEVICE_$
Definition: CMakeLists.txt:38
SerializationMockComponent(const std::string &name, bool succeedInit=true, bool succeedWakeUp=true)
Definition: SerializationMockComponent.cpp:20
virtual ~SerializationMockComponent()
Definition: SerializationMockComponent.cpp:36
bool succeedWithInit
Definition: SerializationMockComponent.h:45
bool didInit
Definition: SerializationMockComponent.h:48